← 返回 Skills 市场
65
总下载
0
收藏
1
当前安装
4
版本数
在 OpenClaw 中安装
/install gmail-delete-email
功能描述
Atomic node skill to delete an email via Gmail using the gog CLI.
使用说明 (SKILL.md)
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:
- Execute Node: Execute the native terminal command
gog gmail trash \x3CmessageId>. - 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.
安全使用建议
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.
功能分析
Type: OpenClaw Skill
Name: gmail-delete-email
Version: 1.0.3
The skill is a straightforward implementation for deleting Gmail messages using the 'gog' CLI. The instructions in SKILL.md are focused on the stated task, including a basic retry loop for error handling, and do not contain any indicators of malicious intent, data exfiltration, or unauthorized execution.
能力评估
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).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gmail-delete-email - 安装完成后,直接呼叫该 Skill 的名称或使用
/gmail-delete-email触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Added explicit Jidoka-validated retry loop for error handling.
- Now retries failed delete commands up to 3 times, waiting 3 seconds between attempts.
- Reports error to the user and stops if deletion fails after all retries.
- Documentation updated to clarify these new reliability and verification steps.
v1.0.2
- Updated the skill to use the native gog CLI instead of the GoogleWorkspace plugin for deleting emails.
- Changed requirements from plugin dependency to CLI binary (`gog`).
- Updated description and instructions to reflect the new command-line interface.
- Modified schema example and output expectations accordingly.
v1.0.1
- Expanded OS support from Windows to all operating systems.
- No functionality changes; documentation only.
v1.0.0
- Initial release of the Gmail Delete Email skill.
- Allows deletion of a specific email using the GoogleWorkspace plugin.
- Implements lean principles: atomic design, standardized process, and autonomous error detection.
- Requires the google-workspace-plugin to function.
- Confirms deletion with a JSON response.
元数据
常见问题
Gmail Delete Email 是什么?
Atomic node skill to delete an email via Gmail using the gog CLI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。
如何安装 Gmail Delete Email?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gmail-delete-email」即可一键安装,无需额外配置。
Gmail Delete Email 是免费的吗?
是的,Gmail Delete Email 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Gmail Delete Email 支持哪些平台?
Gmail Delete Email 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gmail Delete Email?
由 zvirb(@zvirb)开发并维护,当前版本 v1.0.3。
推荐 Skills