Gmail Delete Email

v1.0.3

Atomic node skill to delete an email via Gmail using the gog CLI.

0· 95·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zvirb/gmail-delete-email.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Gmail Delete Email" (zvirb/gmail-delete-email) from ClawHub.
Skill page: https://clawhub.ai/zvirb/gmail-delete-email
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: gog
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install gmail-delete-email

ClawHub CLI

Package manager switcher

npx clawhub@latest install gmail-delete-email
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill's name/description match the instructions: it runs a single gog command to trash an email. Requiring the gog binary is appropriate for this purpose.
Instruction Scope
SKILL.md confines runtime behavior to executing `gog gmail trash <messageId>` with a simple retry loop and error reporting. It does not instruct the agent to read unrelated files, environment variables, or exfiltrate data.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is written or downloaded by the skill itself. This is the lowest-risk install posture.
Credentials
The skill requests no environment variables or credentials, which is proportional. Note: successful execution depends on the gog CLI already being installed and authenticated (via its own local config or token store). The skill does not declare or manage those credentials.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. The agent may invoke it autonomously (default), which is expected for skills but worth considering in operational policy because this skill performs destructive actions (deleting mail).
Assessment
This skill simply runs `gog gmail trash <messageId>` and relies on the gog CLI being installed and already authenticated. Before installing: (1) verify the gog binary on your system is from a trusted source and is the intended tool; (2) confirm which Gmail account/gog config will be used (gog likely reads local OAuth tokens or config files); (3) be aware this performs a destructive action—test with a noncritical message first; (4) consider requiring explicit user confirmation before letting an autonomous agent invoke deletion. If you need the skill to handle authentication, expect it to require additional declared credentials/config paths; their absence here means the skill depends on existing local gog setup.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

Binsgog
latestvk97bcrszjmwqw8t1hd7qvbk9rd85njxb
95downloads
0stars
4versions
Updated 1d ago
v1.0.3
MIT-0

Lean Philosophy (Principles)

  • Kaizen (改善): This skill is an atomic node, broken down into its simplest, smallest component to eliminate waste and ensure perfection.
  • 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 deletion fails.

Gmail Delete Email

This skill allows the agent to move an email to the trash using the native CLI.

Cognitive Directives

WHEN [An email needs to be deleted or moved to trash] THEN [ Execute the following Jidoka-validated loop:

  1. Execute Node: Execute the native terminal command gog gmail trash <messageId>.
  2. Verification Step (Jidoka): Check if the command returns a successful confirmation. IF it fails or returns an error, wait 3 seconds and retry (max 3 times). IF it still fails, report the error to the user and STOP. ]

Schema Example

{
  "command": "gog gmail trash msg_id_123"
}

Expected Output

Confirmation that the email was moved to the trash.

Comments

Loading comments...