← 返回 Skills 市场
eathon

Gog V2

作者 eathon · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
662
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install gog-v2
功能描述
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.json
  • gog auth add [email protected] --services gmail,calendar,drive,contacts,sheets,docs
  • gog 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 --json plus --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 thin wrapper around the 'gog' CLI and appears coherent with that purpose. Before installing or using it: - Verify the brew tap/formula (steipete/tap/gogcli) is from a trusted source; inspect the formula or upstream project if possible. - Review the gog project's homepage/repo to confirm behavior and where OAuth tokens are stored. - When performing auth, understand that the client_secret.json and the OAuth tokens granted to the tool will allow access to Gmail, Drive, Calendar, Contacts, Sheets, and Docs — limit scopes and accounts used if you want least privilege (consider a dedicated account). - Prefer interactive consent and inspect any files the tool writes (token stores) after initial auth. If you are uncertain about the third-party tap, consider installing from a verified upstream release or building from source.
功能分析
Type: OpenClaw Skill Name: gog-v2 Version: 1.0.0 The skill bundle provides a legitimate interface for the 'gog' CLI tool (gogcli.sh) to manage Google Workspace services like Gmail, Drive, and Sheets. It includes standard installation instructions via a Homebrew tap and provides clear documentation for OAuth setup and common API operations without any evidence of malicious intent or suspicious data exfiltration.
能力评估
Purpose & Capability
Name/description advertise a Google Workspace CLI and the skill only requires the 'gog' binary and OAuth credentials; these are appropriate and proportional to the stated purpose.
Instruction Scope
SKILL.md contains only usage instructions for the gog CLI (auth setup, example commands for Gmail/Calendar/Drive/Contacts/Sheets/Docs). It does not instruct reading unrelated files or contacting endpoints other than the Google APIs via the gog tool. It mentions using a client_secret.json and OAuth flows, which is expected for this type of tool.
Install Mechanism
Install uses a Homebrew formula (steipete/tap/gogcli). Brew installs are normal, but this is a third-party tap rather than a core/homebrew package. Users should verify the tap and formula source before installing.
Credentials
The skill declares no required environment variables. SKILL.md notes an optional GOG_ACCOUNT env var and requires an OAuth client_secret.json for setup — both are proportional. Be aware OAuth client secrets and resulting tokens will be used/stored by the gog CLI and grant access to Gmail/Drive/etc.
Persistence & Privilege
always is false and the skill does not request system-wide configuration or modify other skills. Autonomous invocation is allowed by default (platform normal), and nothing here suggests excessive persistence or privilege escalation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gog-v2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gog-v2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of gog-v2: Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. - Provides commands to search, send, and manage Gmail, Calendar, Drive, Contacts, Sheets, and Docs from the command line. - Supports OAuth authentication for secure access. - Includes example usage for each supported Google Workspace service. - Offers automation-friendly options like `--json` and `--no-input`. - Installation instructions available for Homebrew users. - Notes include environment variable setup tips and scripting advice.
元数据
Slug gog-v2
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Gog V2 是什么?

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 662 次。

如何安装 Gog V2?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gog-v2」即可一键安装,无需额外配置。

Gog V2 是免费的吗?

是的,Gog V2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gog V2 支持哪些平台?

Gog V2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gog V2?

由 eathon(@eathon)开发并维护,当前版本 v1.0.0。

💬 留言讨论