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/gognpx skills add openclaw/gogcli --skill goggit clone --depth 1 https://github.com/openclaw/gogcliWhat 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.00021 | $0.02780 |
| Opus 5 | $0.00010 | $0.01390 |
| Sonnet 5 | $0.00004 | $0.00556 |
| Haiku 4.5 | $0.00002 | $0.00278 |
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.
How it starts
The opening of the file, as written. The whole thing — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.
gog
Use gog when built-in Google connectors are missing a feature, when shell
automation needs stable JSON, or when you need to inspect local Google auth
state before acting.
Fast Path
gog --version
gog auth list --check --json --no-input
gog auth doctor --check --json --no-input
GOG_HELP=agent gog --help
gog schema --json
GOG_HELP=agent makes root help emit a compact automation contract and common
read-only recipes; commands and behavior stay unchanged. Machine output,
non-interactive behavior, stable exit codes, command guards, and
untrusted-content wrapping apply across the CLI. schema exposes command
syntax, stable exit codes, and effective safety state for automation.
For JSON output projection, --fields is accepted as an alias for --select on
commands that do not define their own API field-mask --fields; commands with a
local field-mask flag keep that command-specific meaning.
--results-only unwraps the primary result before --select projects it. For
lists, select item-relative fields: --results-only --select id. Dot paths do
not broadcast through nested arrays (--select items.id selects nothing).
Unmatched object fields are omitted.
Pick the account explicitly for API work:
gog --readonly --account [email protected] gmail search 'newer_than:7d' --json --wrap-untrusted
Prefer --json --wrap-untrusted for agent parsing when reading Google content.
Human hints and progress should stay on stderr; stdout is for data.
Safety Rules
- Do not print access tokens, refresh tokens, OAuth client secrets, or keyring passwords.
- If
GOG_KEYRING_PASSWORDis provided by a shell startup file or service environment, use the matching shell/entrypoint sogogcan unlock the file keyring non-interactively. Do not print the value. - In headless/service agents, verify the service environment, not just the login
shell.
GOG_KEYRING_BACKEND=file,GOG_KEYRING_PASSWORD, andHOMEmust be present in the process that launchesgog. - Use
--no-inputin automation so auth/keyring prompts fail clearly. - Use
--dry-runfirst where commands support it. - Use
--readonlyfor tasks that must not mutate Google data; remove it only for the exact write the user approved. - Destructive commands require
--force; do not add it unless the user asked for that exact mutation. - Use
--gmail-no-sendorGOG_GMAIL_NO_SEND=1unless sending mail is the requested task. - For shared agent environments, prefer a baked readonly or agent-safe binary
from
docs/safety-profiles.md.
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.
- today First seen · 267 lines · 21 tokens per session scan A 84c6e8cc6a29
gog is a skill published in the GitHub repository openclaw/gogcli (8,363 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 2,780 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.
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-auth
Re-authenticate Google Workspace MCP in-flight - refresh tokens, setup OAuth, check status.
agent-platform-deploy
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up resources by undeploying models and deleting endpoints. Use when asked to actively deploy a model, list the Model Garden CATALOG of available models, check if a…
cloud-run-basics
Manages Cloud Run services, jobs, and worker pools. Use when you need to deploy applications responding to HTTP requests (services), run event-triggered or scheduled tasks (jobs), or handle always-on pull-based background processing (worker pools).
gemini-agents-api
Manages custom Agent resources on Gemini Enterprise Agent Platform. Use when the user wants to programmatically create, configure, list, update, or delete stateful, server-managed Agent resources (including mounting files, skills, and tools) before executing conversations.