← 返回 Skills 市场
liang0591

Gog 1

作者 liang0591 · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
447
总下载
0
收藏
6
当前安装
1
版本数
在 OpenClaw 中安装
/install gog-1
功能描述
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 appears to do what it says: it expects a standalone 'gog' CLI and instructs you how to use it. Before installing, verify the Homebrew tap (steipete/tap/gogcli) and inspect the formula or the project's GitHub to confirm the binary's source. Protect your OAuth client_secret.json (store it securely), grant only needed Google API scopes, and be aware that the installed 'gog' binary will have normal filesystem and network access (it can read files you point it at and call Google APIs). If you will allow the agent to invoke the skill autonomously, consider limiting the agent's permissions or confirm prompts for sensitive actions like sending email.
功能分析
Type: OpenClaw Skill Name: gog-1 Version: 1.0.0 The skill bundle provides an interface for the 'gog' CLI tool to interact with Google Workspace services such as Gmail, Drive, and Sheets. It includes standard installation instructions via a reputable Homebrew tap (steipete/tap/gogcli) and provides clear command examples for the AI agent. There are no signs of malicious intent, data exfiltration, or prompt injection; the functionality is consistent with the stated purpose of managing Google account data via a CLI.
能力评估
Purpose & Capability
The name/description (Google Workspace CLI) match the declared requirements: the skill requires the 'gog' binary and offers commands for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Requesting a gog binary and offering a Homebrew install is appropriate for this purpose.
Instruction Scope
SKILL.md only instructs the agent to run the gog CLI and perform OAuth setup (pointing to a local client_secret.json) and typical goog workspace operations. It does not ask the agent to read unrelated files, system secrets, or exfiltrate data to other endpoints. It does reference writing an exported doc to /tmp and suggests using GOG_ACCOUNT to avoid repeating --account, both expected and limited in scope.
Install Mechanism
Installation is via Homebrew formula steipete/tap/gogcli which will create the 'gog' binary. Homebrew is a normal install path, but this is a third‑party tap (not the default Homebrew/core). Verify the tap's GitHub/repository and formula contents before installing to ensure the binary's provenance and review build/install steps.
Credentials
The skill declares no required environment variables. The runtime notes mention GOG_ACCOUNT (optional) and local OAuth client_secret.json files — these are proportional to a Google API CLI. Users should still protect OAuth client secrets and grant the minimum OAuth scopes needed.
Persistence & Privilege
The skill is not forced-always and does not request persistent system-wide configuration or other skills' credentials. Autonomous model invocation is allowed (platform default) but not excessive in this skill's metadata.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gog-1
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gog-1 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of gog: a CLI for Google Workspace. - Manage Gmail, Calendar, Drive, Contacts, Sheets, and Docs from the command line. - OAuth setup required for account authorization. - Provides commands for searching, sending, and listing emails; managing calendar events; searching Drive; listing contacts; reading and updating Sheets; and exporting Docs. - Supports scripting via JSON output and options to disable interaction. - Includes tips on environment setup and command usage for efficient workflows.
元数据
Slug gog-1
版本 1.0.0
许可证
累计安装 6
当前安装数 6
历史版本数 1
常见问题

Gog 1 是什么?

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

如何安装 Gog 1?

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

Gog 1 是免费的吗?

是的,Gog 1 完全免费(开源免费),可自由下载、安装和使用。

Gog 1 支持哪些平台?

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

谁开发了 Gog 1?

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

💬 留言讨论