Agent skill

triage

This skill should be used when the user asks to "triage email", "classify email", "sort email", or wants to prioritize their inbox. Classifies emails as actionable, informational, or skip using MCP prompts.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/triage-data-wise-himalaya-mcp

SKILL.md

/email:triage - AI Email Triage

Classify inbox emails using Claude's reasoning via MCP prompts.

Usage

/email:triage             # Triage last 10 emails
/email:triage 20          # Triage last 20
/email:triage --folder Sent  # Triage specific folder

When Invoked

  1. Call list_emails MCP tool to get recent envelopes
  2. For each email, call read_email to get body
  3. Use triage_inbox MCP prompt to classify:
    • Actionable - requires response or action
    • Informational - read but no action needed
    • Skip - spam, newsletters, can ignore
  4. Display classified results
  5. Offer batch actions:
    • flag_email — mark as Flagged, Seen, etc.
    • move_email — move to Archive, Trash, or custom folder
    • draft_reply — draft a reply to actionable emails
    • create_action_item — extract todos from actionable emails

Output Format

📋 Triage Results (10 emails)

🔴 Actionable (3):
  1. alice@... — Meeting tomorrow (needs RSVP)
  2. boss@... — Q1 report due Friday
  3. student@... — Question about assignment

🟡 Informational (4):
  4. github@... — PR merged: feature/auth
  5. newsletter@... — Weekly digest
  ...

⚪ Skip (3):
  8. spam@... — ChatGPT for Excel
  ...

→ "Flag 8 as junk" to mark spam
→ "Read #2" for full email

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results