← Back to Skills Marketplace
zvirb

Gmail Draft Update Body

by zvirb · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
43
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install gmail-draft-update-body
Description
Atomic node skill to update the body text of an existing Gmail draft.
README (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.

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gmail-draft-update-body
  3. After installation, invoke the skill by name or use /gmail-draft-update-body
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug gmail-draft-update-body
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Gmail Draft Update Body?

Atomic node skill to update the body text of an existing Gmail draft. It is an AI Agent Skill for Claude Code / OpenClaw, with 43 downloads so far.

How do I install Gmail Draft Update Body?

Run "/install gmail-draft-update-body" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Gmail Draft Update Body free?

Yes, Gmail Draft Update Body is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Gmail Draft Update Body support?

Gmail Draft Update Body is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Gmail Draft Update Body?

It is built and maintained by zvirb (@zvirb); the current version is v1.0.0.

💬 Comments