← 返回 Skills 市场
Gog Xiaoshu
作者
xiaomaju-888
· GitHub ↗
· v1.0.0
· MIT-0
128
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gog-xiaoshu
功能描述
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 internally consistent with a Google Workspace CLI: it expects you to install the 'gog' binary and perform OAuth with your client_secret.json. Before installing, review the Homebrew tap (steipete/tap/gogcli) and the project's source to confirm you trust the publisher. Keep your OAuth client_secret.json private, grant only the minimal API scopes you need, and be cautious when running commands that send mail or modify data (confirm prompts or run with --no-input only in scripted, trusted contexts).
功能分析
Type: OpenClaw Skill
Name: gog-xiaoshu
Version: 1.0.0
The skill bundle provides documentation and command references for 'gog', a legitimate CLI tool for interacting with Google Workspace (Gmail, Drive, Sheets, etc.). It specifies a standard installation path via a known Homebrew tap (steipete/tap/gogcli) and contains no evidence of malicious intent, data exfiltration, or prompt injection.
能力标签
能力评估
Purpose & Capability
Name/description (Google Workspace CLI) match the runtime requirements: the skill requires a 'gog' binary and documents OAuth client credentials and per-account auth. Asking for a CLI and OAuth setup is appropriate for this purpose.
Instruction Scope
SKILL.md only instructs the agent/user to install/use the 'gog' CLI, perform OAuth setup with a client_secret.json, set an optional GOG_ACCOUNT env var, and run workspace commands. It does not instruct reading unrelated host files or sending data to unexpected endpoints.
Install Mechanism
Install uses a third-party Homebrew tap (steipete/tap/gogcli) which will install a binary. Homebrew taps are a common install mechanism but are not the official Homebrew/core; reviewing the tap's formula/repo before installing is prudent.
Credentials
The skill declares no required environment variables or credentials. SKILL.md mentions an optional GOG_ACCOUNT env var and user-provided OAuth client secrets — both are proportional and expected for a Google Workspace CLI.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide config changes. It is user-invocable and can be invoked by the agent (default), which is normal for skills.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gog-xiaoshu - 安装完成后,直接呼叫该 Skill 的名称或使用
/gog-xiaoshu触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of gog-xiaoshu.
- Introduces `gog`, a Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
- Provides command-line authentication and account management.
- Includes examples for common tasks like searching Gmail, managing calendar events, editing Sheets, and exporting Docs.
- Notes on scripting, environment variables, and usage best practices included.
元数据
常见问题
Gog Xiaoshu 是什么?
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 128 次。
如何安装 Gog Xiaoshu?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gog-xiaoshu」即可一键安装,无需额外配置。
Gog Xiaoshu 是免费的吗?
是的,Gog Xiaoshu 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Gog Xiaoshu 支持哪些平台?
Gog Xiaoshu 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gog Xiaoshu?
由 xiaomaju-888(@xiaomaju-888)开发并维护,当前版本 v1.0.0。
推荐 Skills