gog

gog is a skill for Claude Code from vanducng/skills. It costs 79 tokens per session (1,876 once invoked), scanned A, original, MIT.

A command-line skill for managing Google Workspace services such as Gmail, Drive, Calendar, Sheets, Docs, Chat, Tasks, and Admin. It uses configured accounts and users through the gog command.

In plain words
What is it for?
Use it to work with email, files, calendars, spreadsheets, documents, chats, tasks, and administration from the command line.
Why use it?
It provides one documented command-line workflow for accessing multiple Workspace services while keeping account selection and token locations explicit.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: built for openclaw.

Part of the vd plugin — 80 skills, 14 agents shipped together

Good fit Use it to work with email, files, calendars, spreadsheets, documents, chats, tasks, and administration from the command line.

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

Made for: Claude Code.

Or install vd, the plugin that ships this one along with the rest of its 80 skills, 14 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vanducng/skills/gog"><img src="https://agentmods.dev/badge/skills/vanducng/skills/gog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,876 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.00079 $0.01876
Opus 5 $0.00039 $0.00938
Sonnet 5 $0.00016 $0.00375
Haiku 4.5 $0.00008 $0.00188

Measured today against content hash 8e88c731a1a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gog 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 today.

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/gog/SKILL.md · 162 lines

How it starts

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

gog

Google Workspace through gog. This skill is the local account map and safety wrapper. Discover flags from the binary (gog schema, gog <svc> --help).

Every invocation:

export GOG_HOME="${GOG_HOME:-$HOME/.config/vd/gog}"
# source "$GOG_HOME/env" if present

Never run a bare gog without GOG_HOME. Tokens then land in ~/.config/gogcli and this skill cannot see them.

Flags (prompt / skill args)

vd:gog --account <cnb|dpl|abs> --user <person|sa> <gmail|drive|calendar|sheets|docs|auth> ...
Flag Values Default
--account cnb, dpl, abs none; required on writes, ask if missing
--user person (human mailbox, refresh token), sa (service account key) person

Resolve to a gog CLI identity:

--account --user Registry file gog --account
cnb person cnb.user.md cnb
cnb sa cnb.sa.md cnb-sa
dpl person dpl.user.md dpl
dpl sa dpl.sa.md dpl-sa
abs person abs.user.md abs
abs sa abs.sa.md abs-sa

Read $HOME/.config/vd/gog-accounts/<account>.<user|sa>.md before the first call. If that file is missing, stop and say so. Do not invent an email.

--user person is the Gmail/Calendar/Sheets-as-you path. --user sa is only for Drive/Sheets already shared with that key. Never send mail as --user sa.

Person-user auth (max lifetime)

--user person must use a refresh token, not a one-hour access token. Google will not issue a longer access token.

Hard rules for person users:

  1. Never --access-token, GOG_ACCESS_TOKEN, or GOG_AUTH_MODE=adc.
  2. Before work: gog --account <alias> auth list --check --json --no-input must show auth: oauth and valid: true.
  3. Login always requests a refresh token:
export GOG_HOME="$HOME/.config/vd/gog"
gog --client <client> auth add <email> \
  --services gmail,calendar,drive,docs,sheets,tasks,people,chat \
  --force-consent

Read the full file on GitHub · 162 lines

Files

What ships with it

2 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. today First seen · 162 lines · 79 tokens per session scan A 8e88c731a1a7

Subscribe to this mod's changes

gog is a skill published in the GitHub repository vanducng/skills (7 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,876 once invoked, about $0.0004 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-11.

Related

Other skills, from other repositories

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

google

Gmail, Google Calendar, Drive, Docs, Sheets and Contacts for a connected Google account: read and search mail, send and reply, book and move meetings, find files, read and write Docs and Sheets, look people up. Use whenever the user mentions their email, inbox, calendar, meetings, Drive, a Google Doc or Sheet.

intentic/intentic · 0 tokens

atelier-setup

Configure a repository for Atelier's development workflow. Use only when explicitly invoked; inspect existing guidance, issue-tracker and domain-document conventions, preview the proposed configuration, and write only after approval. It does not install Atelier or initialize external tooling.

martinffx/atelier · 52 tokens

new-job

This skill should be used when the user wants to add a new company or job to their Excel tracker (List.xlsx). Triggers on phrases like "add [company] to tracker", "I applied to [company]", "track [company]", "save [company] for later", "add [company] [role]", "new application at [company]".

Mahashwetha/Job-search-email-system-claude · 76 tokens

gog

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

metaspartan/cybara · 20 tokens

gog

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

bighardperson/computer-science-skills-collection · 20 tokens