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/iofold/ainative-claude-plugins/google-workspacenpx skills add iofold/ainative-claude-plugins --skill google-workspacegit clone --depth 1 https://github.com/iofold/ainative-claude-pluginsWrote 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.
[](https://agentmods.dev/skills/iofold/ainative-claude-plugins/google-workspace)<a href="https://agentmods.dev/skills/iofold/ainative-claude-plugins/google-workspace"><img src="https://agentmods.dev/badge/skills/iofold/ainative-claude-plugins/google-workspace.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00059 | $0.02086 |
| Opus 5 | $0.00030 | $0.01043 |
| Sonnet 5 | $0.00012 | $0.00417 |
| Haiku 4.5 | $0.00006 | $0.00209 |
Grade B, and why
google-workspace scanned grade B with 2 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 4d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
unzip duckdb_cli-linux-amd64.zip && sudo mv duckdb /usr/local/bin/ Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -LO https://github.com/duckdb/duckdb/releases/latest/download/duckdb_cli-linux-amd64.zip How it starts
The opening of the file, as written. The whole thing — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Google Workspace CLI (gws)
Binary: gws (must be on PATH)
Auth: OAuth2 with your authenticated Google account (encrypted credentials in ~/.config/gws/)
Installation
gws CLI
pnpm add -g gws
Or with npm:
npm install -g gws
Dependencies
- DuckDB - Required for Drive and Email indexing
# macOS brew install duckdb # Linux curl -LO https://github.com/duckdb/duckdb/releases/latest/download/duckdb_cli-linux-amd64.zip unzip duckdb_cli-linux-amd64.zip && sudo mv duckdb /usr/local/bin/ - Python 3 - Required for index sync scripts
Drive Index (DuckDB)
A local DuckDB index of all Google Drive files lives at a configurable path. This avoids API round trips for search/browse operations.
Default location: ${GWS_INDEX_DB:-~/.local/share/gws/inbox.duckdb}
Override: Set GWS_INDEX_DB env var to point to a different DuckDB file.
Scripts that sync and query the index:
# Sync Drive files into the DuckDB index
${CLAUDE_PLUGIN_ROOT}/scripts/sync-drive.sh
# Query the index (search, videos, folders, recent, stats, tree, sql)
${CLAUDE_PLUGIN_ROOT}/scripts/query-drive.sh search "term"
${CLAUDE_PLUGIN_ROOT}/scripts/query-drive.sh videos
${CLAUDE_PLUGIN_ROOT}/scripts/query-drive.sh recent
${CLAUDE_PLUGIN_ROOT}/scripts/query-drive.sh stats
${CLAUDE_PLUGIN_ROOT}/scripts/query-drive.sh tree "folder name"
${CLAUDE_PLUGIN_ROOT}/scripts/query-drive.sh sql "SELECT ..."
From other projects: The index scripts read GWS_INDEX_DB if set, falling back to the default path. The index is shared — sync once, query from anywhere.
Email Index (DuckDB)
Emails can also be synced into the same DuckDB index for local search and categorization.
# Sync inbox emails into DuckDB
${CLAUDE_PLUGIN_ROOT}/scripts/sync-emails.sh
# Auto-categorize emails (newsletter, notification, meeting, business, application)
${CLAUDE_PLUGIN_ROOT}/scripts/categorize-emails.sh
# Query emails (applications, unseen, stats, search, sql)
${CLAUDE_PLUGIN_ROOT}/scripts/query.sh applications
${CLAUDE_PLUGIN_ROOT}/scripts/query.sh unseen
${CLAUDE_PLUGIN_ROOT}/scripts/query.sh stats
${CLAUDE_PLUGIN_ROOT}/scripts/query.sh search "term"
${CLAUDE_PLUGIN_ROOT}/scripts/query.sh sql "SELECT ..."
# Sync application emails to a Google Sheet
${CLAUDE_PLUGIN_ROOT}/scripts/sync-to-sheets.sh <spreadsheet-id>
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.
- 4d ago First seen · 231 lines · 59 tokens per session scan B 077e6019f439
google-workspace is a skill published in the GitHub repository iofold/ainative-claude-plugins (3 stars, last pushed 16d ago), licensed MIT. It adds 59 tokens to every session and 2,086 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
xlsx-author
Produce a .xlsx file on disk (headless) instead of driving a live Excel workbook — for managed-agent sessions with no open Office app.
audit-xls
Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model (including financial-model integrity checks like BS balance, cash tie-out, and logic sanity). Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this…
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
Workspace Data Analyst
Analyze CSV files in the workspace and summarize insights.
octo-docs
Docs domain — create and govern documents, read and incrementally edit a doc's live body, read and batch-edit spreadsheet cells (dims + images), read and batch-edit whiteboard scenes, members and sharing, inline comments, versions/snapshots, and attachment metadata as a bot. Load after octo-shared.
cli-anything-wps
WPS Office CLI — JSON数据驱动PPT自动生成 + 命令行操控WPS文字/表格/演示文稿.