← 返回 Skills 市场
Gog
作者
Peter Steinberger
· GitHub ↗
· v1.0.0
186048
总下载
922
收藏
3520
当前安装
1
版本数
在 OpenClaw 中安装
/install 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.
安全使用建议
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.
功能分析
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`.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gog - 安装完成后,直接呼叫该 Skill 的名称或使用
/gog触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
元数据
推荐 Skills