jpskill.com
💬 コミュニケーション コミュニティ

inbox-triage

Runs a full inbox triage using the knowledge base created by the 'inbox-setup' skill. Light-intake by design (most invocations skip questions and run with KB-default preferences); asks at most 2 grill-me override questions when invocation is outside normal cadence or includes category-skip intent. Searches recent emails, classifies them via the user's taxonomy, researches new senders, generates recommendations, drafts replies (NEVER sends), delivers a report in the user's preferred format, and updates the knowledge base with learnings. Designed to run on a recurring schedule (1-3x daily) or on demand. 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', or any variation where the user wants their inbox processed. Requires the inbox-setup skill to have been run first.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o inbox-triage.zip https://jpskill.com/download/21954.zip && unzip -o inbox-triage.zip && rm inbox-triage.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21954.zip -OutFile "$d\inbox-triage.zip"; Expand-Archive "$d\inbox-triage.zip" -DestinationPath $d -Force; ri "$d\inbox-triage.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して inbox-triage.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → inbox-triage フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
7

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[Skill 名] inbox-triage

受信トレイのトリアージ — 定期的なメールのトリアージ

inbox-setup と組み合わせて使用します。 このスキルは、inbox-setup${WORKSPACE}/Email/ に書き込む7つのファイルからなるナレッジベースを利用します。ファイルの契約は完全に一致する必要があります。references/kb_file_contract.md を参照してください。これは、セットアップ側の契約を読み取り側から見たミラーです。

定期的なスケジュール(1日1~3回)またはオンデマンドで実行します。最近のメールを分類し、新しい送信者を調査し、意思決定の推奨事項を生成し、返信の下書きを作成し(決して送信しません)、クリーンなレポートを配信し、今回の実行で学習した内容でナレッジベースを更新します。

起動トリガー

  • 「受信トレイをトリアージして」
  • 「受信トレイのトリアージ」
  • 「メールをチェックして」
  • 「メールのトリアージを実行して」
  • 「受信トレイを処理して」
  • 「メールに何か新しいことはある?」
  • 「メールを処理して」
  • 「メールのトリアージ」

前提条件

開始時に必要な読み取り(不足している場合は即座に失敗します):

コア(必須):

  • ${WORKSPACE}/Email/email-taxonomy.md — 分類 + レポートの好み
  • ${WORKSPACE}/Email/email-patterns.md — 口調、ペルソナ、テンプレート、厳格なルール

オプションのコア(存在する場合に読み取り):

  • ${WORKSPACE}/Email/evaluation-framework.md
  • ${WORKSPACE}/Email/rate-card.md

進化中(実行ごとに読み取りおよび更新):

  • ${WORKSPACE}/Email/blocklist.md
  • ${WORKSPACE}/Email/tracker.md

出力:

  • ${WORKSPACE}/Email/triage-log/<YYYY-MM-DD>-<run-label>.md — 実行ごとのログ

コアの必須ファイルが不足している場合 → 停止し、ユーザーにまず inbox-setup を実行するよう指示します。読み取りと検証を実行するには scripts/kb_reader.py を使用します。

下書きのみ — 決して送信しません

このスキルは下書きを作成します。決して送信しません。

これは、スキルを自動的に実行しても安全にするための安全プロパティです。このスキル本文で複数回述べられています。交渉の余地はありません。

scripts/draft_safety_validator.py は実行後にこれを強制します。アクションログ内の送信形式のツール呼び出しはすべて検証に失敗します。完全な規律の規範については、references/drafts_only_safety.md を参照してください。

ステップ0:グリルミーインテーク(軽度 — 0~2のオプションの上書き質問)

受信トレイのトリアージは設計上、軽度なインテークです。inbox-setup からナレッジベースに事前に組み込まれた設定で、定期的な頻度で実行されます。ここでのグリルミー規律は、今回の実行で重要な上書き質問のみを尋ねることです。

