PluginLow riskUnclaimed

email-pair

Email triage system — paired skills (inbox-setup + inbox-triage) for personalized recurring email triage. inbox-setup runs once via interactive interview to build a knowledge base of 7 files (taxonomy, patterns, evaluation-framework, rate-card, blocklist, tracker, triage-log/) in ${WORKSPACE}/Email/. inbox-triage runs on recurring cadence (1-3x daily) or on demand: classifies recent emails, researches new senders, generates recommendations, drafts replies (NEVER sends), delivers a report, and updates the KB with learnings. The two skills share a strict file contract — PR #657's cross-skill consistency audit verified the 7 KB filenames align verbatim between the two megaprompts. Source specs: megaprompts/06-inbox-setup-megaprompt.md + megaprompts/07-inbox-triage-megaprompt.md.

alirezarezvanialirezarezvani/email-pair★ 30kVersion 2.14.5Updated Nov 17, 2026

Description

email

Workflow-pair plugin. Two paired skills (inbox-setup + inbox-triage) that together implement a personalized recurring email triage system.

The pair shares a strict 7-file knowledge-base contract at ${WORKSPACE}/Email/. inbox-setup writes; inbox-triage reads + appends. PR #657's cross-skill consistency audit verified the file contract aligns verbatim between the two megaprompts.

How the pair works

┌──────────────────────┐         ┌──────────────────────────────┐
│   /cs-inbox-setup    │   ───►  │  ${WORKSPACE}/Email/          │
│                      │  writes │  ├── email-taxonomy.md         │
│  Interactive         │         │  ├── email-patterns.md         │
│  interview (~25-31   │         │  ├── evaluation-framework.md*  │
│  grill-me questions  │         │  ├── rate-card.md*             │
│  across 8 sections). │         │  ├── blocklist.md              │
│  Run ONCE.           │         │  ├── tracker.md                │
│                      │         │  └── triage-log/               │
└──────────────────────┘         └──────────────────────────────┘
                                          │
                                          │ reads + appends
                                          ▼
                                 ┌──────────────────────────────┐
                                 │   /cs-inbox-triage           │
                                 │                              │
                                 │   Recurring (1-3x/day) or    │
                                 │   on-demand. Classifies      │
                                 │   recent emails, drafts      │
                                 │   replies (NEVER SENDS),     │
                                 │   delivers report, updates   │
                                 │   blocklist + tracker.       │
                                 └──────────────────────────────┘

  * Conditional — created only if user has opportunities/pricing

What each skill does

inbox-setup (run once)

Interactive interview using grill-me discipline — one question at a time, dependency-ordered, forcing format where possible, "why I'm asking" on every question. Walks 8 sections (~25-31 questions, hard ceiling 35):

  1. The Big Picture — role, dominant categories, volume split, cadence (6 Q)
  2. Email Categories — propose taxonomy, confirm, refine (3 Q)
  3. Reply Style & Voice — register, pet peeves, signatures, persona, length, hard rules + 3-5 real sent-email samples for voice extraction (7 Q)
  4. Evaluation Framework (conditional) — gut filter, deal-breakers, attractors, pricing, negotiation, VIP list (6 Q) — skipped if no opportunities
  5. Blocklist & Patterns — auto-skip senders, patterns, time-wasters (3 Q)
  6. Current State — active threads, overdue replies, deadlines (3 Q)
  7. Report Preferences — delivery format, detail level, top-of-report priorities (3 Q)
  8. Confirmation & Handoff — file inventory + handoff to triage

Generates the 7-file KB. Re-runnable; existing files surface a per-file replace/merge/skip prompt.

inbox-triage (run recurringly)

Light-intake by design — most invocations skip questions and run with KB-default preferences. At most 2 grill-me override questions:

  • Q1 (optional) — override default search window (asked only for on-demand runs outside normal cadence)
  • Q2 (optional) — skip categories this run (asked only when user invokes with skip intent)

Then 10 execution steps: search window → search email → classify → research new senders → generate recommendations → draft replies (NEVER SENDS) → deliver report → update KB → log internally → handle empty inbox.

