← Back to Skills Marketplace
456
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gog2
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
This skill appears to be a wrapper for a Google Workspace CLI and its instructions are consistent with that purpose, but take these precautions before installing or using it:
- Verify the brew tap (steipete/tap) and inspect the Homebrew formula on Github or the tap's repo to ensure it installs the expected gog binary and not additional/unexpected code.
- Confirm ownership: the registry entry lists 'gog2' and an ownerId that differs from the ownerId inside _meta.json; ask the publisher or check the project homepage (https://gogcli.sh) to confirm the correct package and author.
- Be cautious with OAuth: the tool requires a client_secret.json and will request broad scopes (Gmail, Drive, Calendar, etc.). Only supply these if you trust the binary; review where the gog tool stores tokens and ensure you can revoke them.
- Prefer official/distributed releases from the upstream project or a well-known tap. If unsure, run the formula in a sandbox/container or inspect the installed binary before granting access.
- If you proceed, test with a low‑privilege or expendable Google account first and revoke OAuth consent when finished.
If you can provide the Homebrew formula URL or a canonical project repo/homepage that verifies the publisher, I can reassess and may raise confidence to high.
Capability Analysis
Type: OpenClaw Skill
Name: gog2
Version: 1.0.0
The skill bundle provides instructions for installing and using 'gogcli', a Google Workspace CLI tool. The installation method uses Homebrew (`steipete/tap/gogcli`), which is a standard package manager. All commands described are legitimate interactions with Google services (Gmail, Calendar, Drive, etc.) and temporary local file operations (`/tmp/doc.txt`). There is no evidence of prompt injection, data exfiltration, persistence mechanisms, or other intentional malicious behavior within the provided files. The instructions are clear and align with the stated purpose of the skill.
Capability Assessment
Purpose & Capability
The declared purpose (Google Workspace CLI) matches the required binary 'gog' and the SKILL.md commands (Gmail, Drive, Sheets, Docs, etc.). However, the skill package is named 'Gog2'/slug 'gog2' in the registry while internal files (SKILL.md and _meta.json) use 'gog' and a different ownerId — that inconsistency is unexplained and could indicate repackaging or metadata errors.
Instruction Scope
SKILL.md stays on scope: it tells the agent to run the gog CLI and to perform OAuth setup (supply client_secret.json, add an account, then run search/send/export commands). It does not instruct reading arbitrary system files or exfiltrating data. It does require the user to supply OAuth credentials and to grant broad Google scopes if you enable gmail/calendar/drive/etc.
Install Mechanism
The install uses a Homebrew formula (steipete/tap/gogcli), which is a standard installer mechanism but from a third‑party tap. That is lower risk than an arbitrary URL download but still requires trusting the tap owner; review the formula/tap before installing.
Credentials
No environment variables are required, which aligns with a CLI that uses OAuth files. The SKILL.md asks you to provide a client_secret.json and to possibly set GOG_ACCOUNT — these are reasonable for the stated purpose. However, the skill requests broad Google API scopes (gmail/calendar/drive/contacts/sheets/docs) — granting those gives extensive access to user data and should be considered high‑sensitivity.
Persistence & Privilege
The skill is not always-enabled and does not request special system config paths or credentials. Autonomous invocation is allowed (default) but not in itself a red flag here.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gog2 - After installation, invoke the skill by name or use
/gog2 - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of gog: Google Workspace CLI
- Provides command-line access to Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
- Supports OAuth credential setup and multi-service account authorization.
- Includes commands for searching email, sending messages, managing calendars, searching Drive, listing contacts, and manipulating Sheets and Docs.
- Offers scripting support with JSON outputs and no-input mode.
- Configuration tips for repeated account use and command confirmations included.
Metadata
Frequently Asked Questions
What is Gog2?
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. It is an AI Agent Skill for Claude Code / OpenClaw, with 456 downloads so far.
How do I install Gog2?
Run "/install gog2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Gog2 free?
Yes, Gog2 is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Gog2 support?
Gog2 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Gog2?
It is built and maintained by M.G (@fionn1989); the current version is v1.0.0.
More Skills