Office Tools v1.0.3

gmail-delete-email

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

zvirb 更新于 2026-04-27 1 浏览
下载 SKILL

技能说明

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

使用场景

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.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/gmail-delete-email
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 15 kB
SKILL.md text/markdown
---
name: Gmail Delete Email
description: Atomic node skill to delete an email via Gmail using the gog CLI.
os: all
requires:
  bins:
    - gog
---
## 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
```json
{
  "command": "gog gmail trash msg_id_123"
}
```

## Expected Output
Confirmation that the email was moved to the trash.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。