gdoc

gdoc is a skill for Claude Code, Codex from ykdojo/safeclaw. It costs 16 tokens per session (120 once invoked), scanned A, original, MIT.

A method for downloading publicly shared Google Docs as text with curl, a command-line tool for making web requests. It uses a special mobile view to retrieve the document contents.

In plain words
What is it for?
Downloading and inspecting the contents of publicly shared Google Docs for research, extraction, or later processing.
Why use it?
It provides a way to read the full text of a public Google Doc without relying on tools that may shorten or summarize it.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ykdojo/safeclaw/gdoc
Any agent
npx skills add ykdojo/safeclaw --skill gdoc
Clone the repo
git clone --depth 1 https://github.com/ykdojo/safeclaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gdoc

README.md
[![agentmods](https://agentmods.dev/badge/skills/ykdojo/safeclaw/gdoc.svg)](https://agentmods.dev/skills/ykdojo/safeclaw/gdoc)
Your own site
<a href="https://agentmods.dev/skills/ykdojo/safeclaw/gdoc"><img src="https://agentmods.dev/badge/skills/ykdojo/safeclaw/gdoc.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 120 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.00120
Opus 5 $0.00008 $0.00060
Sonnet 5 $0.00003 $0.00024
Haiku 4.5 $0.00002 $0.00012

Measured 3d ago against content hash be8ced182996, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gdoc scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Read publicly shared Google Docs using curl to download into a file.
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • gdoc — 100% identical, 0 lines differ
setup/skills/gdoc/SKILL.md · 18 lines

What it actually says

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:
curl -sL 'https://docs.google.com/document/d/DOC_ID/mobilebasic' > /tmp/doc.txt
  1. Read the downloaded file with the Read tool
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 18 lines · 16 tokens per session scan A be8ced182996

Subscribe to this mod's changes

gdoc is a skill published in the GitHub repository ykdojo/safeclaw (181 stars, last pushed 5d ago), licensed MIT. It adds 16 tokens to every session and 120 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

external-context

Invoke parallel document-specialist agents for external web searches and documentation lookup.

Yeachan-Heo/oh-my-claudecode · 16 tokens

docx-comment-reply

Reply to comments (批注) in Word .docx/.doc files: extract comment context, draft replies, write threaded replies back, and validate OOXML.

foryourhealth111-pixel/Vibe-Skills · 39 tokens

moai-workflow-docs-claim-check

Read-only check of whether the claims a public-facing document makes (README, release notes, install and usage guides) are supported by user-supplied evidence. Runs Preflight, Claim Triage, and Validation, splits composite claims into atomic ones, and labels each. Runs no commands and writes no fixes.

modu-ai/moai-adk · 72 tokens

oma-pdf

Convert PDF files to Markdown using opendataloader-pdf. Extracts text, tables, headings, lists, and images with correct reading order. Use for PDF parsing, PDF to Markdown conversion, document extraction, and AI-ready data preparation.

first-fluke/oh-my-agent · 52 tokens

oma-hwp

Convert HWP / HWPX / HWPML files to Markdown using kordoc. Extracts text, headings, tables, lists, images, footnotes, and hyperlinks. Use for Korean word processor files (Hangul), government documents, and AI-ready data preparation.

first-fluke/oh-my-agent · 59 tokens

document-skills

Umbrella skill for document workflows (PDF/DOCX/XLSX/PPTX). Dispatches to the most specific document skill to reduce noise and improve routing precision.

foryourhealth111-pixel/Vibe-Skills · 38 tokens