← Back to Skills Marketplace
maverick

Gog Skill

by Maverick · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
75
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install maverick-gog-skill
Description
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
README (SKILL.md)

gog

Use gog for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.

Seeded setup

  • The deployment harness invokes scripts/setup.sh after install and on credential rotation.
  • Setup imports OAuth client credentials from MAVERICK_GOG_CREDENTIALS_JSON_B64.
  • Setup imports the refresh-token payload from MAVERICK_GOG_TOKEN_IMPORT_JSON_B64.
  • Use GOG_KEYRING_BACKEND=file with GOG_KEYRING_PASSWORD for headless runtimes.
  • After setup, normal gog commands refresh short-lived Google access tokens on demand from the stored refresh token.
  • Setup writes the supplied credential state unconditionally. Only rerun it with the freshest token payload.

Setup (once)

  • gog auth credentials /path/to/client_secret.json
  • gog auth add [email protected] --services gmail,calendar,drive,contacts,sheets,docs
  • gog auth list

Common commands

  • Gmail search: gog gmail search 'newer_than:7d' --max 10
  • Gmail send: gog gmail send --to [email protected] --subject "Hi" --body "Hello"
  • Calendar: gog calendar events \x3CcalendarId> --from \x3Ciso> --to \x3Ciso>
  • Drive search: gog drive search "query" --max 10
  • Contacts: gog contacts list --max 20
  • Sheets get: gog sheets get \x3CsheetId> "Tab!A1:D10" --json
  • Sheets update: gog sheets update \x3CsheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED
  • Sheets append: gog sheets append \x3CsheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS
  • Sheets clear: gog sheets clear \x3CsheetId> "Tab!A2:Z"
  • Sheets metadata: gog sheets metadata \x3CsheetId> --json
  • Docs export: gog docs export \x3CdocId> --format txt --out /tmp/doc.txt
  • Docs cat: gog docs cat \x3CdocId>

Notes

  • Set [email protected] to avoid repeating --account.
  • For scripting, prefer --json plus --no-input.
  • Sheets values can be passed via --values-json (recommended) or as inline rows.
  • Docs supports export/cat/copy. In-place edits require a Docs API client (not in gog).
  • Confirm before sending mail or creating events.
Usage Guidance
Install only if you trust the gog CLI source and are comfortable granting this skill OAuth access to the connected Google account. Use the narrowest account and scopes possible, and require explicit confirmation before any command that sends, creates, updates, appends, clears, copies, or otherwise changes Google Workspace data.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The Google Workspace CLI purpose is coherent with the requested Gmail, Calendar, Drive, Contacts, Sheets, and Docs capabilities, including both read and write operations.
Instruction Scope
The instructions include high-impact actions such as sending mail and updating, appending to, or clearing Sheets, but explicit confirmation guidance is limited to sending mail or creating events.
Install Mechanism
The skill installs the gog CLI from an external Homebrew tap. This is expected for a CLI integration, but users rely on that package source.
Credentials
The required OAuth client and refresh-token environment variables are purpose-aligned, but they provide broad delegated access to a Google account.
Persistence & Privilege
Setup imports and stores Google OAuth credential state for later token refresh. This is disclosed and expected, but it is persistent account access.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install maverick-gog-skill
  3. After installation, invoke the skill by name or use /maverick-gog-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of maverick-gog-skill. - Adds a Google Workspace CLI integration for Gmail, Calendar, Drive, Contacts, Sheets, and Docs via the gog tool. - Provides OAuth-based setup with support for headless environments and automated credential/token import. - Includes install instructions and a post-install setup script for credential initialization. - Documents command usage for each supported Google service, credential management, and scripting tips. - Requires certain environment variables and binaries for operation; detailed in SKILL.md.
Metadata
Slug maverick-gog-skill
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Gog Skill?

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. It is an AI Agent Skill for Claude Code / OpenClaw, with 75 downloads so far.

How do I install Gog Skill?

Run "/install maverick-gog-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Gog Skill free?

Yes, Gog Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Gog Skill support?

Gog Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Gog Skill?

It is built and maintained by Maverick (@maverick); the current version is v1.0.0.

💬 Comments