Distill rules
Skill technicalpickles/pickled-claude-plugins/plugins/second-brain/skills/distill-rules
Personal collection of Claude Code skills for development workflows
npx -y skills add technicalpickles/pickled-claude-plugins --skill distill-rulesAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Review routing corrections and propose updates to vault CLAUDE.md routing rules.
SKILL.md
2.1 KB, as published. Nobody here has run it
Distill Rules
Review accumulated routing corrections in .routing-memory.md and propose updates to the vault's CLAUDE.md routing rules.
See references/routing-memory.md for correction format and learning loop.
Process
-
Read
.routing-memory.mdfrom vault root -
Read vault CLAUDE.md
-
Analyze corrections for patterns:
- Group corrections by destination
- Identify repeated corrections (same type of note going to same destination)
- Look for corrections that contradict existing CLAUDE.md rules
-
Propose updates:
- New edge case mappings for disambiguation sections
- New category table entries
- New learned patterns for
.routing-memory.md - Corrections to existing rules that have been consistently overridden
-
Present proposals to user:
Found {n} patterns in {m} corrections: 1. Add edge case: "{scenario}" -> {destination} Based on: {n} corrections over {date range} 2. Add to category table: "{tool}" under {area} Based on: {n} corrections 3. Update rule: "{old rule}" -> "{new rule}" Based on: consistently overridden {n} times Apply these updates? (A) Apply all (B) Review individually (C) Skip for now -
Apply selected updates:
- Edit vault CLAUDE.md with new rules
- Move applied corrections to an
## Archivedsection in.routing-memory.md - Promote stable patterns to
## Patterns Learned
Constraints
- Never auto-apply. Always present proposals for approval.
- Preserve existing CLAUDE.md structure and formatting
- Archive corrections, don't delete them (audit trail)
- Only propose rules backed by multiple corrections (minimum 2)