--- id: ykdojo/safeclaw/gdoc version: "ad98cd04" license: MIT install: manual updated: 2026-07-24 --- # 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. Publisher: ykdojo · Stars: 176 · Updated: 2026-07-24 Install (manual): `git clone https://github.com/ykdojo/safeclaw` ## SKILL.md # Google Docs Reader To read a Google Doc: 1. Replace `/edit` (or any suffix after the doc ID) with `/mobilebasic` 2. **ALWAYS use curl, NOT WebFetch.** WebFetch summarizes/truncates content. curl gets the full document: ```bash curl -sL 'https://docs.google.com/document/d/DOC_ID/mobilebasic' > /tmp/doc.txt ``` 3. Read the downloaded file with the Read tool [View on SkillFed](https://skillfed.io/ykdojo/safeclaw/gdoc) · [View on GitHub](https://github.com/ykdojo/safeclaw)