跳到正文
Skillpedia
邮件与消息29k · #9708

inbox-triage

它能做什么

这项技能检查你最近的邮件,根据你保存的设置进行分类,并且只以草稿形式撰写回复。适合希望收件箱得到处理、同时又不失去发送控制权的人。

适用场景

  • ✓当你要求分拣收件箱或检查邮件的时候。
  • ✓当你想了解哪些新邮件需要你关注,并获得一份报告的时候。
  • ✓当你想准备好回复草稿,但不让系统替你发送任何内容的时候。

技能链接

https://github.com/alirezarezvani/claude-skills/blob/main/productivity/email/skills/inbox-triage/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/alirezarezvani/claude-skills/blob/main/productivity/email/skills/inbox-triage/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请分拣我的收件箱,告诉我今天哪些邮件需要回复,并附上我可以审阅的草稿。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会读取你保存的邮件设置,对最近的邮件进行分类,撰写回复草稿,并给你一份简短的报告。它的设计是绝不自行发送邮件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Inbox-Triage — Recurring Email Triage

Paired with inbox-setup. This skill consumes the 7-file knowledge base that inbox-setup writes at ${WORKSPACE}/Email/. The file contracts MUST match exactly. See references/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.

repo: alirezarezvani/claude-skills

热度

GitHub 星标
29k
排名
#9708
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能