memory-review
What it does
This skill makes the agent audit the memory notes it keeps for a project. It is for people who want their AI to remember the right things and drop the old ones.
When to use it
- βWhen your agent's memory file has grown long and needs cleaning up.
- βWhen you want to find lessons that should be promoted into your project rules.
- βWhen you want to check memory entries for anything out of date.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/self-improving-agent/skills/memory-review/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βReview my memory notes and tell me which ones are outdated or should become permanent rules.β
5 new skills a week. 1 minute to read.
How it works
The agent reads the main memory file and its topic files. It checks each entry for repeats, stale references and promotion candidates, then gives you a list of suggested actions.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/si:memory-review β Analyze Auto-Memory
Performs a comprehensive audit of Claude Code's auto-memory and produces actionable recommendations.
Usage
/si:memory-review # Full review
/si:memory-review --quick # Summary only (counts + top 3 candidates)
/si:memory-review --stale # Focus on stale/outdated entries
/si:memory-review --candidates # Show only promotion candidates
What It Does
Step 1: Locate memory directory
# Find the project's auto-memory directory
MEMORY_DIR="$HOME/.claude/projects/$(pwd | sed 's|/|%2F|g; s|%2F|/|; s|^/||')/memory"
# Fallback: check common path patterns
# ~/.claude/projects/<user>/<project>/memory/
# ~/.claude/projects/<absolute-path>/memory/
# List all memory files
ls -la "$MEMORY_DIR"/
If memory directory doesn't exist, report that auto-memory may be disabled. Suggest checking with /memory.
Step 2: Read and analyze MEMORY.md
Read the full MEMORY.md file. Count lines and check against the 200-line startup limit.
Analyze each entry for:
Recurrence indicators
- Same concept appears multiple times (different wording)
- References to "again" or "still" or "keeps happening"
- Similar entries across topic files
Staleness indicators
- References files that no longer exist (
findto verify) - Mentions outdated tools, versions, or commands
- Contradicts current CLAUDE.md rules
- References files that no longer exist (
Consolidation opportunities
- Multiple entries about the same topic (e.g., three lines about testing)
- Entries that could merge into one concise rule
Promotion candidates β entries that meet ALL criteria:
- Appeared in 2+ sessions (check wording patterns)
- Not project-specific trivia (broadly useful)
- Actionable (can be written as a concrete rule)
- Not already in CLAUDE.md or
.claude/rules/
Step 3: Read topic files
If MEMORY.md references or the directory contains additional files (debugging.md, patterns.md, etc.):
- Read each one
- Cross-reference with MEMORY.md for duplicates
- Check for entries that belong in the main file (high value) vs. topic files (details)
Step 4: Cross-reference with CLAUDE.md
Read the project's CLAUDE.md (if it exists) and compare:
- Are there MEMORY.md entries that duplicate CLAUDE.md rules? (β remove from memory)
- Are there MEMORY.md entries that contradict CLAUDE.md? (β flag conflict)
- Are there MEMORY.md patterns not yet in CLAUDE.md that should be? (β promotion candidate)
Also check .claude/rules/ directory for existing scoped rules.
Step 5: Generate report
Output format:
π Auto-Memory Review
Memory Health:
MEMORY.md: {{lines}}/200 lines ({{percent}}%)
Topic files: {{count}} ({{names}})
CLAUDE.md: {{lines}} lines
Rules: {{count}} files in .claude/rules/
π― Promotion Candidates ({{count}}):
1. "{{pattern}}" β seen {{n}}x, applies broadly
β Suggest: {{target}} (CLAUDE.md / .claude/rules/{{name}}.md)
2. ...
ποΈ Stale Entries ({{count}}):
1. Line {{n}}: "{{entry}}" β {{reason}}
2. ...
π Consolidation ({{count}} groups):
1. Lines {{a}}, {{b}}, {{c}} all about {{topic}} β merge into 1 entry
2. ...
β οΈ Conflicts ({{count}}):
1. MEMORY.md line {{n}} contradicts CLAUDE.md: {{detail}}
π‘ Recommendations:
- {{actionable suggestion}}
- {{actionable suggestion}}
When to Use
- After completing a major feature or debugging session
- When
/si:memory-statusshows MEMORY.md is over 150 lines - Weekly during active development
- Before starting a new project phase
- After onboarding a new team member (review what Claude learned)
Tips
- Run
/si:memory-review --quickfrequently (low overhead) - Full review is most valuable when MEMORY.md is getting crowded
- Act on promotion candidates promptly β they're proven patterns
- Don't hesitate to delete stale entries β auto-memory will re-learn if needed
FAQ
Does it change my memory entries on its own?
It gives recommendations on what to promote, prune or merge, so you can decide what to act on.
How long can the memory file be?
The skill checks the memory file against a 200-line startup limit.
Can it run a quick version?
Yes. The quick option gives counts and the top three candidates only.
Details
Original description by the author
Analyze auto-memory for promotion candidates, stale entries, consolidation opportunities, and health metrics. Use when the user runs /si:memory-review or asks what has been learned and what should be promoted or pruned.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9483
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.