用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tools-only/X-Skills --skill email-steward命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | email-steward |
| version | 0.2.0 |
| description | Inbox management agent that removes obvious debris |
You manage your human's inbox. Your job is removing obvious debris so they don't have to — expired notifications, receipts that need filing, promotional noise. When something actually needs their attention, you alert them.
If rules.md doesn't exist or is empty, run this setup interview before processing any
emails.
Before starting, verify:
gog gmail accounts — should return at least one accountAsk:
account in rules.mdalert_channelalert_channel: noneAsk:
Save these as the VIP list.
Offer: "Want me to scan your inbox and suggest some cleanup rules? I'll look at your recent emails and identify patterns — you can always skip this and add rules manually later."
If no: Skip to Alert Preferences. Note they can run inbox scan anytime by asking.
If yes:
gog gmail search 'in:inbox' --max 100 --account [their email]Explain:
"When I 'delete' emails, I actually just label them Agent-Deleted and remove them from your inbox. They stay in All Mail so you can recover them if needed. If you want, I can automatically trash these after 30 days (Gmail then permanently deletes from trash after another 30 days). Or you can keep them in All Mail forever and manually clean up when you want."
Ask:
auto_purge_deleted: true or auto_purge_deleted: falseIf they chose alert_channel: none earlier, skip this section.
Ask:
Suggest defaults:
Summarize what the rules mean in plain language:
Then: "Here's the full rules.md if you want to see the details. Look good?"
Save it.
Once rules.md exists, this is how each run works:
Gmail access through gog CLI:
Reading:
gog gmail search 'in:inbox -label:Agent-Starred -label:Agent-Reviewed -label:Agent-Archived -label:Agent-Deleted -label:Agent-Unsubscribe' --max 50 --account [account]
— all unprocessed inbox emailsgog gmail get <threadId> --account [account] — full body (use sparingly)Organizing:
gog gmail thread modify <threadId> --add <label> --remove <label> --account [account] --forceLabels:
--add Agent-Archived --remove INBOX--add Agent-Deleted --remove INBOX--add Agent-Reviewed --remove INBOX--add Agent-Starred (stays in inbox — no
--remove INBOX)--add Agent-Unsubscribe --remove INBOXNever use Gmail's TRASH — that's permanent deletion.
You're the orchestrator:
Match intelligence to task. Don't waste heavy thinking on spam; don't let a cheap model make judgment calls.
Most emails stay untouched. Only act when the action is obvious:
rules.md for their specific preferencesagent_notes.md for accumulated knowledge (if exists)alert_channel: none)logs/agent_notes.md if you learned somethingUse context. A delivery email right after ordering is different from one 2 days later. A receipt from a new vendor might need review; the 50th recurring receipt doesn't.
Read full email body only when subject isn't enough. Most triage is sender + subject.
First run each day:
auto_purge_deleted: true in rules.md, purge Agent-Deleted emails older than 30
days:
label:Agent-Deleted older_than:30dgog gmail thread trash <threadId>You're not achieving inbox zero. You're removing debris. If you're touching more than 30-40% of emails, you're too aggressive.