gdoc
gdoc retrieves the complete text of publicly shared Google Docs by converting the document URL to its mobile view and downloading it with curl. This approach captures the full document content without the summarization or truncation that other methods introduce.
gdoc downloads publicly shared Google Docs as complete text files using curl.
AI-generated summary based on this skill's SKILL.md
Install
ykdojo/safeclaw/gdoc · repository language: HTML
git clone https://github.com/ykdojo/safeclaw
cp -r safeclaw/setup/skills/gdoc ~/.claude/skills/gdocnpx skillfed install ykdojo/safeclaw/gdocFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I read a google doc using gdoc?
gdoc retrieves the complete text of publicly shared Google Docs by converting the document URL to its mobile view and downloading it with curl. This approach captures the full document content without the summarization or truncation that other methods introduce.
Can gdoc download google doc to file format?
Yes. gdoc converts Google Docs to plain text files for processing or storage. By accessing the mobile view of a shared document and using curl, gdoc extracts and saves the complete content as a downloadable text file without requiring authentication.
How to fetch google docs content programmatically with gdoc?
gdoc enables programmatic access to Google Docs using curl instead of web APIs. This method retrieves shared Google Doc data without authentication overhead, making it straightforward to integrate document fetching into scripts or applications.
Does gdoc extract text from shared google doc completely?
gdoc is designed to extract complete Google Doc content without truncation or summarization. By leveraging the mobile view endpoint, it ensures you receive the full document text rather than partial or summarized versions.
What license does gdoc use?
gdoc is released under the MIT license, allowing free use, modification, and distribution for both personal and commercial projects.
SKILL.md
rendered from the published skill — quoted content, verbatim
Google Docs Reader
To read a Google Doc:
- Replace
/edit(or any suffix after the doc ID) with/mobilebasic - ALWAYS use curl, NOT WebFetch. WebFetch summarizes/truncates content. curl gets the full document:
curl -sL 'https://docs.google.com/document/d/DOC_ID/mobilebasic' > /tmp/doc.txt
- Read the downloaded file with the Read tool
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
setup/skills/gdoc/SKILL.md