← 返回 Skills 市场
456
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gog2
功能描述
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
使用说明 (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.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gog2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/gog2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
Gog2 是什么?
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 456 次。
如何安装 Gog2?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gog2」即可一键安装,无需额外配置。
Gog2 是免费的吗?
是的,Gog2 完全免费(开源免费),可自由下载、安装和使用。
Gog2 支持哪些平台?
Gog2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gog2?
由 M.G(@fionn1989)开发并维护,当前版本 v1.0.0。
推荐 Skills