inbox-triage
它能做什么
这项技能检查你最近的邮件,根据你保存的设置进行分类,并且只以草稿形式撰写回复。适合希望收件箱得到处理、同时又不失去发送控制权的人。
适用场景
- ✓当你要求分拣收件箱或检查邮件的时候。
- ✓当你想了解哪些新邮件需要你关注,并获得一份报告的时候。
- ✓当你想准备好回复草稿,但不让系统替你发送任何内容的时候。
技能链接
https://github.com/alirezarezvani/claude-skills/blob/main/productivity/email/skills/inbox-triage/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请分拣我的收件箱,告诉我今天哪些邮件需要回复,并附上我可以审阅的草稿。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会读取你保存的邮件设置,对最近的邮件进行分类,撰写回复草稿,并给你一份简短的报告。它的设计是绝不自行发送邮件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Inbox-Triage — Recurring Email Triage
Paired with
inbox-setup. This skill consumes the 7-file knowledge base thatinbox-setupwrites at${WORKSPACE}/Email/. The file contracts MUST match exactly. Seereferences/kb_file_contract.md— this is the mirror of the setup-side contract, viewed from the read side.
Run on a recurring schedule (1–3x daily) or on demand. Classify recent emails, research new senders, generate decision recommendations, draft replies (NEVER SEND), deliver a clean report, and update the knowledge base with what was learned this run.
Invocation Triggers
- "triage my inbox"
- "inbox triage"
- "check my email"
- "run email triage"
- "process my inbox"
- "what's new in my email"
- "handle my email"
- "email triage"
Prerequisites
Required reads at start (fail-fast if missing):
Core (required):
${WORKSPACE}/Email/email-taxonomy.md— classification + report preferences${WORKSPACE}/Email/email-patterns.md— voice, persona, templates, hard rules
Optional core (read if exists):
${WORKSPACE}/Email/evaluation-framework.md${WORKSPACE}/Email/rate-card.md
Evolving (read AND update every run):
${WORKSPACE}/Email/blocklist.md${WORKSPACE}/Email/tracker.md
Output:
${WORKSPACE}/Email/triage-log/<YYYY-MM-DD>-<run-label>.md— per-run log
If any core required file is missing → halt, direct user to run inbox-setup first. Use scripts/kb_reader.py to perform the read + validation.
DRAFTS ONLY — Never Send
This skill creates drafts. It NEVER sends.
This is the safety property that makes the skill safe to run automatically. Stated multiple times in this skill body. Non-negotiable.
The scripts/draft_safety_validator.py enforces it post-run. Any send-shaped tool call in the action log fails validation. See references/drafts_only_safety.md for the full discipline canon.
Step 0: Grill-Me Intake (Light — 0–2 Optional Override Questions)
Inbox-triage is light-intake by design — it runs on a recurring cadence with preferences pre-baked into the knowledge base from inbox-setup. The grill-me discipline here is asking ONLY the override questions that matter THIS run.
Q1 (optional, asked only when on-demand run is outside normal cadence)
Override the default 9-hour search window? Pick: yes (specify hours) / no (use default).
Why I'm asking: If you're running on-demand outside your normal 2x/day cadence, you may want a wider window (24h after a long break) or narrower (2h for a quick check).
Skip if cadence is normal.
Q2 (optional, asked only when user invokes with category-skip intent)
Skip any categories this run? E.g., "skip newsletters", "skip financial".
Why I'm asking: Sometimes you just want to scan opportunities or just want to clear active threads. Category skip narrows the run scope.
Skip if user gave no category-skip signal.
Stop condition: Max 2 questions. Default invocations skip both questions and run with KB-default preferences. The skill is optimized for fast recurring execution; intake is the exception, not the norm.
Step 1: Determine Search Window
Compute via current date math. Default lookback: 9 hours (works for 2x/day cadence with slight overlap so emails between runs aren't missed).
Use scripts/search_window_calculator.py --cadence <CADENCE> --now <ISO>:
now = current_datetime
window_start = now - 9_hours (default for 2x-daily)
run_label = "Morning" if now.hour < 12 else "Afternoon" if now.hour < 17 else "Evening"
Cadence-to-default-window mapping (override via Q1):
| Cadence (from email-taxonomy.md S1.Q5) | Default window |
|---|---|
| once daily | 26h |
| 2x daily | 9h |
| 3x daily | 6h |
| on-demand only | 24h (asks Q1) |
Step 2: Email Search
Two queries (provider-agnostic adapter pattern):
- Primary: Inbox + sent after
window_start - Secondary: Starred unread (catch flagged items missed in primary)
Collect for each email: sender, subject, date, snippet, thread ID, labels.
Provider adapter mapping:
| Provider | Tool |
|---|---|
| Gmail | Gmail MCP |
| Outlook / Microsoft 365 | Outlook MCP |
| IMAP (Fastmail, ProtonMail, etc.) | IMAP MCP if available; halt otherwise |
| (no email tool available) | Halt with clear message: "No email tool registered for this session." |
Step 3: Classification
Apply the taxonomy from email-taxonomy.md. For
常见问题
它会替我发送回复吗?
不会,这项技能只起草回复,从不发送。
运行前它需要什么?
它需要收件箱设置技能生成的邮件设置文件,如果缺少必需的文件,它会停止运行。
它可以定时运行吗?
可以,它可以每天运行一到三次,也可以在你需要时运行。
详情
作者的原始描述
Use when the user wants their inbox processed ('triage my inbox', 'check my email'). Classifies recent mail with the inbox-setup knowledge base, drafts replies it never sends (checked by draft_safety_validator.py) and reports.
热度
- GitHub 星标
- 29k
- 排名
- #9708
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-launcher-orchestrator
29k帮你的智能体从一个清晰的目标出发,逐步规划、构建、测试并定时运行你自己账户中的 Claude 托管智能体。
grade-iterate
29k让你的智能体按评分标准为托管 AI 智能体的工作打分,并在固定的轮次内改进,因此它永远不会无限循环。
interview
29k让你的智能体就一个 AI 智能体的想法对你进行访谈,并在任何上线之前,把你的回答整理成一份简单的构建计划。
run-without-you
29k帮你的智能体设置托管 AI 智能体,使其按计划或在某个事件发生时运行,并在启动前检查定时设置。