| name | consolidate-memory |
| description | Consolidate agent project memories and notepad learnings into a unified summary |
Consolidate Memory
Consolidate session knowledge into persistent memory.
Steps
notepad_read(plan_name): all sections for active plan
- Read agent memory files at both scopes if accessible:
- user scope:
~/.claude/agent-memory/*/MEMORY.md
- project scope:
.claude/agent-memory/*/MEMORY.md (platform writes project memories here — resolves from project root)
- Identify learnings, patterns, decisions worth preserving
- Update project MEMORY.md — concise, deduplicated
- Note what was kept vs too session-specific
Guidelines
- Only persist patterns confirmed across multiple interactions
- Remove session-specific context (in-progress tasks, temporary state)
- Organize by topic, not chronologically
- MEMORY.md loads first 200 lines or 25KB per session. Consolidate when approaching limits.