Q1(オプション、オンデマンド実行が通常の頻度外の場合にのみ尋ねられます)

デフォルトの9時間の検索ウィンドウを上書きしますか?選択してください:はい(時間を指定)/いいえ(デフォルトを使用)。

質問の理由: 通常の1日2回の頻度外でオンデマンド実行している場合、より広いウィンドウ(長い休憩後の24時間)またはより狭いウィンドウ(簡単なチェックのための2時間)が必要になる場合があります。

頻度が通常の場合はスキップします。

Q2(オプション、ユーザーがカテゴリスキップの意図で起動した場合にのみ尋ねられます)

今回の実行でスキップするカテゴリはありますか?例:「ニュースレターをスキップ」、「金融をスキップ」。

質問の理由: 機会をスキャンしたいだけの場合や、アクティブなスレッドをクリアしたいだけの場合があります。カテゴリスキップは実行範囲を狭めます。

ユーザーがカテゴリスキップのシグナルを与えなかった場合はスキップします。

停止条件: 最大2つの質問。デフォルトの起動では両方の質問をスキップし、KBのデフォルト設定で実行されます。このスキルは高速な定期実行に最適化されており、インテークは例外であり、標準ではありません。

ステップ1:検索ウィンドウの決定

現在の日付計算で算出します。デフォルトのルックバック:9時間(1日2回の頻度で、実行間のメールを見逃さないようにわずかな重複がある場合に機能します)。

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"

頻度からデフォルトウィンドウへのマッピング(Q1で上書き):

頻度(email-taxonomy.md S1.Q5より) デフォルトウィンドウ
1日1回 26時間
1日2回 9時間
1日3回 6時間
オンデマンドのみ 24時間(Q1を尋ねます)

ステップ2:メール検索

2つのクエリ(プロバイダーに依存しないアダプターパターン):

  • プライマリ: 受信トレイ + window_start 以降に送信されたもの
  • セカンダリ: スター付き未読(プライマリで見逃したフラグ付きアイテムをキャッチ)

各メールについて、送信者、件名、日付、スニペット、スレッドID、ラベルを収集します。

プロバイダーアダプターマッピング:

プロバイダー ツール
Gmail Gmail MCP
Outlook / Microsoft 365 Outlook MCP
IMAP (Fastmail, ProtonMailなど) IMAP MCPが利用可能な場合。それ以外の場合は停止
(メールツールが利用できない) 「このセッションにメールツールが登録されていません。」という明確なメッセージで停止

ステップ3:分類

email-taxonomy.md の分類法を適用します。最も優先度の低いカテゴリ(ニュースレター/自動化/スパム)の場合:スレッドの読み取りを完全にスキップします。コンテキストコストに見合いません。それ以外の場合:完全なスレッドを読み取ります。

ステップ4:送信者調査

トラッカー/ブロックリスト/以前のログにない送信者の場合:

  1. blocklist.md を確認 → 一致した場合、自動スキップ
  2. tracker.md を確認 → 既知のスレッドの場合、既存のコンテキストをメモ
  3. 機会のある送信者(評価フレームワークによる)の場合:会社の正当性、ソーシャルプレゼンス、仲介ステータスについてウェブ検索

既知の送信者(トラッカー内)、社内メール、自動通知、明らかに優先度の低いものについては、調査を完全にスキップします。

ステップ5:推奨事項

意思決定が必要なメールの場合、evaluation-framework.md のフレームワークを適用します。分類:

カテゴリ いつ 出力
TAKE IT 基準を満たす場合 参加を推奨。返信の下書きを作成(ステップ6)
WORTH CONSIDERING 可能性があり、ユーザーの判断が必要な場合 主要なコンテキストを提示。ユーザーが編集するための下書きを作成
PASS 基準を満たさない場合 短い「理由」(1~3文)。丁寧な辞退の下書きを作成
FLAG FOR REVIEW 異常な場合。直接ユーザーの決定が必要な場合 全てを提示。下書きはなし(ユーザーが返信の形式を決定)

それぞれについて、短い「理由」、関連するコンテキスト、該当する場合は価格/タイムラインの比較を含めます。

evaluation-framework.md が存在しない場合は、ステップ5を完全にスキップします。

フレームワークの規範については、references/triage_decision_framework.md を参照してください。

ステップ6:下書き

妥当な返信候補ごとに、下書きを作成します。

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

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 lowest-priority category (newsletters / automation / spam): skip thread reads entirely — context cost not worth it. For everything else: read full thread.

Step 4: Sender Research

For senders not in tracker / blocklist / prior logs:

  1. Check blocklist.md → if matched, auto-skip
  2. Check tracker.md → if known thread, note existing context
  3. For opportunity senders (per evaluation framework): web search for company legitimacy, social presence, intermediary status

Skip research entirely for: known senders (in tracker), internal email, automated notifications, obvious low-priority.

Step 5: Recommendations

For decision-required emails, apply the framework from evaluation-framework.md. Categorize:

Category When Output
TAKE IT Meets criteria Recommend engaging; draft reply (Step 6)
WORTH CONSIDERING Has potential, needs user judgment Surface key context; draft for user to edit
PASS Doesn't meet criteria Brief "why" (1–3 sentences); draft polite decline
FLAG FOR REVIEW Unusual; needs direct user decision Surface fully; NO draft (user decides response shape)

Each: brief "why", relevant context, pricing/timeline comparison if applicable.

Skip Step 5 entirely if no evaluation-framework.md exists.

See references/triage_decision_framework.md for the framework canon.

Step 6: Drafts

For every reasonable reply candidate, create a draft using email-patterns.md voice rules.

Draft for: opportunity responses (TAKE IT / WORTH / PASS), active conversations needing reply, action items, important personal emails.

Do NOT draft for:

  • Clearly no-response emails (newsletters, automation, FYI)
  • Threads where user already replied
  • Blocked senders (unless new info changes the calculus)

Mechanics:

  • Draft only in the existing thread when possible (preserves context)
  • Set to, subject (Re: [original])
  • NEVER call any send operation. Only create drafts.

The draft body MUST honor:

  • Voice register from email-patterns.md
  • Forbidden tokens (S3.Q2 pet peeves)
  • Sign-off patterns
  • Persona context
  • Hard rules (S3.Q6 — non-negotiable)
  • Reply length per email-patterns.md

If evaluation-framework.md exists, draft tone matches recommendation:

  • TAKE IT → engaged + concrete next step
  • WORTH → curious + 1-2 clarifying questions
  • PASS → polite decline + brief reason (no hedging promises)
  • FLAG → NO draft

Step 7: Report Delivery

Honor user's preference from email-taxonomy.md "Report Preferences" section. Default: email draft to self with HTML.

Subject: Inbox Triage — [Day], [Month Date] ([Run Label])

Sections (in order):

  1. Overview — 2–3 sentences. What happened? Anything urgent?
  2. Stats — Counts: processed, drafts created, action needed, skipped.
  3. Action Needed — Overdue items, decisions, drafts to review, deadlines.
  4. Quick Reference — One line per email, alphabetical by sender. **Sender** — one-sentence summary + recommendation.
  5. Detailed Cards — Opportunities, active threads, flags. Each: sender / subject / category, recommendation + reasoning, key context. NO draft text previews (drafts are already in email client for user to read there).
  6. Footer — Generation timestamp + KB update summary.

Formatting (if HTML):

  • Inline CSS only (Gmail strips <style>)
  • Color-coded by recommendation:
    • green → TAKE IT
    • amber → WORTH CONSIDERING
    • red → PASS
    • purple → FLAG FOR REVIEW
    • blue → active conversation

Step 8: Knowledge Base Update

blocklist.md (append new):

  • New declined senders + reason + date
  • New decline patterns from observed behavior (e.g., "all emails containing 'looking for backend engineers' from gmail addresses → cold recruiter pattern")
  • Remove entries if user has overridden them (user replied to a "blocked" sender → unblock)

tracker.md (append + update):

  • New follow-ups for emails needing future action
  • Update existing follow-ups (deadline changed, status changed)
  • Mark resolved items complete
  • Flag overdue items
  • Remove resolved items older than 30 days
  • Add entry to update log

Learning patterns to observe over runs:

  • Drafts sent as-is vs. edited vs. deleted → tone calibration signal
  • PASS recommendations user overrides → framework adjustment signal
  • Engaged vs. ignored emails → taxonomy refinement signal
  • New decline patterns → blocklist additions

After 5+ runs, suggest KB improvements to user (e.g., "You always decline emails from X — add as auto-skip?").

Step 9: Internal Log

Save to ${WORKSPACE}/Email/triage-log/[YYYY-MM-DD]-[run-label].md:

  • Emails processed with classifications
  • Recommendations made
  • Drafts created (with IDs / thread refs)
  • KB updates made
  • Follow-ups added / resolved
  • Notable observations (patterns surfaced, edge cases handled)

The log is the audit trail for scripts/draft_safety_validator.py to scan for send operations post-run.

Step 10: Empty Inbox Handling

Even with zero new emails:

  1. Check tracker.md for items due today or overdue
  2. Generate minimal report: "No new actionable emails since last run"
  3. Flag any overdue items
  4. Escalate per tracker rules

Skip Steps 3–6 entirely on empty inbox.

Critical Rules (Stated Multiple Times)

  1. DRAFTS ONLY — NEVER SEND. Non-negotiable. Stated again here.
  2. Privacy. No passwords / credentials in KB. Reference threads by ID for sensitive content.
  3. Accuracy over speed. When unsure, flag for review. A wrong auto-draft is worse than no draft.
  4. Respect the KB. Documented preferences are source of truth. Don't override with judgment.
  5. Transparency. Note every KB change in the triage log.
  6. First runs need oversight. Document this expectation for the user.

Error Handling

Situation Behavior
KB files missing Halt; direct user to run inbox-setup
Email tool unavailable Halt with clear message about required tool
Web search unavailable for sender research Skip research step; note senders not researched
Draft creation fails Skip that draft; note in log; report continues
Report delivery fails Save report to file as fallback; notify user
User has 100+ new emails Stay within reasonable limits; flag volume; offer to focus on priority categories only
Sender appears in both blocklist and tracker Tracker wins (active conversation); note inconsistency in log

Portability

  • Claude Code CLI: Native — uses Gmail / Outlook MCP, file tools for KB, web search for research.
  • Claude.ai web: Works when email MCP connector is connected (Gmail MCP available). Skill must check tool availability before assuming. If no email tool: halt with clear message.

Tooling

Script Role
scripts/kb_reader.py Reads + validates the 7-file KB. Returns parsed structure. Halts with explicit error if required files missing.
scripts/search_window_calculator.py Computes window_start from cadence + current time. Returns run_label. Honors Q1 override.
scripts/draft_safety_validator.py Post-run scan of the action log for any send-shaped tool call. FAILs if detected. The deterministic enforcement of the NEVER-SEND rule.

References

Anti-Patterns To Reject

  • Sending emails (drafts only — non-negotiable)
  • Operating without knowledge base files
  • Storing passwords / credentials in KB
  • Skipping the learning loop (KB updates) at end of run
  • Overriding user's documented preferences with own judgment
  • Reading lowest-priority threads (waste of context)
  • Including draft text previews in report (drafts are already in email client)
  • Provider lock-in without adapter pattern
  • Silently failing on missing tools

Version: 1.0.0 Source spec: megaprompts/07-inbox-triage-megaprompt.md Build pattern: Path B (direct conversion). Paired with inbox-setup.

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。