google-docs-reader

google-docs-reader is a skill for Claude Code from emdashcodes/claude-code-plugins. It costs 65 tokens per session (1,923 once invoked), scanned C, original, MIT.

A tool for reading Google Docs, Sheets, and Slides by exporting them to local document formats. Google Drive is Google's online file storage and document service.

In plain words
What is it for?
Use it to read, summarize, or analyze shared Google Workspace links and local `.gdoc`, `.gsheet`, or `.gslides` files.
Why use it?
It allows the content to be processed when direct access to the Google Workspace APIs is unavailable.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the google-docs-reader plugin — 1 skill shipped together

Good fit Use it to read, summarize, or analyze shared Google Workspace links and local .gdoc, .gsheet, or .gslides files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add emdashcodes/claude-code-plugins
Claude Code
/plugin install google-docs-reader

Made for: Claude Code.

Or install google-docs-reader, the plugin that ships this one along with the rest of its 1 skill.

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 google-docs-reader

README.md
[![agentmods](https://agentmods.dev/badge/skills/emdashcodes/claude-code-plugins/google-docs-reader/github.svg)](https://agentmods.dev/skills/emdashcodes/claude-code-plugins/google-docs-reader)
Your own site
<a href="https://agentmods.dev/skills/emdashcodes/claude-code-plugins/google-docs-reader"><img src="https://agentmods.dev/badge/skills/emdashcodes/claude-code-plugins/google-docs-reader/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 google-docs-reader

Your own site · 80×15
<a href="https://agentmods.dev/skills/emdashcodes/claude-code-plugins/google-docs-reader"><img src="https://agentmods.dev/badge/skills/emdashcodes/claude-code-plugins/google-docs-reader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,923 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00065 $0.01923
Opus 5.5 $0.00026 $0.00769
Sonnet 5.5 $0.00013 $0.00385
Haiku 4.5 $0.00006 $0.00192

Measured 1mo ago against content hash 4df608b38851, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

google-docs-reader scanned grade C 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/export_gdoc.py, scripts/read_exported_doc.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/gdoc_exports/
plugins/google-docs-reader/skills/google-docs-reader/SKILL.md · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Docs Reader

Overview

Read and analyze Google Workspace documents (Docs, Sheets, Slides) without direct API access. This skill exports Google Drive documents to local formats by opening export URLs in the browser, monitoring the Downloads folder, and moving files to a temporary directory for processing.

When to Use This Skill

Activate this skill when users ask to:

  • Read or summarize Google Docs, Sheets, or Slides
  • Extract content from Google Drive URLs
  • Analyze .gdoc, .gsheet, or .gslides files from Google Drive File Stream/Desktop
  • Process multiple Google Workspace documents

Example user requests:

  • "Read this Google Doc and summarize it: https://docs.google.com/document/d/ABC123/edit"
  • "What's in this spreadsheet?" (pointing to a .gsheet file)
  • "Analyze the data in this Google Sheets URL"
  • "Convert this Google Slides to markdown"

How It Works

The skill uses a browser-based export workflow:

  1. Extract document ID from URL or .gdoc/.gsheet/.gslides file
  2. Determine document type (Docs, Sheets, or Slides)
  3. Build export URL with appropriate format (DOCX, XLSX, PPTX)
  4. Open URL in browser (leverages existing Google account session)
  5. Monitor Downloads folder for the downloaded file
  6. Move to temp directory (/tmp/gdoc_exports/)
  7. Process with document skills (docx, xlsx, pptx skills)
  8. Clean up temporary file after reading

Export Formats

  • Google Docs → DOCX (Microsoft Word format)
  • Google Sheets → XLSX (Microsoft Excel format)
  • Google Slides → PPTX (Microsoft PowerPoint format)

Reading Google Docs

Complete Workflow (Export + Read)

The simplest approach is to use both scripts together:

# 1. Export the Google Doc
EXPORTED=$(python3 ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-reader/scripts/export_gdoc.py "<google-drive-url-or-file>")

# 2. Read the exported file
python3 ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-reader/scripts/read_exported_doc.py "$EXPORTED"

Read the full file on GitHub · 274 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 274 lines · 65 tokens per session scan C 4df608b38851

Subscribe to this mod's changes

google-docs-reader is a skill published in the GitHub repository emdashcodes/claude-code-plugins (13 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 1,923 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.