aio-google-workspace

aio-google-workspace is a skill for Claude Code from aiocean/claude-plugins. It costs 67 tokens per session (3,394 once invoked), scanned A, original, MIT.

A command-line interface for Google Workspace services such as Gmail, Drive, Calendar, Sheets, Docs, Slides, Chat, and Contacts.

In plain words
What is it for?
Send and read email, upload files, create calendar events, work with spreadsheets and documents, and manage other Google Workspace data.
Why use it?
It lets developers automate common work across Google services without manually opening each application.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the aio-saas-tools plugin — 4 skills shipped together

Good fit Send and read email, upload files, create calendar events, work with spreadsheets and documents, and manage other Google Workspace data.

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

Made for: Claude Code.

Or install aio-saas-tools, the plugin that ships this one along with the rest of its 4 skills.

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 aio-google-workspace

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-google-workspace"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-google-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,394 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.00067 $0.03394
Opus 5.5 $0.00027 $0.01358
Sonnet 5.5 $0.00013 $0.00679
Haiku 4.5 $0.00007 $0.00339

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

Security

Grade A, and why

aio-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.

plugins/aio-saas-tools/skills/aio-google-workspace/SKILL.md · 416 lines

How it starts

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

Google Workspace (gws CLI)

Environment

  • gws: !which gws 2>/dev/null || echo "NOT INSTALLED"
  • gws auth: !gws auth status 2>/dev/null || echo "NOT AUTHENTICATED — run: gws auth login"

Interact with Google Workspace services using the gws CLI tool.

Prerequisites

  • gws CLI must be installed and authenticated
  • If auth errors occur, run: gws auth login

General Syntax

gws <service> <resource> <method> --params '<JSON>'
gws <service> +<helper> [args]           # Helper commands (shortcuts)
gws schema <service.resource.method>     # View API schema

Common Flags

Flag Description
--params '<JSON>' URL/query parameters
--json '<JSON>' Request body (POST/PATCH/PUT)
--upload <PATH> Upload file as media content
--output <PATH> Save binary response to file
--format <FMT> Output: json (default), table, yaml, csv
--page-all Auto-paginate (NDJSON output)
--page-limit <N> Max pages (default: 10)
--dry-run Validate without sending

Gmail

Helpers (preferred for common tasks)

# Send email
gws gmail +send --params '{"to": "[email protected]", "subject": "Hello", "body": "Message body"}'

# Triage inbox - show unread summary
gws gmail +triage

# Watch for new emails (streaming)
gws gmail +watch

Direct API

# List messages
gws gmail users messages list --params '{"userId": "me", "maxResults": 10}'

# List with query filter
gws gmail users messages list --params '{"userId": "me", "q": "from:[email protected] is:unread"}'

# Get a specific message
gws gmail users messages get --params '{"userId": "me", "id": "MESSAGE_ID"}'

# Search emails
gws gmail users messages list --params '{"userId": "me", "q": "subject:invoice after:2025/01/01"}'

# List labels
gws gmail users labels list --params '{"userId": "me"}'

# Modify labels (archive = remove INBOX)
gws gmail users messages modify --params '{"userId": "me", "id": "MSG_ID"}' --json '{"removeLabelIds": ["INBOX"]}'

# List threads
gws gmail users threads list --params '{"userId": "me", "maxResults": 5}'

# Get thread
gws gmail users threads get --params '{"userId": "me", "id": "THREAD_ID"}'

Read the full file on GitHub · 416 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 First seen · 416 lines · 67 tokens per session scan A 6be4f24d817a

Subscribe to this mod's changes

aio-google-workspace is a skill published in the GitHub repository aiocean/claude-plugins (4 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 3,394 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-09-03.

Related

Other skills, from other repositories

google-workspace

Gmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.

NousResearch/hermes-agent · 21 tokens

ha-data-analytics

A local-first data-analysis and reporting skill for CSV and spreadsheet files. It produces decision-ready analyses and shareable offline reports while separating facts, calculations, interpretations, and recommendations.

shiwenwen/hope-agent · 106 tokens

office-xlsx

Use when the user asks to create, inspect, verify, analyze, format, or deliver Excel .xlsx workbooks, Google Sheets-targeted spreadsheet artifacts, trackers, budgets, models, tables, dashboards, formulas, CSV/TSV-to-XLSX conversions, or spreadsheet-ready data packs.

shiwenwen/hope-agent · 64 tokens

chat-complex-documents

Chat with and search your complex documents — ask questions, extract tables and fields, and get answers grounded in the source. Connects the hosted Unstructured Transform MCP server to parse, structure, and enrich PDFs, Word/Excel/PowerPoint, images, scanned files, emails, and 60+ other formats into clean, AI-ready…

vellum-ai/vellum-assistant · 90 tokens

spreadsheet-authoring

Create and edit Excel spreadsheets (.xlsx) whose formulas carry their computed values, so sums and totals show in every viewer, plus date and time formats, recalculating and verifying an existing workbook.

vellum-ai/vellum-assistant · 44 tokens

dex-obsidian-setup

Turn on Obsidian mode and migrate the vault to wiki links. Use when the user says 'I use Obsidian', 'enable wiki links', 'make this work in Obsidian'. Not for connecting an external tool/API; use create-mcp/integrate-mcp.

davekilleen/Dex · 68 tokens