gog
Use the gog CLI for safe Google Workspace automation: Gmail and email, Calendar and events, Drive files, Docs, Sheets, Contacts, Tasks, Chat, and other Google…
Skill by therapys
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/therapys-gog
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets, security, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gog
What's inside
- Skill name
gog- Description
- Use the gog CLI for safe Google Workspace automation: Gmail and email, Calendar and events, Drive files, Docs, Sheets, Contacts, Tasks, Chat, and other Google services. Covers auth, stable JSON, scoped reads, and approved writes.
- License
- MIT
- Instructions
- 263 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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 ```bash 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: ```bash gog --readonly --account user@example.com 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_PASSWORD` is provided by a shell startup file or service environment, use the matching shell/entrypoint so `gog` can 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`, and `HOME` must be present in the process that launches `gog`. - Use `--no-input` in automation so auth/keyring prompts fail clearly. - Use `--dry-run` first where commands support it. - Use `--readonly` for 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-send` or `GOG_GMAIL_NO_SEND=1` unless sending mail is the requested task. - For shared agent environments, prefer a baked readonly or agent-safe binary from `docs/safety-profiles.md`. Runtime command guards: ```bash gog --readonly --enable-commands gmail.search,gmail.get --gmail-no-send \ --account user@example.com gmail search 'from:example@example.com' --json gog --enable-commands drive.ls,docs.cat --disable-commands drive.delete \ --account user@example.com drive ls --max 10 --json ``` ## Auth OAuth setup is partly interactive. An agent can inspect and diagnose it, but a human normally completes browser consent: ```bash gog auth credentials list gog auth add user@example.com --services all-user --force-consent gog auth remove user@example.com ``` Default for existing human/user OAuth reauth: preserve broad service access. Before reauth, run `gog auth list --check --json --no-input` and inspect the account's existing `services`. When replacing an expired or revoked token, do not silently reduce scope; prefer `--services all-user --force-consent` unless the user explicitly asks for narrower scopes. Use narrow services only for throwaway/test accounts, service-specific bot accounts, explicit user requests, or scoped security experiments. Safety should normally be enforced at command time with `--enable-commands`, `--disable-commands`, `--gmail-no-send`, dry-runs, and account selection, not by under-scoping durable user auth. Service accounts are Workspace-only and mainly fit Admin, Groups, Keep, and domain-wide delegation flows; they do not solve consumer `@gmail.com` OAuth. For OpenClaw/systemd setups, run the diagnostic through the actual agent entrypoint after restarting the service: ```bash openclaw agent --agent main --message \ 'Run: gog auth doctor --check --no-input && gog gmail search "newer_than:1d" --max 1 --json' ``` If this fails with `keyring.password` while the same `gog auth doctor` works in the shell, fix the service or agent environment before reauthenticating. ### Browser-Driven Reauth An agent can complete this flow end to end when it can drive a signed-in browser. Consent still happens in a real browser; nothing here bypasses it. Run the CLI leg in a detached tmux session so it survives command boundaries: ```bash tmux -L gog-auth new-session -d -s auth -x 200 -y 50 tmux -L gog-auth send-keys -t auth \ "gog auth add user@example.com --services all-user --force-consent --timeout 15m" Enter
From therapys/dotagents, MIT.
More from therapys/dotagents
- 0.631score
frontend
therapys
Build and polish production-ready frontend interfaces using Emil Kowalski's design-engineering approach.
SkillAFreshness: A★ 8Claude Code +9 - 0.626score
image-generation
therapys
Generate and download images through ChatGPT in the user's signed-in browser, using their ChatGPT subscription rather than API keys or API billing.
SkillAFreshness: A★ 8Claude Code +9 - 0.626score
hairline-create
therapys
Use when someone asks for a new Hairline figure, or runs /hairline-create with an idea.
SkillAFreshness: A★ 8Claude Code +9 - 0.592score
flesch-kincaid-proofreader
therapys
Measure and improve the readability of English copy with the Flesch–Kincaid grade-level test.
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
signoz-investigating-alerts
therapys
Diagnose why a SigNoz alert fired by correlating the alert's own signal with neighbor signals (error rate, latency, throughput, CPU/memory), traces, and logs…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
posthog
therapys
Drive PostHog through the claude.ai `exec` connector — query analytics and entities (HogQL, insights, funnels, retention, web analytics), investigate LLM…
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
autonomous-maintainer
therapys
Run the agent as an autonomous maintainer of a product — set it up once, then loop on small, verified, logged improvements while keeping the product…
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
compress-skills
therapys
Compress one or more SKILL.md files so they consume less context on load while preserving 100% of their value — same triggers, capabilities, guardrails…
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
extract-design-system
therapys
Reverse-engineer a project's real, shipped design language into a reusable design skill, so any agent can build or restyle pages that match it.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
ship
therapys
Take the current changes from a dirty tree to an open pull request — branch, commit, push, and open the PR.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
update-agents-md
therapys
Generate or refresh a repo's AGENTS.md (the source-of-truth agent context file) and its one-line CLAUDE.md pointer.
SkillBFreshness: B★ 8Claude Code +9 - 0.584score
teach
therapys
Teach the user anything so it actually locks in and is understood, not just memorized.
SkillBFreshness: B★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 28, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/therapys/dotagents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from therapys
- 0.631score
frontend
therapys
Build and polish production-ready frontend interfaces using Emil Kowalski's design-engineering approach.
SkillAFreshness: A★ 8Claude Code +9 - 0.626score
image-generation
therapys
Generate and download images through ChatGPT in the user's signed-in browser, using their ChatGPT subscription rather than API keys or API billing.
SkillAFreshness: A★ 8Claude Code +9 - 0.626score
hairline-create
therapys
Use when someone asks for a new Hairline figure, or runs /hairline-create with an idea.
SkillAFreshness: A★ 8Claude Code +9 - 0.592score
flesch-kincaid-proofreader
therapys
Measure and improve the readability of English copy with the Flesch–Kincaid grade-level test.
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
signoz-investigating-alerts
therapys
Diagnose why a SigNoz alert fired by correlating the alert's own signal with neighbor signals (error rate, latency, throughput, CPU/memory), traces, and logs…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
posthog
therapys
Drive PostHog through the claude.ai `exec` connector — query analytics and entities (HogQL, insights, funnels, retention, web analytics), investigate LLM…
SkillBFreshness: B★ 8Claude Code +9
Cite this page
gog skill. Agent Mart. https://agentmart.dev/skills/therapys-gog (last updated 2026-10-24)