Inbox Triage
by @indigas
Automates inbox management by categorizing messages into urgent, normal, or spam, generating daily digests, and drafting responses for low-priority items.
clawhub install claw-inbox-triageπ About This Skill
name: inbox-triage description: Automated message filtering, prioritization, and response drafting across all platforms. Use when: (1) Inbox/messages are overwhelming or unmanageable, (2) Need to categorize by priority (urgent/normal/spam), (3) Want daily digest summaries, (4) Require draft responses for low-priority items, (5) Need to filter notifications and alerts
Inbox Triage Skill
Automate message management by categorizing, summarizing, and drafting responses to keep your inbox clean and actionable.
Quick Start
# Install the skill
npx clawhub install inbox-triageTrigger
"Help me triage my inbox"
Core Features
1. Message Categorization
Messages are classified into three categories:
Triggers for categorization:
2. Daily Digest Generation
Creates a consolidated summary of all messages received that day:
π§ Daily Inbox Digest - April 15, 2026π΄ URGENT (2):
- Meeting reminder: Team sync at 3PM today
- Question from Sarah: Need approval on budget by EOD
π‘ NORMAL (5):
- Newsletter: Weekly tech roundup
- Update: Project milestone reached
- ...
π’ SPAM/NOISE (12):
- Promotions, notifications, alerts
3. Draft Response Generation
Auto-drafts replies for normal-spam categories:
When to Use This Skill
β Inbox/messages are overwhelming β Need to sort through notifications and alerts β Want to save time on routine responses β Need daily summaries of important items β Looking to filter spam automatically
β Not for high-stakes communication (legal, medical, financial advice) β Not for creative work (writing, editing, brainstorming) β Not for real-time conversations requiring immediate human response
How It Works
Input Processing
1. Collect: Gather all messages from configured sources 2. Analyze: Parse content, sender, timestamps, and context 3. Categorize: Apply priority rules and classification logic 4. Summarize: Generate digest or alert summaries 5. Draft: Create response options for review
Configuration
# Optional: ~/.inbox-triage/config.yaml
sources:
- type: signal
enabled: true
- type: telegram
enabled: true
- type: discord
enabled: falserules:
urgent_keywords:
- "urgent"
- "ASAP"
- "deadline"
- "important"
spam_keywords:
- "unsubscribe"
- "promotion"
- "offer"
auto_draft_for:
- "normal"
- "spam"
Output Formats
JSON (machine-readable)
{
"timestamp": "2026-04-15T12:00:00Z",
"digest": {
"urgent": [...],
"normal": [...],
"spam": [...]
},
"drafed_responses": [...]
}
Markdown (human-readable)
# Daily Triage Reportπ΄ URGENT
[ ] Item 1
[ ] Item 2 π‘ NORMAL
Item 1
Item 2 π’ SPAM
12 items filtered
Limitations
Iteration
Track which categorizations were correct/incorrect:
# Log correction
echo "CORRECT: urgent - meeting reminder" >> ~/.inbox-triage/corrections.log
echo "INCORRECT: spam - actually important" >> ~/.inbox-triage/corrections.log
The system learns from corrections over time.
Integration Examples
With Cron Manager
# Run triage every morning at 8AM
0 8 * * * clawhub run inbox-triage --output daily-digest.md
With Weather Alert
# Send digest only when weather is clear
if [ "$(weather is-clear)" = "true" ]; then
clawhub run inbox-triage --send-summary
fi
With File Organizer
# Attach digest as daily log
clawhub run inbox-triage --format json | tee ~/logs/daily-triage-$(date +%Y-%m-%d).json
π‘ Examples
# Install the skill
npx clawhub install inbox-triageTrigger
"Help me triage my inbox"
βοΈ Configuration
# Optional: ~/.inbox-triage/config.yaml
sources:
- type: signal
enabled: true
- type: telegram
enabled: true
- type: discord
enabled: falserules:
urgent_keywords:
- "urgent"
- "ASAP"
- "deadline"
- "important"
spam_keywords:
- "unsubscribe"
- "promotion"
- "offer"
auto_draft_for:
- "normal"
- "spam"