← 返回 Skills 市场
123
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cs-gog
功能描述
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 what it says (a CLI wrapper for Google Workspace), but take these steps before installing:
- Verify the Homebrew tap and formula source (steipete/tap/gogcli) and confirm the upstream repo or website (https://gogcli.sh) are trustworthy.
- Understand that you must supply OAuth client credentials (client_secret.json) and that the tool will store tokens locally; check where tokens/config are saved and whether they are encrypted.
- Review and minimize OAuth scopes when running 'gog auth add' (don’t grant more permissions than necessary).
- Be aware the skill can read/send email and access drive/docs; if you don’t want an autonomous agent performing those actions, disable autonomous invocation or require manual confirmation for sensitive commands.
- If you need extra caution, install and run the CLI in an isolated environment (VM/container) and inspect the Homebrew formula source before installing.
If you want, provide the Homebrew formula or upstream repo URL and I can review it for additional concerns.
功能分析
Type: OpenClaw Skill
Name: cs-gog
Version: 1.0.0
The skill bundle provides a legitimate interface for the 'gog' CLI tool to interact with Google Workspace services (Gmail, Drive, Sheets, etc.). The SKILL.md file contains standard documentation for installation via a Homebrew tap (steipete/tap/gogcli) and typical command usage patterns without any evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The skill declares and requires the 'gog' binary and the SKILL.md exclusively documents gmail/calendar/drive/contacts/sheets/docs operations — the requested binary and commands are coherent with the stated Google Workspace purpose.
Instruction Scope
SKILL.md instructs the agent to run 'gog' commands that perform sensitive operations (read/send mail, read/write Drive/Sheets/Docs, list contacts). This is expected for the claimed purpose, but the instructions rely on a user-provided OAuth client_secret.json and token setup which are not listed in requires.env/primaryEnv. The skill explicitly advises confirming before sending mail, which is good.
Install Mechanism
Install uses a Homebrew formula 'steipete/tap/gogcli'. Brew installs are common, but this is a third‑party tap (not core/homebrew). Users should verify the tap owner and formula source before installing because third‑party taps can deliver arbitrary code.
Credentials
The skill declares no required env vars, yet runtime setup requires OAuth client credentials (client_secret.json) and will create/hold OAuth tokens; GOG_ACCOUNT is suggested as an env var. These credentials are sensitive and effectively required for functionality but are not surfaced in the metadata. That mismatch reduces transparency about needed secrets and where they will be stored.
Persistence & Privilege
The skill is not always-enabled, but model invocation is allowed (default). Because the CLI can read/send email and modify documents, autonomous invocation increases blast radius — consider requiring explicit user confirmation for sensitive operations or disabling autonomous use if you want stricter controls.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cs-gog - 安装完成后,直接呼叫该 Skill 的名称或使用
/cs-gog触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of cs-gog: Google Workspace CLI skill.
- Adds commands for managing Gmail, Calendar, Drive, Contacts, Sheets, and Docs via the `gog` CLI.
- Includes setup instructions for OAuth and account linking.
- Provides example usage for common tasks such as Gmail search, sending mail, viewing calendar events, managing Drive files, listing contacts, and manipulating Sheets and Docs.
- Notes on environment setup, scripting options, and safety confirmations for sensitive actions.
元数据
常见问题
cs-gog 是什么?
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 123 次。
如何安装 cs-gog?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cs-gog」即可一键安装,无需额外配置。
cs-gog 是免费的吗?
是的,cs-gog 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
cs-gog 支持哪些平台?
cs-gog 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 cs-gog?
由 snilpmud(@snilpmud)开发并维护,当前版本 v1.0.0。
推荐 Skills