ethereumdegen/stark-bot/gog-cli

Claude Code and agent skill by ethereumdegen/stark-bot

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Google Workspace CLI — Gmail, Calendar, Drive, Contacts, Sheets, Docs.

Install

npx vskill@latest install ethereumdegen/stark-bot/gog-cli

SKILL.md

gog — Google Workspace CLI

Use gog via bash to interact with Google Workspace. GOG_ACCOUNT, GOG_KEYRING_PASSWORD, and GOG_KEYRING_BACKEND are injected automatically from API keys.

Always use `--no-input --json` flags for non-interactive, machine-readable output.

Required API keys

  • GOG_ACCOUNT — Google account email (auto-injected as env var)
  • GOG_KEYRING_PASSWORD — password for non-interactive token storage on headless servers (auto-injected as env var)
  • GOG_CLIENT_CREDENTIALS — OAuth client_secret.json content (for initial credential setup)

First-time setup (headless server)

Check auth status first:

gog --no-input auth status

If no account is configured, run the setup flow:

  1. Write credentials and register them with gog:
echo "$GOG_CLIENT_CREDENTIALS" > /tmp/gog_creds.json && gog auth credentials /tmp/gog_creds.json && rm /tmp/gog_creds.json
  1. Start the remote auth flow — this prints a URL for the user to open in their browser:
gog auth add $GOG_ACCOUNT --services gmail,calendar,drive,contacts,sheets,docs --remote --step 1
  1. Tell the user to open the URL in their browser, authorize, and paste back the full callback URL from the address bar (starts with http://127.0.0.1). Then complete the flow:
gog auth add $GOG_ACCOUNT --remote --step 2 --auth-url '<callback-url-from-user>'
  1. After setup, save auth tokens to cloud backup so they persist across restarts:
# Use the cloud_backup tool with action "backup" to persist tokens

Gmail

gog gmail search 'newer_than:7d' --max 10 --no-input --json
gog gmail send --to user@example.com --subject "Subject" --body "Body" --no-input

Calendar

gog calendar events <calendarId> --from <iso> --to <iso> --no-input --json

Drive

gog drive search "query" --max 10 --no-input --json

Contacts

gog contacts list --max 20 --no-input --json

Sheets

gog sheets get <sheetId> "Tab!A1:D10" --no-input --json
gog sheets update <sheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED --no-input
gog sheets append <sheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS --no-input
gog sheets clear <sheetId> "Tab!A2:Z" --no-input
gog sheets metadata <sheetId> --no-input --json

Docs

gog docs cat <docId> --no-input
gog docs export <docId> --format txt --out /tmp/doc.txt --no-input

Rules

  • Always confirm with the user before sending mail or creating/modifying events.
  • Always use --no-input to prevent interactive prompts that would hang.
  • Use --json for any read operations to get structured output.
  • Prefer --values-json for sheets data.
  • If a command fails with an auth error, check gog --no-input auth status and guide the user through re-authentication.
  • Use gog <service> --help to discover subcommands.

Security

  • Security scanPassed, 85 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
46
Repository forks
20
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ethereumdegen/stark-bot/gog-cli/badge)](https://verified-skill.com/skills/ethereumdegen/stark-bot/gog-cli)

Something wrong with this skill or its page? Tell us.