gog is a command-line client for Google Workspace services such as Gmail, Calendar, Drive, Docs, and Sheets. It is used by people, scripts, continuous-integration jobs, and coding agents that need account selection, structured output, and permission controls from a terminal.
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.
npx agentmods add skills/openclaw/gogcli/gog-calendarnpx skills add openclaw/gogcli --skill gog-calendargit clone --depth 1 https://github.com/openclaw/gogcliWrote 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.
[](https://agentmods.dev/skills/openclaw/gogcli/gog-calendar)<a href="https://agentmods.dev/skills/openclaw/gogcli/gog-calendar"><img src="https://agentmods.dev/badge/skills/openclaw/gogcli/gog-calendar.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00010 | $0.00590 |
| Opus 5 | $0.00005 | $0.00295 |
| Sonnet 5 | $0.00002 | $0.00118 |
| Haiku 4.5 | $0.00001 | $0.00059 |
Grade A, and why
gog-calendar 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.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Google Calendar
Use gog for Google Calendar operations. Read ../gog/SKILL.md first for shared auth,
output, safety, and live-write rules.
Safe start
gog auth list --check --json --no-input
gog schema calendar --json
gog --readonly --account [email protected] calendar events --today --json --wrap-untrusted
- Select the account explicitly with
--account. - Use
--json --wrap-untrustedfor agent-readable Google content. - Use
--readonlywhen the task must not mutate Google data. - Use
--no-inputin automation and--dry-runbefore supported writes. - Confirm the exact account, object, and mutation before any write or delete.
Commands
| Command | Purpose |
|---|---|
acl |
List calendar ACL |
alias |
Manage calendar aliases |
calendars |
List calendars |
changed |
List most recently changed events (including deletions) |
colors |
Show calendar colors |
conflicts |
Find busy-time overlaps across calendars |
create |
Create an event |
create-calendar |
Create a new secondary calendar |
delete |
Delete an event |
delete-calendar |
Delete an owned secondary calendar |
event |
Get event |
events |
List events from a calendar or all calendars |
focus-time |
Create a Focus Time block |
freebusy |
Get free/busy |
move |
Move an event to another calendar |
out-of-office |
Create an Out of Office event |
propose-time |
Generate URL to propose a new meeting time (browser-only feature) |
raw |
Dump raw Google Calendar API response as JSON (Events.Get; lossless; for scripting and LLM consumption) |
respond |
Respond to an event invitation |
search |
Search events |
subscribe |
Add a calendar to your calendar list |
team |
Show events for Workspace group members (service account, direct token, or ADC) |
time |
Show server time |
unsubscribe |
Remove a calendar from your calendar list |
update |
Update an event |
users |
List workspace users (use their email as calendar ID) |
working-location |
Set working location (home/office/custom) |
What ships with it
1 file 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.
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.
- 2d ago First seen · 61 lines · 10 tokens per session scan A 4f40bb2174f4
gog-calendar is a skill published in the GitHub repository openclaw/gogcli (8,365 stars, last pushed today), licensed MIT. It adds 10 tokens to every session and 590 once invoked, about $0.0001 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.
Other skills, from other repositories
gmail
Send, read, and manage Gmail messages and email attachments automatically.
google-workspace-auth
Re-authenticate Google Workspace MCP in-flight - refresh tokens, setup OAuth, check status.
gog
Operate Google Workspace from the terminal via the gog CLI (gogcli). Use for checking and replying to Gmail, managing Google Tasks, reading and creating Calendar events, Google Chat (spaces/DMs/messages), Meet spaces, Contacts, Drive/Docs/Sheets, and more. Triggers on /gog, /gog mail, /gog tasks, /gog events, /gog…
triage
Work a Gmail inbox with mailwarden — search, bulk actions, snooze, unsubscribe and recurring checks, with the rules that keep a bulk action from touching mail the user never meant to touch. Use when the user asks to triage, clean up, archive, label, snooze or unsubscribe from mail through mailwarden, before any…
setup
Connect Gmail to Claude via mailwarden — walk the user through the one-time Google Cloud OAuth setup, npx mailwarden --auth, and verify with npx mailwarden --check. Use when the user wants to set up or repair mailwarden, when a mailwarden tool fails with "Not authorized yet", "Cannot read OAuth credentials"…
google-workspace
Google Workspace integration - Gmail, Calendar, Drive operations via Google APIs.