The 7-file shared contract

The contract is the integration boundary between the two skills. Any drift breaks the pair. See skills/*/references/kb_file_contract.md for the canonical spec (mirrored on both sides with write-perspective + read-perspective text).

File Setup writes Triage reads Triage updates
email-taxonomy.md ✓ ✓ —
email-patterns.md ✓ ✓ —
evaluation-framework.md (conditional) ✓ ✓ if exists —
rate-card.md (conditional) ✓ ✓ if exists —
blocklist.md seeded ✓ ✓ (appends new declines + patterns)
tracker.md seeded ✓ ✓ (appends + resolves follow-ups)
triage-log/ empty dir — ✓ (writes per-run log)

Source specs

  • megaprompts/06-inbox-setup-megaprompt.md (maintainer-local draft spec — gitignored, not in the public repo) (PR #657)
  • megaprompts/07-inbox-triage-megaprompt.md (maintainer-local draft spec — gitignored, not in the public repo) (PR #657)

The megaprompts are canonical; these plugins are working implementations. Drift between any megaprompt and its skill is a bug — re-grill with /cs-grill-with-docs if they diverge.

Plugin layout

engineering/email/
├── .claude-plugin/plugin.json     ← multi-skill: ["./skills/inbox-setup", "./skills/inbox-triage"]
├── README.md
├── agents/
│   ├── cs-inbox-setup.md           ← interview persona, 8-section grill enforcer
│   └── cs-inbox-triage.md          ← recurring-run persona, DRAFTS-ONLY enforcer
├── commands/
│   ├── cs-inbox-setup.md           ← /cs-inbox-setup
│   └── cs-inbox-triage.md          ← /cs-inbox-triage
└── skills/
    ├── inbox-setup/
    │   ├── SKILL.md                ← Path-B converted from megaprompt 06
    │   ├── references/
    │   │   ├── kb_file_contract.md          ← shared contract (write side)
    │   │   ├── grill_me_section_walk.md     ← 8-section discipline
    │   │   └── voice_calibration.md         ← sample-based voice extraction
    │   └── scripts/
    │       ├── kb_validator.py              ← stdlib: validates 7-file output
    │       ├── section_progress_tracker.py  ← stdlib: 8-section walk state
    │       └── voice_sample_analyzer.py     ← stdlib: extracts patterns from samples
    └── inbox-triage/
        ├── SKILL.md                ← Path-B converted from megaprompt 07
        ├── references/
        │   ├── kb_file_contract.md          ← same contract (read side, mirrored)
        │   ├── triage_decision_framework.md ← TAKE-IT / WORTH / PASS / FLAG taxonomy
        │   └── drafts_only_safety.md        ← the NEVER-SEND discipline canon
        └── scripts/
            ├── kb_reader.py                ← stdlib: reads + validates 7 files
            ├── search_window_calculator.py ← stdlib: cadence + now → window
            └── draft_safety_validator.py   ← stdlib: enforces never-send check

Quick start

/plugin marketplace add alirezarezvani/claude-skills
/plugin install email-pair@claude-code-skills
# 1. Run inbox-setup ONCE (interactive interview):
#    Use /cs-inbox-setup or trigger phrases like "set up my inbox"

# 2. After setup, run inbox-triage on cadence (e.g., 2x/day):
#    Use /cs-inbox-triage or trigger phrases like "triage my inbox"

# Validate the KB contract at any time:
python skills/inbox-setup/scripts/kb_validator.py --workspace ${WORKSPACE}

# Compute the search window for an on-demand run:
python skills/inbox-triage/scripts/search_window_calculator.py --cadence 2x-daily --now 2026-05-15T14:00

License

MIT.

Hosts

HostInstalls
Claude Code2 skills2 assistants2 commands
CodexSkills only
OpenCodeSkills only

Members2 skills · 2 assistants

  • inbox-setupUse when setting up email triage for the first time, before inbox-triage, or when priorities change. Interviews the user one question at a time and writes the knowledge base inbox-triage reads, validated with kb_validator.py.
  • inbox-triageUse 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.
  • cs-inbox-setupAssistantOne-time email-triage onboarding persona. Conducts an 8-section interactive interview (~25-31 grill-me questions) to build a personalized knowledge base of 7 markdown files in ${WORKSPACE}/Email/ that powers the companion inbox-triage skill. Refuses to batch questions. Refuses to skip the sample-emails ask (S3). Refuses to overwrite existing files without per-file consent on re-run. Refuses to persist sensitive credentials.
  • cs-inbox-triageAssistantRecurring email-triage execution persona. Reads the 7-file KB produced by inbox-setup, classifies recent emails via the user's taxonomy, researches new senders, generates recommendations, drafts replies, delivers a report, and updates the KB with learnings. NEVER SENDS — drafts only, non-negotiable. Halts with clear message if KB files are missing (directs user to run inbox-setup first). Light-intake — max 2 optional override questions.

Permissions

Full install
2.14.5
DeclaredDetected
Runs code—python
Installs—None
Runs install scripts—None
Network—alirezarezvani.comgithub.com
Needs credentials—None
Outside the workspace—~/.inbox_setup_sessions
Agent tools—None

Checks

Low risk · Nothing worth a warning was found.

Not reviewed by a person · Checked by rules; the model review is not switched on yet.

16 minor marks: common commands and the like, noted but not a concern
  • Rule · resource_abuseagents/cs-inbox-triage.md:19
  • Rule · resource_abuseagents/cs-inbox-triage.md:34
  • Rule · resource_abuseagents/cs-inbox-triage.md:39
  • Rule · resource_abusecommands/cs-inbox-setup.md:109
  • Rule · resource_abusecommands/cs-inbox-triage.md:19
  • Rule · resource_abusecommands/cs-inbox-triage.md:80
  • Rule · resource_abusecommands/cs-inbox-triage.md:86
  • Rule · resource_abuseskills/inbox-triage/SKILL.md:48
  • Rule · resource_abuseskills/inbox-triage/SKILL.md:112
  • Rule · resource_abuseskills/inbox-triage/SKILL.md:267
  • Rule · resource_abuseskills/inbox-triage/references/drafts_only_safety.md:119
  • Rule · resource_abuseskills/inbox-triage/references/drafts_only_safety.md:123
  • Rule · resource_abuseskills/inbox-triage/references/kb_file_contract.md:23
  • Rule · resource_abuseskills/inbox-triage/references/kb_file_contract.md:32
  • Rule · resource_abuseskills/inbox-triage/references/kb_file_contract.md:53
  • Rule · resource_abuseskills/inbox-triage/scripts/draft_safety_validator.py:5

Files21 files · 165.5 KB

  • README.md7.9 KB
.claude-plugin/2
  • authoring-notes.json649 B
  • plugin.json1.2 KB
agents/2
  • cs-inbox-setup.md9.6 KB
  • cs-inbox-triage.md9.3 KB
commands/2
  • cs-inbox-setup.md6.5 KB
  • cs-inbox-triage.md5.9 KB
skills/inbox-setup/1
  • SKILL.md14.4 KB
skills/inbox-setup/references/3
  • grill_me_section_walk.md7.1 KB
  • kb_file_contract.md6.0 KB
  • voice_calibration.md8.2 KB
skills/inbox-setup/scripts/3
  • kb_validator.py10.5 KB
  • section_progress_tracker.py10.0 KB
  • voice_sample_analyzer.py11.1 KB
skills/inbox-triage/1
  • SKILL.md13.3 KB
skills/inbox-triage/references/3
  • drafts_only_safety.md7.2 KB
  • kb_file_contract.md6.0 KB
  • triage_decision_framework.md7.3 KB
skills/inbox-triage/scripts/3
  • draft_safety_validator.py6.9 KB
  • kb_reader.py11.6 KB
  • search_window_calculator.py5.1 KB

Versions

  1. #12.14.5latestNov 17, 2026

Open in Codeg

Or copy its address to search for in Codeg’s Discover.

alirezarezvani/email-pair

No Codeg yet?Download