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
Decision gist · record as of 2026-07-24
gdoc downloads publicly shared Google Docs as complete text files using curl. 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.
Use it when
- Yes.
- gdoc enables programmatic access to Google Docs using curl instead of web APIs.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
ykdojo/safeclaw/gdoc · repository language: HTML
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently 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
File tree — 1 file
setup/skills/gdoc/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Download and read publicly shared Google Docs as full text files”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
This skill provides read-only access to your Slack workspace, letting you retrieve messages from channels and direct messages, list users and channels, and search across conversations. All operations are non-destructive—you can browse and query but cannot send or modify anything.
yt-dlp lets you grab YouTube content—videos, audio tracks, or transcripts—in the format you need. Extract audio as MP3, pull full videos, or fetch subtitles and transcripts as VTT files.
Interact with Google Drive files you've explicitly selected, created, or shared with the app using the Drive v3 REST API. The skill supports reading, downloading, exporting, renaming, moving, and deleting files through curl and jq, with optional upload support via Google's Workspace CLI. Note that the connector operates under the drive.file scope and cannot browse or search your entire Drive.
This skill bridges your workflow to Bambu Lab 3D printers on your local network. Send validated gcode files directly to your printer and initiate print jobs without leaving your agent environment. Streamline your fabrication pipeline with seamless printer integration.
Google Docs provides CLI access to document content through the gws command—create blank docs, read existing content, append text, and execute structured batch updates against the Docs API. Use this skill for editing document bodies; for file operations like sharing or moving, reach for google-drive instead.
This skill connects your agent to Google Docs through the Docs v1 REST API, letting you read document content, create new docs, and insert or replace text. OAuth permissions default to read-only; write access requires explicit user opt-in at install.
More skills google-drive (MIT)