← Back to Skills Marketplace
zvirb

Gmail Draft Initialize

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-initialize
Description
Atomic node skill to initialize a Gmail draft with recipients.
README (SKILL.md)

Lean Philosophy (Principles)

  • Kaizen (改善): This skill is an atomic node, strictly limited to initializing a draft with recipients, 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. It relies on the CLI's self-healing loop and will report errors if the initialization fails.

Gmail Draft Initialize

This skill allows the agent to create a new, empty email draft in Gmail with specified recipients. It does NOT set the subject or body (use the dedicated update skills for those).

Cognitive Directives

WHEN [A new email needs to be drafted] THEN [Execute the native terminal command gog gmail drafts create --to "..." --json]

Schema Example

{
  "command": "gog gmail drafts create --to \"[email protected]\" --json"
}

Jidoka Validation Loop

  1. Try: Execute the command.
  2. Evaluate: Check the JSON response to confirm the draft ID is returned.
  3. Correct/Fail: If it failed or hallucinated parameters, retry up to 3 times (max_retries=3) with the exact error.
  4. Proceed: Return the final draft ID for subsequent update steps.

Expected Output

A JSON object confirming the draft was created and returning the draftId.

Usage Guidance
This skill is narrowly focused and appears coherent, but it depends entirely on an external 'gog' CLI of unknown origin. Before installing or enabling it: 1) Verify what 'gog' is (project homepage, publisher) and install it from a trusted source; 2) Confirm the 'gog' binary is already authenticated to the correct Gmail account and review what credentials/config it stores; 3) Test the skill in a safe/sandboxed environment to confirm it only creates drafts and returns draftId; 4) If you do not want an agent to invoke this autonomously, keep it user-invocable only or disable autonomous invocation. If you need additional assurance, request the skill author/source or a checksum/official install instructions for 'gog.'
Capability Analysis
Type: OpenClaw Skill Name: gmail-draft-initialize Version: 1.0.0 The skill is a straightforward utility designed to initialize a Gmail draft using a CLI tool named 'gog'. The instructions in SKILL.md are well-defined, focusing on a single atomic task with built-in error handling logic, and contain no evidence of malicious intent, data exfiltration, or unauthorized command execution.
Capability Assessment
Purpose & Capability
The name/description (initialize a Gmail draft with recipients) matches the single required binary ('gog') and the single command the SKILL.md instructs the agent to run. Asking for the gog CLI is proportionate to the described task.
Instruction Scope
SKILL.md is narrowly scoped: it tells the agent to run a single CLI command, check the JSON response for a draftId, and retry up to 3 times on failure. It does not instruct reading unrelated files, scanning environment variables, or transmitting data to unknown endpoints.
Install Mechanism
There is no install spec and no code files — this is instruction-only. That is the lowest-risk install model. The skill assumes the 'gog' binary is already present on PATH.
Credentials
The skill declares no env vars or credentials, which is reasonable if the 'gog' CLI is already authenticated in the environment. However, because it relies on an external binary, that binary (and its configuration/storage of credentials) is the implicit credential surface — the skill itself does not request unrelated secrets.
Persistence & Privilege
always is false, the skill is user-invocable, and it does not request system-wide persistence or modify other skills' configs. Autonomous model invocation is allowed by default but not excessive here given the narrow scope.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gmail-draft-initialize
  3. After installation, invoke the skill by name or use /gmail-draft-initialize
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release for Gmail Draft Initialize—atomic skill to create Gmail drafts with recipients only. - Initializes a new Gmail draft with specified recipients (To). - Does not set subject or body; use separate skills for those fields. - Implements an autonomous error detection and recovery loop (jidoka). - Returns a JSON response with the created draft's ID.
Metadata
Slug gmail-draft-initialize
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Gmail Draft Initialize?

Atomic node skill to initialize a Gmail draft with recipients. It is an AI Agent Skill for Claude Code / OpenClaw, with 43 downloads so far.

How do I install Gmail Draft Initialize?

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

Is Gmail Draft Initialize free?

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

Which platforms does Gmail Draft Initialize support?

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

Who created Gmail Draft Initialize?

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

💬 Comments