google-doc-export

google-doc-export is a skill for Claude Code from ai-analyst-lab/ai-analyst-plugin. It costs 83 tokens per session (4,300 once invoked), scanned A, original, MIT.

A document-export helper for creating and formatting Google Docs through Google Drive. It focuses on keeping headings, text, and images properly arranged.

In plain words
What is it for?
Use it to create documents, add or format content, insert images, upload files, or read existing Google Docs.
Why use it?
It addresses common document problems such as overlapping content, broken heading levels, and inconsistent formatting. It requires the Google Docs connector to be available.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-analyst-plus plugin — 44 skills, 1 command, 13 agents shipped together

Good fit Use it to create documents, add or format content, insert images, upload files, or read existing Google Docs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-analyst-lab/ai-analyst-plugin/google-doc-export
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 ai-analyst-lab/ai-analyst-plugin --skill google-doc-export
Clone the repo
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst-plugin

Made for: Claude Code.

Or install ai-analyst-plus, the plugin that ships this one along with the rest of its 44 skills, 1 command, 13 agents.

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-doc-export

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst-plugin/google-doc-export/github.svg)](https://agentmods.dev/skills/ai-analyst-lab/ai-analyst-plugin/google-doc-export)
Your own site
<a href="https://agentmods.dev/skills/ai-analyst-lab/ai-analyst-plugin/google-doc-export"><img src="https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst-plugin/google-doc-export/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-doc-export

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-analyst-lab/ai-analyst-plugin/google-doc-export"><img src="https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst-plugin/google-doc-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,300 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 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.00083 $0.04300
Opus 5.5 $0.00033 $0.01720
Sonnet 5.5 $0.00017 $0.00860
Haiku 4.5 $0.00008 $0.00430

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

Security

Grade A, and why

google-doc-export 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.

ai-analyst-plus/skills/google-doc-export/SKILL.md · 473 lines

How it starts

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

Skill: Google Doc Export

Requires the Google Docs connector enabled in Cowork.

Tool discovery. Exact tool names differ by environment; never hardcode them. Discover the connector's actual tools in-session and read each tool's own schema before calling it. This skill names capabilities (upload-file-to-Drive with Google Doc conversion, create document, append text, write formatted content, insert image, upload image to Drive, read document); the discovered tool's schema is the authority on names and parameters. If a needed capability has no tool, stop and tell the user to enable the connector; never fake the export. What a given environment's wrappers accept cannot be verified from this file without a live connector, which is exactly why you discover and read schemas in-session.

Purpose

Create properly formatted Google Docs through the connector. Prevents common issues: text/image overlap, broken heading hierarchy, excessive whitespace, inconsistent formatting.


Section 0: Quick Decision Tree — START HERE

Step 1: What type of document are you creating?

  • Analysis report/writeup → Use .docx → Google Docs workflow (Section A), building the .docx with python-docx per the Analysis Readout rules
  • Simple text-only doc (meeting notes, memo) → Use direct connector calls (Section B)
  • Non-analysis document (proposal, spec) → Use python-docx directly

Step 2: Choose your approach based on document type:

✅ Recommended: .docx → Google Docs Conversion (use for 90% of cases)

When: Any doc with charts, tables, or complex formatting (analysis reports, writeups)

Why: Most reliable. Avoids index calculation errors, handles images/tables automatically, always creates local backup.

How:

# 1. Build the .docx locally with python-docx (see Section A Step 1)
# 2. Upload with the connector's upload-file-to-Drive capability, conversion flag on
<upload file to drive tool>(
    file_path="<path to report.docx>",
    convert_to_google_doc=True
)
# 3. Done! Returns Google Doc URL

Read the full file on GitHub · 473 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 · 473 lines · 83 tokens per session scan A d6821a6ea2da

Subscribe to this mod's changes

google-doc-export is a skill published in the GitHub repository ai-analyst-lab/ai-analyst-plugin (35 stars, last pushed 3mo ago), licensed MIT. It adds 83 tokens to every session and 4,300 once invoked, about $0.0003 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-doc-export compared with skills from other repositories

google-doc-export next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
google-doc-exportai-analyst-lab/ai-analyst-pluginSkill353mo agoMITA83Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill38kyesterdayApache-2.0A123Claude Code
orbit-notionnexu-io/open-designSkill111kyesterdayApache-2.0A117Claude Code, Codex
report-to-pdfasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A17Claude Code, Codex
legal-holdanthropics/claude-for-legalSkill10k3d agoApache-2.0A68Claude Code
artifact-template-minimal-letterheadasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A54Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k4d agoMITA33Claude Code, Codex