review
Installation
SKILL.md
memplan/review
Weekly memory hygiene skill. Compacts append-only files, resolves stale entries,
merges overflow.mem, and regenerates all .plan.md files. Human-initiated only —
compaction breaks the monotonic-append guarantee, so it must never run automatically.
All bulk rewrites go through memplan-cli.js (compact, stale-compact), which
writes .backup files before every rewrite. This skill does NOT modify plan.mem
or any mutable-key files — it only compacts append-only logs.
Phase 1: Pre-flight checks
-
Check .memplan/ exists:
[ -d .memplan ] || { echo "No .memplan/ directory — run memplan/bootstrap first"; exit 1; }