← 返回 Skills 市场
160
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gog-cli
功能描述
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 is a documentation wrapper for the third-party 'gog' CLI. Before using: (1) verify and inspect the Homebrew tap/formula if you plan to install via brew; (2) only use OAuth client_secret.json files you trust and grant the minimum Google API scopes needed (avoid overly broad scopes); (3) be aware the agent (or you) running these commands will have access to your Gmail/Drive/Sheets data once authenticated — confirm before sending mail or making destructive changes; (4) if you prefer, install and test the 'gog' binary manually first and run some commands locally to confirm behavior before giving the agent access.
功能分析
Type: OpenClaw Skill
Name: gog-cli
Version: 1.0.0
The skill bundle provides a wrapper for the 'gog' CLI, a legitimate Google Workspace utility. The SKILL.md and skill.json files define standard operations for Gmail, Drive, and Sheets, using a verified Homebrew tap (steipete/tap/gogcli) for installation. While the documentation includes a specific email address ([email protected]) in examples, there is no evidence of malicious intent, data exfiltration, or prompt injection designed to subvert the agent's behavior.
能力标签
能力评估
Purpose & Capability
The name/description match the runtime instructions and skill.json; the skill only requires the external 'gog' binary and OAuth client credentials which are appropriate for a Google Workspace CLI.
Instruction Scope
SKILL.md only instructs the agent to run 'gog' commands, set up OAuth client_secret.json, and optionally set GOG_ACCOUNT. It does not request unrelated files, system state, or external endpoints beyond the expected OAuth/Google APIs.
Install Mechanism
The skill is instruction-only (no install spec). The embedded metadata suggests a Homebrew formula (steipete/tap/gogcli) as an install option — using brew is reasonable but you should review that tap/formula before installing.
Credentials
No required environment variables or credentials are declared. SKILL.md mentions an optional GOG_ACCOUNT and requires a local Google OAuth client_secret.json — these are proportional for a CLI that authenticates to Google.
Persistence & Privilege
The skill does not request always:true or any elevated persistent privileges and does not modify other skills or system-wide configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gog-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/gog-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of gog: a CLI for Google Workspace productivity.
- Provides command-line access to Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
- OAuth authentication setup for secure account access.
- Includes common commands for searching, sending, listing, updating, and exporting across Google services.
- Supports JSON output and scripting-friendly options.
- Brew installation available for easy setup.
元数据
常见问题
Gog Cli 是什么?
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 160 次。
如何安装 Gog Cli?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gog-cli」即可一键安装,无需额外配置。
Gog Cli 是免费的吗?
是的,Gog Cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Gog Cli 支持哪些平台?
Gog Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gog Cli?
由 saisake(@saisake)开发并维护,当前版本 v1.0.0。
推荐 Skills