What problem does it solve? Claude Code's auto-memory system grows noisy over time: MEMORY.md is preloaded into every session's system prompt, so bloat costs tokens on every run, while noisy individual memory files dilute the signal used to decide what to load. This Skill audits and consolidates the entire memory store in one pass and reports the token savings. ## Core Features & Use Cases - MEMORY.md Consolidation: Shrinks the preloaded index using detection and apply rules defined in reference documents. - Memory Body Trimming: Trims individual user, feedback, project, and reference memory files that load on demand. - Snapshot-Based Safety: Takes a full snapshot before any write, supports atomic tempfile-plus-rename writes, and offers a single end-of-run keep/undo decision with automatic rollback on failure. - Use Case: Your sessions feel heavy and memory files look noisy. Run /memory-doctor to consolidate everything, review the token savings summary, and confirm or undo with one reply. ## Quick Start Ask Claude to run /memory-doctor to audit and consolidate your auto-memory storage, then reply confirm or undo after reviewing the summary.