Feature: automatic memory review and pruning of redundant entries
Status Closed — not planned
Maintainer reply None cached
Activity 2 comments · opened Mar 21, 2026 · closed Apr 19, 2026
Problem
Claude Code's memory system accumulates entries over time, but there is no mechanism to automatically detect and suggest pruning memories that have become redundant — for example, because their content is now covered by:
- Updated skills (
.claude/skills/) CLAUDE.mdfiles- Other memories that subsume them
Currently, cleanup is entirely manual: the user must remember to ask Claude to review its memories and cross-reference them against other context sources. This doesn't scale well as the number of memories, skills, and project instructions grows.
Proposed solution
Add a periodic or on-demand memory review mechanism that:
- Cross-references memory entries against skills,
CLAUDE.md, and other memories - Identifies redundant or stale entries
- Suggests pruning them to the user (rather than deleting silently)
This could be triggered automatically (e.g. at conversation start when the memory index is loaded) or via a slash command like /memory-review.
Why this matters
- Redundant memories waste context window tokens
- Contradictions between memories and updated skills/instructions can cause confusion
- Users shouldn't need to manually audit Claude's memory system
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