inbox
Installation
SKILL.md
Inbox — Email Triage System
Self-contained email triage skill. Handles setup and recurring triage in a single command. Detects its own state and routes accordingly — no need to remember which mode to run.
State Detection (Always First)
Before anything else, check for the KB:
| State | Route |
|---|---|
Argument is update |
→ Update Mode |
${WORKSPACE}/Email/email-taxonomy.md does NOT exist |
→ Setup Mode |
${WORKSPACE}/Email/email-taxonomy.md exists |
→ Triage Mode |
Edge cases:
- User says "set up my inbox" but KB exists → acknowledge, ask: "run triage / update preferences / both?"
- User says "triage my inbox" but no KB → "No knowledge base found. Running setup first, then triage immediately after." → Setup → Triage
- Partial KB (some files missing) → list which files are missing, ask: "run full setup / fill in only the missing sections?"