google-workspace-ops

google-workspace-ops is a skill for Claude Code, Codex from buildoak/fieldwork-skills. It costs 40 tokens per session (4,137 once invoked), scanned A, original, Apache-2.0.

A command-line automation guide for Google Workspace services such as Gmail, Calendar, Drive, Docs, Slides, and Sheets. It uses gogcli and returns structured JSON that other commands can process.

In plain words
What is it for?
Automating email, calendar, file, document, presentation, and spreadsheet tasks, including setup, login, and scripted workflows.
Why use it?
It turns repeated Google Workspace operations into repeatable commands instead of requiring manual work in each application.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

Good fit Automating email, calendar, file, document, presentation, and spreadsheet tasks, including setup, login, and scripted workflows.

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

Made for: Claude Code, Codex.

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-ops

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/buildoak/fieldwork-skills/google-workspace-ops"><img src="https://agentmods.dev/badge/skills/buildoak/fieldwork-skills/google-workspace-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,137 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.00040 $0.04137
Opus 5 $0.00020 $0.02069
Sonnet 5 $0.00008 $0.00827
Haiku 4.5 $0.00004 $0.00414

Measured 9d ago against content hash a7a5d5447b6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

google-workspace-ops 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 9d 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.

skills/google-workspace-ops/SKILL.md · 393 lines

How it starts

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

Google Workspace Ops

Automates Google Workspace work using the gog CLI with machine-parseable JSON output, from email and calendar operations to Drive/docs/sheets workflows. Use it when you need repeatable workspace automation, but avoid it for non-Google services or ad hoc UI workflows.

Terminology used in this file:

  • OAuth: Google's delegated login/authorization flow used to grant CLI access without sharing your password.
  • GCP: Google Cloud Platform, where you create the project and OAuth credentials.
  • RFC3339: Standard date-time format used by Google APIs (for example, 2026-02-18T09:00:00+00:00).

Setup

brew tap steipete/tap
brew install gogcli
gog login YOUR_EMAIL --services all
  • Claude Code: copy this skill folder into .claude/skills/google-workspace-ops/
  • Codex CLI: append this SKILL.md content to your project's root AGENTS.md

For the full installation walkthrough (prerequisites, OAuth setup, verification, troubleshooting), see references/installation-guide.md.

Credential management: GOG_KEYRING_PASSWORD is required for all gog operations using the file-based keyring (headless/SSH environments, or desktop when opting out of system keychain). We strongly recommend managing it via the vault skill -- see references/auth-setup.md for all options including vault, custom secret managers, and plain export.

Staying Updated

This skill ships with an UPDATES.md changelog and UPDATE-GUIDE.md for your AI agent.

After installing, tell your agent: "Check UPDATES.md in the google-workspace-ops skill for any new features or changes."

When updating, tell your agent: "Read UPDATE-GUIDE.md and apply the latest changes from UPDATES.md."

Follow UPDATE-GUIDE.md so customized local files are diffed before any overwrite.


Quick Start

Run one read-only Gmail flow end-to-end:

gog auth status
gog gmail search "is:unread" --max 5 --json --no-input
gog gmail thread get THREAD_ID --json --no-input

Read the full file on GitHub · 393 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 393 lines · 40 tokens per session scan A a7a5d5447b6d

Subscribe to this mod's changes

google-workspace-ops is a skill published in the GitHub repository buildoak/fieldwork-skills (15 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 4,137 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

gog-workspace

Use the gog CLI for Google Workspace tasks across Gmail, Calendar, Drive, Docs, Sheets, Contacts, and related services. Use when the user asks to check email, search Gmail, inspect calendar events, find Drive files, read Docs or Sheets, or manage Google Workspace data through gog.

AtomicBot-ai/atomic-agent · 68 tokens

google-apps-script

Build Google Apps Script automation for Sheets and Workspace. Custom menus, triggers (onEdit / time-driven / form submit), dialogs, sidebars, email batches, PDF export, external API. Use whenever the user wants to automate a Google Sheet, build a Sheets menu / sidebar / dialog, hit a Sheets row from email or a…

jezweb/claude-skills · 89 tokens

notion-knowledge-capture

Convert conversations and notes into structured, linkable Notion pages for easy reuse.

seaworld008/Commonly-used-high-value-skills · 24 tokens

obsidian

Read, search, create, or edit notes in an authorized Obsidian vault while preserving frontmatter, wikilinks, and unrelated notes.

seaworld008/Commonly-used-high-value-skills · 32 tokens

powerskills-workiq

Microsoft 365 automation via Work IQ (Graph-backed CLI). Ask natural-language questions against Outlook mail, calendar, Teams messages, SharePoint, OneDrive, and People. Fetch entities by URL, run OpenAPI actions (sendMail, copy, move), call functions (getSchedule, delta, reminderView), list Work IQ agents. Use when…

aloth/PowerSkills · 101 tokens

openakita/skills@wecom-cli

WeCom (Enterprise WeChat) CLI - official open-source CLI tool from WeCom. Covers 7 business categories: Contacts, Todos, Meetings, Messages, Schedules, Documents, Smartsheets. Built in Rust for macOS/Linux/Windows. Use when user wants to operate WeCom resources.

openakita/openakita · 70 tokens