| name | notion-inbox-cleanup |
| description | Interactive inbox cleanup with PARA categorization and AI-optimized formatting |
| argument-hint | [--dry-run] [--page page-id] |
| allowed-tools | Read, Write, Bash, AskUserQuestion, ToolSearch, mcp__notion__notion-search, mcp__notion__notion-fetch, mcp__notion__notion-update-page, mcp__notion__notion-move-pages |
| user-invocable | true |
Notion Inbox Cleanup
Interactive review and categorization of inbox pages into PARA structure with AI-optimized formatting.
Workspace: Connected via Notion MCP
Arguments
Parse from $ARGUMENTS:
- --dry-run: Optional — Show suggestions without moving pages
- --page: Optional — Process single page ID instead of full inbox
Workflow
Phase 1: Setup
- Load Notion MCP tools using ToolSearch
- Search workspace for pages in inbox (search for pages tagged with inbox or in inbox parent)
- Report count: "Found X pages to process"
Phase 2: Interactive Review
For each page in inbox:
2a. Read & Analyze
- Fetch page content using
notion-fetch
- Identify content type and key topics
- Check for special patterns (see Routing Rules)
2b. Present Suggestion
Show to user:
## 📝 [page-title]
**Content preview:** [first 200 chars or summary]
**Detected type:** [recipe/work/ai-research/travel/general]
**Suggested destination:** [PARA category]
**Suggested tags:** [#tag1, #tag2]
**Confidence:** [high/medium/low]
Move to suggested location?
Use AskUserQuestion with options:
- Yes — Move as suggested
- Different location — Let me specify destination
- Skip — Leave in inbox for now
- Edit first — Review before moving
2c. Apply Decision
If approved:
- Update page properties (see Properties Template)
- Move page to destination using
notion-move-pages
- Log action
If "Different location":
- Ask for destination
- Suggest appropriate tags for that location
- Move with updated properties
Phase 3: Summary
After all pages processed:
## 📊 Inbox Cleanup Summary
**Processed:** X pages
**Moved:** Y pages
**Skipped:** Z pages
### Actions Taken
- [page-title] → [destination]
- ...
### Remaining in Inbox
- [page-title] (reason: skipped/unclear)
Routing Rules
Auto-Detection Patterns
| Pattern | Destination | Tags |
|---|
przepis-*, recipe keywords, ingredients list | 3_Resources/Cooking/ | #resource/cooking |
kuma-*, Kong, mesh, dataplane | 1_Projects/0_Work/ | #project/0_work |
| LLM, AI, Claude, GPT, embeddings, RAG | 3_Resources/AI/ | #resource/ai |
plant-*, gardening, watering | 3_Resources/Plants/ | #resource/plants |
| travel, country names, itinerary | 3_Resources/Travel/[Country]/ | #resource/travel |
| Spanish words, translations | Link to 2_Areas/Personal/Spanish_learning page | #area/languages |
ai-digest-* | 3_Resources/AI/Digests/ | #resource/ai |
PARA Decision Framework
- Has deadline/goal? →
1_Projects/
- Ongoing responsibility? →
2_Areas/
- Reference/learning? →
3_Resources/
- Completed/inactive? →
4_Archive/
Properties Template
Update all processed pages (AI-optimized):
Properties to add/update:
- Tags: PARA tag + topic tags (max 5)
- Type: note | moc | project | literature
- Summary: One-sentence TL;DR for AI context (rich text property)
- Date: Current date
- Source: URL if applicable
- Related: Links to related pages
Rules:
Tags: Use multi-select property with PARA tag + topic tags
Type: Use select property (usually note unless clearly MOC or project)
Summary: CRITICAL — write concise 1-sentence summary
Source: URL property if note references external content
Related: Relation property linking to related pages
Special Processing
Recipe Pages
- Ensure proper formatting with ingredients and instructions
- Add cooking tags (#vegetarian, #quick, etc.)
- Move to
3_Resources/Cooking/
Single-Link Pages
- Follow the link using WebFetch if needed
- If article → create concise summary
- If not article → create short description
- Add source in properties
Travel Pages
Route to 3_Resources/Travel/[Country]/:
- Create or link to country-specific pages
- Categorize by type (attractions, food, accommodation, etc.)
Error Handling
- Page not found: Skip, report in summary
- Permission error: Report, continue with next
- Unclear categorization: Ask user with AskUserQuestion
- Duplicate exists: Ask: merge, keep both, or skip
Quality Checklist
Before completing each page:
AI-Friendly Formatting
When processing pages, apply these optimizations:
- Section summaries — Add brief summary after major headings
- Bullet points — Use bullets for better readability
- Liberal linking — Add page links to concepts that exist as pages
- Flat structure — Avoid deep nesting (max 3 levels)
- Explicit connections — Link to related pages