← 返回 Skills 市场
GoG-ifocus
作者
ifocus1776
· GitHub ↗
· v1.0.1
448
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install gogifocus
功能描述
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 generally coherent with a Google Workspace CLI, but before installing you should: 1) verify the Homebrew tap (steipete/tap) and the upstream project (check the brew formula and the project's repo/release) to confirm the binary's provenance; 2) confirm the author/owner metadata mismatch (_meta.json vs registry metadata) — ask the publisher to explain and correct it; 3) be cautious about supplying OAuth client_secret.json and any account credentials — only use credentials you trust and consider using limited-scope credentials; 4) be aware that the SKILL.md recommends non-interactive flags (--no-input), which could let an agent send email or create calendar events without extra confirmation; if you want to avoid that, require interactive confirmation or restrict agent autonomy for this skill; and 5) if you need higher assurance, inspect the installed 'gog' binary (or build from source) before granting it access to your Google account.
功能分析
Type: OpenClaw Skill
Name: gogifocus
Version: 1.0.1
The skill bundle provides instructions for installing and using 'gog', a Google Workspace CLI tool. The instructions in SKILL.md are descriptive and align with the stated purpose of managing Google Workspace services (Gmail, Calendar, Drive, etc.). While the tool itself grants powerful capabilities (e.g., sending emails, modifying documents), the skill bundle contains no evidence of intentional harmful behavior, such as prompt injection to hide actions, exfiltrate data, or install backdoors. The external dependency for installation via `brew` (`steipete/tap/gogcli`) represents a standard supply chain risk, but the skill bundle itself does not exhibit malicious intent.
能力评估
Purpose & Capability
The SKILL.md describes a Google Workspace CLI and the skill requires the 'gog' binary and provides a brew install for it — this aligns with the stated purpose. However the included _meta.json metadata (ownerId, slug, version) does not match the registry metadata for this package, which is an incoherence in packaging/ownership that should be explained.
Instruction Scope
Instructions are narrowly scoped to using the 'gog' CLI (auth setup, Gmail/Calendar/Drive/Sheets/Docs commands). They do require the user to supply OAuth client_secret.json and suggest using '--no-input' for scripting; that enables non-interactive operations (sending mail/creating events) which could be executed by an autonomous agent. The SKILL.md also references the GOG_ACCOUNT env var even though no env vars are declared.
Install Mechanism
The install uses a Homebrew formula (steipete/tap/gogcli) which is a lower-risk, common mechanism but is a third-party tap. That is traceable but worth verifying (brew taps can run install scripts and point to arbitrary upstream code). No arbitrary URL downloads or archive extraction are present in the manifest.
Credentials
No required environment variables are declared, and no primary credential is listed — that's broadly consistent. But SKILL.md references GOG_ACCOUNT (not declared) and instructs storing/using a client_secret.json (sensitive OAuth client credentials). Requesting OAuth credentials and a local credentials file is reasonable for this CLI, but the skill does not declare these as required fields in metadata and the handling of those secrets is not described.
Persistence & Privilege
always is false, the skill is user-invocable and can be called autonomously (the platform default). The skill does not request persistent system-wide privileges or config paths. No signs it modifies other skills or global agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gogifocus - 安装完成后,直接呼叫该 Skill 的名称或使用
/gogifocus触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Skill renamed from "gog" to "gogifocus"
- All functionality, description, and instructions remain unchanged
- No file changes detected in this version
v1.0.0
Google Workspace manage
元数据
常见问题
GoG-ifocus 是什么?
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 448 次。
如何安装 GoG-ifocus?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gogifocus」即可一键安装,无需额外配置。
GoG-ifocus 是免费的吗?
是的,GoG-ifocus 完全免费(开源免费),可自由下载、安装和使用。
GoG-ifocus 支持哪些平台?
GoG-ifocus 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 GoG-ifocus?
由 ifocus1776(@ifocus1776)开发并维护,当前版本 v1.0.1。
推荐 Skills