Skip to content
Back to skills

Route

ASecurity

Analyze an enriched note and route to the best vault destination. Stage 3 of the processing pipeline.

  • 10 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
data-aigobash

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add technicalpickles/pickled-claude-plugins --skill route --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Route?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Route
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/technicalpickles-route/badge)](https://www.skillsdirectory.com/skills/technicalpickles-route)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: route
description: Analyze an enriched note and route to the best vault destination. Stage 3 of the processing pipeline.
allowed-tools:
  - Read(~/.claude/vaults/**/CLAUDE.md)
  - Read(~/.claude/vaults/**/*.md)
  - Read(~/.claude/vaults/**/.routing-memory.md)
  - Write(~/.claude/vaults/**/.routing-memory.md)
  - Edit(~/.claude/vaults/**/.routing-memory.md)
  - Bash(npx @techpickles/sb:*)
---

# Route Stage

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.

## Input

An enriched note in the inbox with `status: enriched`.

## Process

1. Load routing context:
   - Read `.routing-memory.md` from vault root (create with defaults if missing)
   - Read vault CLAUDE.md for disambiguation rules
   - Run `sb vault structure` for available destinations
   - Run `sb note context --note "{note-path}"` for keywords and signals

2. Score 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`)

3. Apply threshold:
   - Score >= `auto-route-threshold`: auto-route, move file, set `status: routed`
   - Score < threshold: set `status: pending-review`, return without moving

4. If auto-routing, move the file:
   ```bash
   npx @techpickles/sb note move --from "{note-path}" --to "{destination}/"
   ```
   Update frontmatter: `status: routed`

5. If pending-review, present suggestions to human (when called by orchestrator):
   - Show top 2-3 destinations with scores and reasoning
   - Include "Leave in inbox" option
   - If user overrides suggestion, capture correction to `.routing-memory.md`

## Capturing Corrections

When the user picks a destination different from the top suggestion:

1. Ask: "Quick note on why {chosen} over {suggested}?"
2. Append to `## Corrections` in `.routing-memory.md`:
   ```
   - {YYYY-MM-DD}: "{note title}" routed to "{suggested}", corrected to "{chosen}"
     Reason: {user's reason}
   ```

## Output

- Note moved to destination with `status: routed`, OR
- Note marked `status: pending-review` for human input

## Constraints

- Only suggest destinations from `sb vault structure` output
- Always include "Leave in inbox" for pending-review notes
- Show reasoning for all suggestions
- Capture corrections on every override (this is how routing improves)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.