with one click
gog
Google Workspace CLI — Gmail, Calendar, Drive, Contacts, Sheets, Docs.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Google Workspace CLI — Gmail, Calendar, Drive, Contacts, Sheets, Docs.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Manage Railway infrastructure - deploy services, manage environment variables, and monitor deployments using the Railway CLI.
Manage Supabase projects - databases, migrations, edge functions, storage, and secrets using the Supabase CLI.
Persistent key/value store for tracking state, counters, flags, and arbitrary data across conversations
Monitor ETH wallets for on-chain activity, detect whale trades, and track transaction history on Ethereum Mainnet and Base
Autonomous DeFi spot trader — scans DexScreener and Bankr signals, makes trade decisions, executes swaps on Base
Swap ERC20 tokens on Base using 0x DEX aggregator via quoter.defirelay.com
| name | gog |
| description | Google Workspace CLI — Gmail, Calendar, Drive, Contacts, Sheets, Docs. |
| version | 1.4.0 |
| requires_binaries | ["gog"] |
| requires_tools | ["exec"] |
| tags | ["google","gmail","calendar","drive","sheets","docs","productivity"] |
| homepage | https://gogcli.sh |
| requires_api_keys | {"GOG_ACCOUNT":{"description":"Google account email","secret":false},"GOG_CLIENT_CREDENTIALS":{"description":"OAuth client_secret.json content"},"GOG_KEYRING_PASSWORD":{"description":"Password for headless token storage"}} |
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.
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)Check auth status first:
gog --no-input auth status
If no account is configured, run the setup flow:
echo "$GOG_CLIENT_CREDENTIALS" > /tmp/gog_creds.json && gog auth credentials /tmp/gog_creds.json && rm /tmp/gog_creds.json
gog auth add $GOG_ACCOUNT --services gmail,calendar,drive,contacts,sheets,docs --remote --step 1
http://127.0.0.1). Then complete the flow:gog auth add $GOG_ACCOUNT --remote --step 2 --auth-url '<callback-url-from-user>'
# Use the cloud_backup tool with action "backup" to persist tokens
gog gmail search 'newer_than:7d' --max 10 --no-input --json
gog gmail send --to user@example.com --subject "Subject" --body "Body" --no-input
gog calendar events <calendarId> --from <iso> --to <iso> --no-input --json
gog drive search "query" --max 10 --no-input --json
gog contacts list --max 20 --no-input --json
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
gog docs cat <docId> --no-input
gog docs export <docId> --format txt --out /tmp/doc.txt --no-input
--no-input to prevent interactive prompts that would hang.--json for any read operations to get structured output.--values-json for sheets data.gog --no-input auth status and guide the user through re-authentication.gog <service> --help to discover subcommands.