← 返回 Skills 市场
75
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install maverick-gog-skill
功能描述
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.
Seeded setup
- The deployment harness invokes
scripts/setup.shafter install and on credential rotation. - Setup imports OAuth client credentials from
MAVERICK_GOG_CREDENTIALS_JSON_B64. - Setup imports the refresh-token payload from
MAVERICK_GOG_TOKEN_IMPORT_JSON_B64. - Use
GOG_KEYRING_BACKEND=filewithGOG_KEYRING_PASSWORDfor headless runtimes. - After setup, normal
gogcommands refresh short-lived Google access tokens on demand from the stored refresh token. - Setup writes the supplied credential state unconditionally. Only rerun it with the freshest token payload.
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 source and are comfortable granting this skill OAuth access to the connected Google account. Use the narrowest account and scopes possible, and require explicit confirmation before any command that sends, creates, updates, appends, clears, copies, or otherwise changes Google Workspace data.
能力标签
能力评估
Purpose & Capability
The Google Workspace CLI purpose is coherent with the requested Gmail, Calendar, Drive, Contacts, Sheets, and Docs capabilities, including both read and write operations.
Instruction Scope
The instructions include high-impact actions such as sending mail and updating, appending to, or clearing Sheets, but explicit confirmation guidance is limited to sending mail or creating events.
Install Mechanism
The skill installs the gog CLI from an external Homebrew tap. This is expected for a CLI integration, but users rely on that package source.
Credentials
The required OAuth client and refresh-token environment variables are purpose-aligned, but they provide broad delegated access to a Google account.
Persistence & Privilege
Setup imports and stores Google OAuth credential state for later token refresh. This is disclosed and expected, but it is persistent account access.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install maverick-gog-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/maverick-gog-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of maverick-gog-skill.
- Adds a Google Workspace CLI integration for Gmail, Calendar, Drive, Contacts, Sheets, and Docs via the gog tool.
- Provides OAuth-based setup with support for headless environments and automated credential/token import.
- Includes install instructions and a post-install setup script for credential initialization.
- Documents command usage for each supported Google service, credential management, and scripting tips.
- Requires certain environment variables and binaries for operation; detailed in SKILL.md.
元数据
常见问题
Gog Skill 是什么?
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 75 次。
如何安装 Gog Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install maverick-gog-skill」即可一键安装,无需额外配置。
Gog Skill 是免费的吗?
是的,Gog Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Gog Skill 支持哪些平台?
Gog Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gog Skill?
由 Maverick(@maverick)开发并维护,当前版本 v1.0.0。
推荐 Skills