memory-review
Skill4 starsChanged 5 months agoMITView on GitHub
Review, optimize, and maintain the persistent memory system. Reads all memory files, identifies stale/duplicate/outdated entries, asks the user targeted questions, and produces a clean, optimized memory state. Use when memory feels bloated, after major project changes, or periodically to keep context sharp.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- denormans/claude-code-workflowtheir own version, first seen Nov 8, 2026
- letsloose501/sqs-agent-memorytheir own version, first seen Nov 3, 2026
- lorena-bordonaba-pau/youtube-agenttheir own version, first seen Oct 13, 2026
- Gord1y/countersign-skillstheir own version, first seen Oct 11, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- dekimuhq/claude-memorytheir own version, first seen Jun 3, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- Hassaan146/claude-skills★ 18same name
- finger88/my-claude-skills★ 3same name
- Gord1y/countersign-skills★ 2same name
- letsloose501/sqs-agent-memory★ 2same name
- lorena-bordonaba-pau/youtube-agent★ 2same name
- denormans/claude-code-workflow★ 1same name
- dekimuhq/claude-memory★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- templates/CLAUDE.mdCLAUDE.md
- context-budgetSkill
- model-routingSkill
- posthog-weeklySkill
- ui-ux-pro-maxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 14 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Read every memory file listed in the index
- Distinctive: line 49
Ask the user targeted questions to resolve ambiguities:
- Distinctive: line 55
Keep questions grouped and numbered for easy answering.
- Distinctive: line 60
Update stale files with correct information
- Distinctive: line 62
Remove files the user confirms as unnecessary
- Distinctive: line 63
Add any new memory files the user requests
- Distinctive: line 78
NEVER delete a memory file without explicit user confirmation
- Distinctive: line 79
NEVER remove information that is still relevant — when in doubt, ask
- Distinctive: line 80
Prefer updating over removing — information decay is better handled by correction than deletion
- Distinctive: line 81
Keep MEMORY.md index lines under 120 chars
- Distinctive: line 83
After cleanup, verify all index links point to existing files
- Distinctive: line 98
After major team/project changes
- Distinctive: line 99
When memory files exceed 20 entries
- Distinctive: line 100
When you notice conflicting information in memory
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memory Review & Optimization
Interactive memory maintenance skill. When invoked, systematically reviews all memory files and works with the user to keep the memory system clean, relevant, and efficient.
Workflow
Phase 1: Audit
- Read
~/.claude/memory/MEMORY.md(index) - Read every memory file listed in the index
- Detect any orphan files (exist on disk but not in index)
- For each memory file, evaluate:
- Staleness: Does the content reference things that may have changed? (team members, tools, architectures)
- Redundancy: Is this duplicated or overlapping with another memory file?
- Relevance: Is this still useful for future conversations?
- Accuracy: Does this match current reality? (verify against code/git if needed)
- Size: Is this too verbose? Can it be trimmed without losing value?
Phase 2: Report
Present a structured report to the user:
## Memory Audit Report
### Summary
- Total files: X
- Index entries: X
- Orphan files: X (not in index)
- Potentially stale: X
- Candidates for merge: X
- Candidates for removal: X
### Per-File Analysis
For each file, show:
- Status: OK / STALE / MERGE_CANDIDATE / REMOVE_CANDIDATE
- Last modified: date
- Reason: why this status
- Suggested action: keep / update / merge with X / removePhase 3: Interactive Q&A
Ask the user targeted questions to resolve ambiguities:
- "Is X still accurate?"
- "Should I merge A and B since they overlap?"
- "This mentions Y which seems outdated — remove or update?"
- "Any new context I should add?"
Keep questions grouped and numbered for easy answering. Max 5-7 questions per round.
Phase 4: Execute
Based on user answers:
- Update stale files with correct information
- Merge redundant files
- Remove files the user confirms as unnecessary
- Add any new memory files the user requests
- Rebuild
MEMORY.mdindex with accurate one-line descriptions - Sync both memory locations:
~/.claude/memory/(shared, primary)~/.claude/projects/(legacy fallback, path varies by user)
Phase 5: Summary
Show final state:
- Files kept / updated / merged / removed
- Total memory size before vs after
- Next review suggestion (based on change velocity)
Rules
- NEVER delete a memory file without explicit user confirmation
- NEVER remove information that is still relevant — when in doubt, ask
- Prefer updating over removing — information decay is better handled by correction than deletion
- Keep MEMORY.md index lines under 120 chars
- Memory files should use the standard frontmatter format (name, description, type)
- After cleanup, verify all index links point to existing files
Memory Types Reference
| Type | Purpose | Decay Rate |
user | Identity, preferences, skills | Low — rarely changes |
feedback | How to work with user | Low — corrections persist |
project | Ongoing work, team, goals | High — changes frequently |
reference | Where to find external info | Medium — tools change |
When to Suggest Running This
Suggest /memory-review to the user when:
- More than 30 days since last review
- After major team/project changes
- When memory files exceed 20 entries
- When you notice conflicting information in memory
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

