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

Written for no agent in particular: nothing here depends on one.

Good fit Downloading and inspecting the contents of publicly shared Google Docs for research, extraction, or later processing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ykdojo/safeclaw/gdoc
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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gdoc

Your own site · 80×15
<a href="https://agentmods.dev/skills/ykdojo/safeclaw/gdoc"><img src="https://agentmods.dev/badge/skills/ykdojo/safeclaw/gdoc.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00016 $0.00120
Opus 5.5 $0.00006 $0.00048
Sonnet 5.5 $0.00003 $0.00024
Haiku 4.5 $0.00002 $0.00012

Measured 3mo ago against content hash be8ced182996, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (188 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 120 once invoked, about $0.0001 per session on Opus 5.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

gdoc compared with skills from other repositories

gdoc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gdocykdojo/safeclawSkill1882mo agoMITA16Claude Code, Codex
code-to-diagramzebbern/claude-code-guideSkill4.7kyesterdayMITA74Claude Code, Codex
excel-clisbroenne/mcp-server-excelSkill987todayMITA59Claude Code, Codex
moai-docs-generationmodu-ai/moai-adkSkill1.3ktodayApache-2.0A56Claude Code
mulmoterminal-data-analysisreceptron/mulmoterminalSkill288todayMITA193Claude Code, Codex
blueprint-verify-extractreceptron/mulmoterminalSkill288todayMITA40Claude Code, Codex
blueprint-ask-answerreceptron/mulmoterminalSkill288todayMITA36Claude Code, Codex