name: process-inbox description: Process all pending items in /Needs_Action folder according to Company_Handbook.md rules. Use when user wants to process the inbox or after new items are detected. allowed-tools: Read, Write, Edit, Bash, Glob, Grep
Instructions
Process all files in the /Needs_Action folder according to Company_Handbook.md rules.
Steps
-
Read Company_Handbook.md:
- Load rules from
[VAULT_PATH]/Company_Handbook.md - Extract rules from
### Rule N:sections - Note priority keywords and special handling requirements
- Load rules from
-
List pending items:
- List all
.mdfiles in/Needs_Action/folder (including/Needs_Action/Email/) - Sort by creation time (oldest first - FIFO order)
- Report count of pending items
- List all
-
For each item: a. Read the item:
- Parse YAML frontmatter for metadata
- Read content section
b. Apply handbook rules:
- Check for priority keywords in filename/content
- Apply any special handling rules
- Determine action to take
c. Process the item:
- Update status to "processing"
- Perform required actions based on item type
- Update status to "done"
- Add
processed_attimestamp
d. Move to Done:
- Move file from
/Needs_Action/to/Done/ - Preserve all metadata
e. Log the action:
- Append entry to
/Logs/claude_YYYY-MM-DD.log - Include: timestamp, action_type, item_id, outcome, duration_ms
-
Handle errors:
- If processing fails, move item to
/Quarantine/ - Add error field to frontmatter
- Log the error
- If processing fails, move item to
-
Update Dashboard:
- After processing all items, update Dashboard.md
- Use
/update-dashboardskill or update directly
-
Report results:
## Processing Complete - **Items Processed**: [COUNT] - **Successful**: [COUNT] - **Failed**: [COUNT] - **Time Taken**: [DURATION] ### Processed Items | Item | Action | Result | |------|--------|--------| | [ITEM] | [ACTION] | [SUCCESS/FAILURE] |
Arguments
$ARGUMENTS - Optional filter for specific files to process (e.g., "FILE_.md" or "EMAIL_.md")
Example Log Entry
{"timestamp": "2026-02-03T10:30:00Z", "action_type": "process", "item_id": "FILE_report.pdf.md", "outcome": "success", "duration_ms": 1234, "details": "Processed and moved to Done"}
Error Handling
- If Company_Handbook.md is missing, use default rules
- If item has invalid frontmatter, quarantine it
- If move fails, log error but continue with other items
- Always update Dashboard even if some items failed
Priorisation de Tâches
Productivite
Priorise vos tâches avec les frameworks Eisenhower, ICE et RICE.
Generateur de Rapport Hebdomadaire
Productivite
Generez des rapports de statut hebdomadaires structures et concis.
Rapport de Daily Standup
Productivite
Génère des rapports de daily standup structurés et concis.