memory-prune
Installation
SKILL.md
Memory Prune
Protocol
Step 0 — Resolve and read the memory set
Resolve ~/.claude/projects/<slug>/memory/, where <slug> replaces every non-alphanumeric character in the absolute current directory with -, with ls ~/.claude/projects/ | grep -Fx -- "$(pwd | sed 's|[^a-zA-Z0-9]|-|g')". If it returns zero or multiple matches, show the candidates and ask the user to choose. Read every *.md except the MEMORY.md index, including frontmatter and metadata.type; stop if none exist.
Step 1 — Load the lenses
Invoke the Skill tool to load vet-fact, place-fact, tighten-instruction, and structure-prose; this workflow owns memory dispositions.
Step 2 — Classify and score each fact
Judge coherent facts or blocks; one file can span lanes. Treat metadata.type only as a signal: user or feedback leans memory-native; project or reference leans toward guidance, state, or evidence.