gog-workspace

gog-workspace is a skill for Claude Code, Codex from AtomicBot-ai/atomic-agent. It costs 68 tokens per session (1,732 once invoked), scanned A, original, MIT.

A command-line guide for using Google Workspace services, including Gmail, Calendar, Drive, Docs, Sheets, and Contacts.

In plain words
What is it for?
Use it to search email, inspect calendar events, find Drive files, read documents or sheets, and manage contacts.
Why use it?
It provides a consistent way to read and manage Google Workspace data through the gog command-line tool.

Skill for Claude CodeCodex

About the project

Atomic Agent is a local-first AI agent that runs its control loop and state on a user's machine while using local or cloud models. It drives browsers, edits files, runs approved commands, remembers context, schedules follow-ups, and connects to external tools, with the catalogue providing skills for its use.

AtomicBot-ai/atomic-agent · 2,466 stars · on GitHub

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/atomicbot-ai/atomic-agent/gog-workspace
Any agent
npx skills add AtomicBot-ai/atomic-agent --skill gog-workspace
Clone the repo
git clone --depth 1 https://github.com/AtomicBot-ai/atomic-agent

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 gog-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/atomicbot-ai/atomic-agent/gog-workspace.svg)](https://agentmods.dev/skills/atomicbot-ai/atomic-agent/gog-workspace)
Your own site
<a href="https://agentmods.dev/skills/atomicbot-ai/atomic-agent/gog-workspace"><img src="https://agentmods.dev/badge/skills/atomicbot-ai/atomic-agent/gog-workspace.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,732 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 $0.00068 $0.01732
Opus 5 $0.00034 $0.00866
Sonnet 5 $0.00014 $0.00346
Haiku 4.5 $0.00007 $0.00173

Measured 5d ago against content hash 15816d9ab37c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gog-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 5d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/check-gog.sh, scripts/setup-gog.ps1, scripts/setup-gog.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

starter-skills/gog-workspace/SKILL.md · 144 lines

How it starts

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

gog workspace

Use gog as the Google Workspace gateway. Prefer gog over raw Google APIs.

Default Flow

For normal Gmail/Drive/Calendar reads, do not run setup/status/auth diagnostics first.

  1. Run the requested read command directly with safe gog --no-input and --enable-commands flags.
  2. If that read succeeds, answer the user from the result.
  3. If that read fails with installation, auth, account, credentials, or keyring errors, then run the diagnostic check below or tell the user the exact auth action from the command error.

Never call skill.run_script for check-gog.sh as a preflight step just because this is the first Workspace task in a session.

For unread Gmail, use this exact command shape. Do not invent flags:

[{ "tool": "os.shell.run", "args": { "cmd": "gog", "args": ["--json", "--no-input", "--account", "<email>", "--wrap-untrusted", "--gmail-no-send", "--enable-commands", "gmail.search,gmail.get", "gmail", "search", "is:unread newer_than:7d", "--max", "10"] } }]

Gmail search syntax is a positional <query> argument. Do not use --unread; that flag does not exist. Prefer the canonical verb gmail search over the aliases gmail list, gmail ls, gmail find, or gmail query unless the user explicitly asks for an alias.

Calendar event listing must use the canonical command calendar events with --enable-commands calendar.events. Do not use calendar list, calendar ls, or --enable-commands calendar.list; gog resolves those aliases to calendar events internally and rejects the call unless calendar.events is enabled.

Diagnostics

Run the non-interactive diagnostic check only when the user asks to check setup/status, after a real gog read command reports installation/auth/account/credentials/keyring failure, or after the user says they changed setup/auth:

[{ "tool": "skill.run_script", "args": { "skill": "gog-workspace", "script": "check-gog.sh" } }]

Outcome map:

  • status: healthy -> proceed with gog.
  • status: install_required -> stop and tell the user how to install gog.
  • status: auth_required -> stop and tell the exact auth commands from the check output. Prefer gog auth credentials <credentials.json> followed by gog auth add <email> when those are shown; use the user's known email if available.
  • status: api_required -> tell the user which Google API must be enabled, then stop.

Read the full file on GitHub · 144 lines

Files

What ships with it

3 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. 5d ago First seen · 144 lines · 68 tokens per session scan A 15816d9ab37c

Subscribe to this mod's changes

gog-workspace is a skill published in the GitHub repository AtomicBot-ai/atomic-agent (2,466 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,732 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-08-30.