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.
npx agentmods add skills/sashakang/google-drive-plugin/google-docsnpx skills add sashakang/google-drive-plugin --skill google-docsgit clone --depth 1 https://github.com/sashakang/google-drive-pluginWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00085 | $0.01374 |
| Opus 5 | $0.00043 | $0.00687 |
| Sonnet 5 | $0.00017 | $0.00275 |
| Haiku 4.5 | $0.00009 | $0.00137 |
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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Google Docs Operations
When to use
- Create/edit/manage native Google Docs
- Organize or share documents in Google Drive
- Convert meeting notes, reports, or notes into docs
When NOT to use
.docxfiles → use the built-in Cowork docx skill (not part of this plugin).xlsx/ spreadsheets → use the built-in Cowork xlsx skill (not part of this plugin)- Google Sheets → use the google-sheets skill (included in this plugin)
Available tools
| Tool | Purpose |
|---|---|
create_google_doc |
Create new doc, optional folder placement |
get_google_doc |
Read structure (default) or full content |
append_text |
Add text at end with optional heading style |
replace_text |
Global find/replace |
replace_section |
Rewrite one section safely (requires prior get) |
insert_heading |
Add heading at end or after a section |
insert_table |
Add table with optional data (max 50 rows x 20 cols) |
share_doc |
Share with emails (domain-restricted if configured) |
move_doc |
Move to Drive folder (allowlist-enforced if configured) |
Critical rule: read before write
ALL write operations (append_text, replace_text, replace_section, insert_heading, insert_table) require a prior get_google_doc call for the same doc_id. This is server-enforced — skipping it produces a ReadBeforeWriteError. The read must have occurred within the last 5 minutes.
Key patterns
Create a report
create_google_doc(title, folder_id)→ get doc_idget_google_doc(doc_id)— read structure (required before writes)append_text(doc_id, "Title", "HEADING_1")append_text(doc_id, body)for contentinsert_table(doc_id, ...)for data
Update one section safely
- MANDATORY:
get_google_doc(doc_id)— read structure first - Confirm section heading exists in response
- Show user what will change
replace_section(doc_id, heading, new_content)- MANDATORY:
get_google_doc(doc_id)— verify result
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.
- 2d ago First seen · 127 lines · 85 tokens per session scan A 2a7958c13a82
google-docs is a skill published in the GitHub repository sashakang/google-drive-plugin (1 stars, last pushed 4mo ago), licensed MIT. It adds 85 tokens to every session and 1,374 once invoked, about $0.0004 per session on Opus 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-31.
Other skills, from other repositories
notion
Notion API for creating and managing pages, databases, and blocks. Use when the user wants to create a Notion page, query a Notion database, update Notion properties, search Notion, add content to Notion, manage Notion blocks, or interact with Notion data sources and workspaces via the API.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
sn-da-large-file-analysis
万行以上 Excel 数据集的高性能分析引擎。提供 openpyxl readonly 流式读取(iterrows 支持 10 万行以上)、Parquet 转换加速、内存优化、分块处理和大文件写入模式。遇到以下任一情况就主动使用本 skill:①数据行数 ≥ 10k(由 sn-da-excel-workflow 的行数评估步骤触发);②用户出现触发词:大文件 / 大数据量 / 性能优化 / 内存不足 / OOM / 百万行 / 十万行 / 流式读取 / Parquet / 分块处理 / large file / big data / streaming read / chunked processing;③直接使用…
resilient-document-pipeline
Unified document generation with tool failure detection, domain knowledge fallback, progressive conversion, and Unicode safety.
category-filtering-and-difficulty-analysis
对Excel数据进行自定义分类统计、交叉分析与可视化,并基于多维度指标(如文本长度、术语密度、正则匹配等)进行综合评分与分级,适用于多类别数据分布统计及文本内容难度/质量评估场景。.
summarize-document
Summarize a long PDF, scan, office file, text file, or markdown file through the connected Superlinked MCP edge instead of reading the whole source into model context. Use when the user asks for a summary, overview, digest, or "what does this document say" about a large file.