← 返回 Skills 市场
zvirb

Gmail Draft Update Body

作者 zvirb · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
43
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install gmail-draft-update-body
功能描述
Atomic node skill to update the body text of an existing Gmail draft.
使用说明 (SKILL.md)

Lean Philosophy (Principles)

  • Kaizen (改善): This skill is an atomic node, strictly limited to updating the body of a draft, preventing complex multi-field string constructions.
  • Standardized Work (Hyojun Sagyo): This node represents the most efficient, standardized path for this specific task before automation.
  • Jidoka (自働化): This node includes autonomous defect detection.

Gmail Draft Update Body

This skill allows the agent to update the body of an existing Gmail draft using the native CLI.

Cognitive Directives

WHEN [The body of a Gmail draft needs to be set or updated] THEN [Execute the native terminal command gog gmail drafts update \x3CdraftId> --body "..." --json]

Schema Example

{
  "command": "gog gmail drafts update draft_id_123 --body \"Please review the attached invoice.\" --json"
}

Jidoka Validation Loop

  1. Try: Execute the command.
  2. Evaluate: Check the JSON response to confirm the body was updated.
  3. Correct/Fail: If it failed or hallucinated parameters, retry up to 3 times (max_retries=3).
  4. Proceed: Return the confirmation.

Expected Output

A JSON object confirming the draft was updated.

安全使用建议
This skill is coherent but simple: it will run the local `gog` CLI to update a Gmail draft. Before installing/using it, verify what `gog` is and how it was installed, and confirm which Gmail account `gog` is authenticated to. Be careful about how the draft body is inserted into the shell command — ensure the agent or caller properly escapes or passes the body to avoid shell injection. If you are unsure about `gog`, test on a non-production account, or run the command yourself to confirm behavior. If you want tighter control, require explicit user consent before the skill runs or restrict the agent from invoking it autonomously.
功能分析
Type: OpenClaw Skill Name: gmail-draft-update-body Version: 1.0.0 The skill is a standard atomic node designed to update Gmail draft bodies using the 'gog' CLI tool. The instructions in SKILL.md are consistent with the stated purpose, and there is no evidence of malicious intent, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
The name/description say the skill updates a Gmail draft body and the runtime instruction is a single CLI invocation: `gog gmail drafts update <draftId> --body "..." --json`. Requiring the `gog` binary is coherent with invoking a native CLI to perform Gmail operations; no unrelated credentials or tools are requested.
Instruction Scope
SKILL.md confines the agent to executing a single command and checking its JSON response with retry logic. It does not instruct reading unrelated files or environment variables. Note: the skill assumes the agent will supply a draftId and a body string; assembling that command naively can introduce shell-escaping/injection risks if inputs are not escaped properly. It also implicitly relies on the local `gog` tool for authentication (not declared in the skill), which users should be aware of.
Install Mechanism
There is no install spec (instruction-only), so nothing is written to disk by the skill itself. This is a low-risk installation profile. The only external dependency is the presence of the `gog` binary on PATH; how that binary was installed or authenticated is outside the skill.
Credentials
The skill declares no required environment variables or credentials, which is consistent with delegating auth to the `gog` CLI. That is proportionate, but it means the skill will operate using whatever credentials `gog` already has on the host — users should confirm which account `gog` authenticates as and whether that is acceptable.
Persistence & Privilege
always:false and no special privileges are requested. The skill does not request persistent presence or attempt to modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gmail-draft-update-body
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gmail-draft-update-body 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Gmail Draft Update Body v1.0.0 - Initial release: update the body text of an existing Gmail draft via native CLI. - Uses `gog` CLI binary for Gmail draft updates. - Focuses exclusively on updating the draft body (no multi-field edits). - Includes validation loop to confirm successful update and retry on error. - Outputs confirmation as a JSON object.
元数据
Slug gmail-draft-update-body
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Gmail Draft Update Body 是什么?

Atomic node skill to update the body text of an existing Gmail draft. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。

如何安装 Gmail Draft Update Body?

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

Gmail Draft Update Body 是免费的吗?

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

Gmail Draft Update Body 支持哪些平台?

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

谁开发了 Gmail Draft Update Body?

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

💬 留言讨论