← Back to Skills Marketplace
Gog
by
Peter Steinberger
· GitHub ↗
· v1.0.0
186011
Downloads
922
Stars
3519
Active Installs
1
Versions
Install in OpenClaw
/install gog
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.
Setup (once)
gog auth credentials /path/to/client_secret.jsongog auth add [email protected] --services gmail,calendar,drive,contacts,sheets,docsgog 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
--jsonplus--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 and intend to grant it access to the listed Google services. Store client_secret.json outside shared repos, use the narrowest OAuth scopes and account needed, review commands before sending mail or modifying Sheets/Drive data, and avoid exposing --json output or GOG_ACCOUNT values in logs.
Capability Analysis
Type: OpenClaw Skill
Name: gog
Version: 1.0.0
The skill bundle describes a Google Workspace CLI tool (`gog`) and provides standard instructions for its installation via `brew` and usage. All commands and descriptions are aligned with the stated purpose of interacting with Google services. There is no evidence of prompt injection against the agent, data exfiltration, malicious execution, or other harmful behaviors in `SKILL.md` or `_meta.json`.
Capability Assessment
Purpose & Capability
The stated purpose is to use gog with Gmail, Calendar, Drive, Contacts, Sheets, and Docs, and the listed commands align with those capabilities.
Instruction Scope
The skill gives broad Google Workspace command examples, including sending mail and editing or clearing Sheets, but these are visible and purpose-aligned rather than hidden.
Install Mechanism
Installation is disclosed through a Homebrew formula for the gog binary; no bundled executable code or covert install behavior is shown in the skill artifact.
Credentials
OAuth setup for multiple Google services is proportionate to the stated purpose, but it touches highly sensitive email, files, contacts, calendar, and documents.
Persistence & Privilege
The skill instructs persistent OAuth/account configuration and optional GOG_ACCOUNT use, but does not show background execution, privilege escalation, or automatic actions.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gog - After installation, invoke the skill by name or use
/gog - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Metadata
More Skills