Skip to content
Agentmart
Submit a tool

gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Skill by LukGer

IndexedWTFPL
Write a review

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/lukger-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.

We use your email only for this newsletter. Privacy

About

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Use cases: spreadsheets, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
gog
Description
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
License
WTFPL
Instructions
45 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • _meta.json

SKILL.md (first lines)

# gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

**IMPORTANT — always pass `--no-input` to every `gog` command.** The agent runs
headless; interactive prompts will hang. `GOG_ACCOUNT`, `GOG_KEYRING_PASSWORD`,
and `GOG_KEYRING_BACKEND=file` are pre-set in the environment — never prompt the
user for them.

## Configuration

OAuth credentials and keyring are provisioned by Ansible. Manual setup (once on host):

```
gog auth keyring file
gog auth credentials set /path/to/client_secret.json --force
gog auth add you@gmail.com --services gmail,calendar,drive,contacts,sheets,docs --manual --force-consent
```

## Commands

All examples below include `--no-input`. Always use it.

- Gmail search: `gog gmail search 'newer_than:7d' --max 10 --no-input`
- Gmail send: `gog gmail send --to a@b.com --subject "Hi" --body "Hello" --no-input`
- Calendar: `gog calendar events <calendarId> --from <iso> --to <iso> --no-input`
- Drive search: `gog drive search "query" --max 10 --no-input`
- Contacts: `gog contacts list --max 20 --no-input`
- Sheets get: `gog sheets get <sheetId> "Tab!A1:D10" --json --no-input`
- Sheets update: `gog sheets update <sheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED --no-input`
- Sheets append: `gog sheets append <sheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS --no-input`
- Sheets clear: `gog sheets clear <sheetId> "Tab!A2:Z" --no-input`
- Sheets metadata: `gog sheets metadata <sheetId> --json --no-input`
- Docs export: `gog docs export <docId> --format txt --out /tmp/doc.txt --no-input`
- Docs cat: `gog docs cat <docId> --no-input`

## Notes

- `GOG_ACCOUNT` is set — no need for `--account`.
- Prefer `--json` for machine-readable output.
- Sheets values: use `--values-json` (recommended) or inline rows.
- Docs: export/cat/copy only. In-place edits need a Docs API client.
- Confirm with the user before sending mail or creating events.

From LukGer/lukger-home, WTFPL.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 18, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
WTFPL
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from LukGer

Cite this page

gog skill. Agent Mart. https://agentmart.dev/skills/lukger-gog (last updated 2026-10-24)