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

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.

agentmods
npx agentmods add skills/aiocean/claude-plugins/aio-google-workspace
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00034 $0.01697
Sonnet 5 $0.00013 $0.00679
Haiku 4.5 $0.00007 $0.00339

Measured 2d ago against content hash 6be4f24d817a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 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.

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. 2d 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 3d ago), licensed MIT. It adds 67 tokens to every session and 3,394 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

managing-artifacts

Artifact storage paths and project-encoded conventions for generated documents, reports, plans, and audits. Loaded by the core rule module. Triggers: 'where should I put this', 'save report', 'output directory'.

axiomantic/spellbook · 49 tokens

google-workspace

Gmail, Calendar, Drive, Contacts, Sheets, and Docs integration for Moltis. Uses Moltis-managed OAuth2 setup, prefers the Google Workspace CLI (gws) when available for broader API coverage, and falls back to the Python client libraries otherwise.

moltis-org/moltis · 56 tokens

gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

moltis-org/moltis · 20 tokens

super-claudio:productivity

Productivity and document creation skill. Use when the user wants to create documents, presentations, spreadsheets, dashboards, or needs help with planning and organization tools. Trigger on: "create a presentation", "make slides", "write a report", "create a PDF", "build a dashboard", "make a spreadsheet", "organize…

toolbox-playground/super-claudio · 301 tokens

extract-rental-applications-to-spreadsheet

Extract applicant details from rental application PDFs and generate a side-by-side XLSX for comparing income, employment, and move-in dates.

iterationlayer/skills · 36 tokens

gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Use when user asks about email, calendar events, Google Drive files, contacts, spreadsheets. Triggers on 'почта', 'gmail', 'календарь', 'calendar', 'google drive', 'контакты', 'таблица', 'sheets'.

AlekseiUL/sprut-agent-kit · 74 tokens