From second-brain
Analyzes enriched notes against routing memory, vault rules, and CLI signals to route to optimal vault destinations or mark for review. Stage 3 of note processing pipeline.
How this skill is triggered — by the user, by Claude, or both
Slash command
/second-brain:routeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze an enriched note against routing memory, vault rules, and generic signals. Move to destination or mark for review.
Analyze an enriched note against routing memory, vault rules, and generic signals. Move to destination or mark for review.
See references/pipeline.md for stage definitions and status flow.
See references/routing.md for the scoring algorithm.
See references/routing-memory.md for the correction and learning loop.
An enriched note in the inbox with status: enriched.
Load routing context:
.routing-memory.md from vault root (create with defaults if missing)sb vault structure for available destinationssb note context --note "{note-path}" for keywords and signalsScore destinations (priority order):
a. Check .routing-memory.md corrections for matching topics/keywords
b. Check .routing-memory.md learned patterns
c. Apply vault CLAUDE.md disambiguation rules
d. Apply generic signal scoring (per references/routing.md)
Apply threshold:
auto-route-threshold: auto-route, move file, set status: routedstatus: pending-review, return without movingIf auto-routing, move the file:
npx @techpickles/sb note move --from "{note-path}" --to "{destination}/"
Update frontmatter: status: routed
If pending-review, present suggestions to human (when called by orchestrator):
.routing-memory.mdWhen the user picks a destination different from the top suggestion:
## Corrections in .routing-memory.md:
- {YYYY-MM-DD}: "{note title}" routed to "{suggested}", corrected to "{chosen}"
Reason: {user's reason}
status: routed, ORstatus: pending-review for human inputsb vault structure outputnpx claudepluginhub technicalpickles/pickled-claude-plugins --plugin second-brainReviews routing corrections in .routing-memory.md, analyzes patterns from multiple instances, and proposes updates to vault CLAUDE.md routing rules for user approval.
Processes all notes in an inbox folder: scans, classifies by content, routes to correct vault locations, updates Maps of Content (MOCs), extracts action items, and generates a daily digest.
Ingests and structures knowledge into an Obsidian vault: captures quick notes, links, and inbox items, or builds full teaching-quality notes from PDFs, slides, papers, and transcripts. Adapts to the vault's conventions and improves its own rules over time.