google-workspace

google-workspace is a skill for Claude Code from iofold/ainative-claude-plugins. It costs 59 tokens per session (1,336 once invoked), scanned A, original, MIT.

A Google Workspace skill for using Gmail, Drive, Calendar, Docs, Sheets, and Tasks through the gws command-line tool. It can also maintain local DuckDB indexes, which are searchable databases, for Drive files and email.

In plain words
What is it for?
Reading and sending email, managing files and calendars, working with documents and spreadsheets, managing tasks, syncing indexes, searching Drive or email, and syncing data to Sheets.
Why use it?
It lets an agent handle Google Workspace requests from one interface and search indexed Drive or email data locally instead of repeatedly querying the Google APIs.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents.

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-workspace plugin — 1 skill shipped together

Good fit Reading and sending email, managing files and calendars, working with documents and spreadsheets, managing tasks, syncing indexes, searching Drive or email, and syncing data to Sheets.

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 iofold/ainative-claude-plugins
Claude Code
/plugin install google-workspace

Made for: Claude Code.

Or install google-workspace, 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-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/iofold/ainative-claude-plugins/google-workspace/github.svg)](https://agentmods.dev/skills/iofold/ainative-claude-plugins/google-workspace)
Your own site
<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/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-workspace

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,336 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.
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.00059 $0.01336
Opus 5.5 $0.00024 $0.00534
Sonnet 5.5 $0.00012 $0.00267
Haiku 4.5 $0.00006 $0.00134

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

Security

Grade A, and why

google-workspace 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 1mo 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.

google-workspace/skills/google-workspace/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 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 authenticated Google account (credentials in ~/.config/gws/)

Quick Reference

Gmail

gws gmail +triage --max 10                    # Triage unread inbox
gws gmail +triage --query "from:[email protected]"  # Triage with search
gws gmail users messages get --params '{"userId":"me","id":"MSG_ID"}' --format json  # Read specific email
gws gmail +send --to "[email protected]" --subject "Subject" --body "Body"

Calendar

gws calendar +agenda --today       # Today's agenda
gws calendar +agenda --week        # This week
gws calendar +agenda --days 3      # Next N days
gws calendar +insert --summary "Meeting" --start "2026-03-07T10:00:00" --end "2026-03-07T11:00:00" --attendee "[email protected]"

Drive

# Search files
gws drive files list --params '{"q":"name contains \"term\"","pageSize":20,"fields":"files(id,name,mimeType,size,parents)"}' --format json

# Download binary file
gws drive files get --params '{"fileId":"FILE_ID","alt":"media"}' --output ./file.ext

# Export Google Doc/Sheet (CANNOT use alt:media - will 403)
gws drive files export --params '{"fileId":"FILE_ID","mimeType":"application/pdf"}' --output file.pdf

# Upload
gws drive +upload ./file.pdf --name "My Document"

Drive gotchas: Search is NOT recursive (use "FOLDER_ID" in parents). Shared files need includeItemsFromAllDrives + supportsAllDrives. Google Docs/Sheets/Slides require export, not get. Always include fields param. Prefer the DuckDB index for search/browse.

Sheets

gws sheets +read --spreadsheet "ID" --range "Sheet1!A1:D10"
gws sheets +append --spreadsheet "ID" --values '[["col1","col2"],["val1","val2"]]'

Docs

gws docs documents get --params '{"documentId":"DOC_ID"}'
gws docs +write --document "DOC_ID" --text "New content"

Tasks

gws tasks tasklists list
gws tasks tasks list --params '{"tasklist":"TASKLIST_ID"}'

Usage Guidelines

Read the full file on GitHub · 140 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. 1mo ago Changed · -91 lines scan B → A 76e7d8c4206e
  2. 3mo ago First seen · 231 lines · 59 tokens per session scan B 077e6019f439

Subscribe to this mod's changes

google-workspace is a skill published in the GitHub repository iofold/ainative-claude-plugins (3 stars, last pushed 1mo ago), licensed MIT. It adds 59 tokens to every session and 1,336 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-31.

Related

google-workspace compared with skills from other repositories

google-workspace next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
google-workspaceiofold/ainative-claude-pluginsSkill31mo agoMITA59Claude Code
google-workspaceNousResearch/hermes-agentSkill267ktodayMITA21Claude Code, Codex
gogopenclaw/openclawSkill395ktodayMITA20Claude Code, Codex
feishudeepseek-ai/deepseek-harnessSkill289k3d agoMITA90Claude Code, Codex
wecomdeepseek-ai/deepseek-harnessSkill289k3d agoMITA90Claude Code, Codex
office-productivitysickn33/agentic-awesome-skillsSkill51kyesterdayMITA27Claude Code
feishuHmbown/CodeWhaleSkill41k2d agoMITA33Claude Code, Codex