Consolidate Memory

Reflective pass over memory files: merge duplicates, fix stale facts, prune the index.

memory cleanup context maintenance

When to use

Use when memory files have accumulated over time and need cleanup. Performs a reflective pass over CLAUDE.md and the memory/ directory to merge duplicate entries, correct outdated information, remove stale context, and rebuild the memory index.

Examples

Consolidate memory files

Clean up accumulated memory across files

Consolidate my memory. I have 6 memory files that have grown stale. Merge duplicates and remove outdated context.

Fix stale facts

Update memory entries that are no longer accurate

Review my memory files and fix any stale facts. Our team has changed and some project contexts are outdated.

Rebuild memory index

Regenerate the memory index after major changes

Rebuild my memory index. I've been doing major updates and the index is out of sync with the actual memory files.