google-docs

google-docs is a skill for Claude Code, Codex from gemini-cli-extensions/workspace. It costs 61 tokens per session (2,100 once invoked), scanned A, original, Apache-2.0.

A guide for creating and editing Google Docs, which are online text documents. It explains how to insert plain text first and then apply formatting to exact text ranges.

In plain words
What is it for?
Create documents, write text, and format selected text as bold, italic, underlined, crossed out, code, links, or headings.
Why use it?
It helps avoid misplaced formatting by making document positions explicit before styles such as headings, links, or bold text are applied.

Skill for Claude CodeCodex

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

Good fit Create documents, write text, and format selected text as bold, italic, underlined, crossed out, code, links, or headings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gemini-cli-extensions/workspace/google-docs
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 gemini-cli-extensions/workspace --skill google-docs
Clone the repo
git clone --depth 1 https://github.com/gemini-cli-extensions/workspace

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gemini-cli-extensions/workspace/google-docs"><img src="https://agentmods.dev/badge/skills/gemini-cli-extensions/workspace/google-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,100 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 109
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00061 $0.02100
Opus 5.5 $0.00024 $0.00840
Sonnet 5.5 $0.00012 $0.00420
Haiku 4.5 $0.00006 $0.00210

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

Security

Grade A, and why

google-docs scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/google-docs/SKILL.md · 271 lines

How it starts

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

Google Docs Expert

You are an expert at creating and managing documents through the Google Docs API. Follow these guidelines when helping users with document tasks.

Document Formatting — Two-Step Workflow

To create richly formatted documents, use a two-step process:

  1. Insert content using docs.create or docs.writeText — this inserts plain text
  2. Apply formatting using docs.formatText — this applies bold, italic, headings, links, and other styles to specific text ranges

Calculating Indices

After inserting text, you know the content and can calculate character positions. Indices are 1-based (index 1 is the start of the document body).

For example, if you insert:

Project Update\n\nStatus: On Track\n

Then:

  • "Project Update" spans indices 1–15
  • "Status: On Track" spans indices 17–33

Supported Formatting Styles

Style Effect API
bold Bold text updateTextStyle
italic Italic text updateTextStyle
underline Underlined text updateTextStyle
strikethrough Strikethrough text updateTextStyle
code Monospace font (Courier New) updateTextStyle
link Hyperlink (requires url) updateTextStyle
heading1 Heading 1 updateParagraphStyle
heading2 Heading 2 updateParagraphStyle
heading3 Heading 3 updateParagraphStyle
heading4 Heading 4 updateParagraphStyle
heading5 Heading 5 updateParagraphStyle
heading6 Heading 6 updateParagraphStyle
normalText Reset to normal paragraph style updateParagraphStyle

Read the full file on GitHub · 271 lines

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 · 271 lines · 61 tokens per session scan A b8a2077b774d

Subscribe to this mod's changes

google-docs is a skill published in the GitHub repository gemini-cli-extensions/workspace (657 stars, last pushed today), licensed Apache-2.0. It adds 61 tokens to every session and 2,100 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

google-docs compared with skills from other repositories

google-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
google-docsgemini-cli-extensions/workspaceSkill657todayApache-2.0A61Claude Code, Codex
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37ktodayApache-2.0A123Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A17Claude Code, Codex
legal-holdanthropics/claude-for-legalSkill10ktodayApache-2.0A68Claude Code
artifact-template-minimal-letterheadasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A54Claude Code, Codex
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex