memory-cleanup
Consolidate Memory
Periodic refinement of MEMORY.md files across projects. Prunes redundant entries, merges overlapping knowledge, generates higher-order abstractions from accumulated patterns, and removes stale or superseded entries.
Inspired by npcsh's knowledge graph sleep/dream cycles — memory consolidation applied to research project knowledge.
When to Use
- Monthly maintenance (pair with
/system-audit) - When a
MEMORY.mdexceeds 100 entries - After completing a major project milestone (e.g., paper submission)
- When starting a new session and
MEMORY.mdfeels cluttered - When the same correction keeps appearing across multiple projects
When NOT to Use
- During active work sessions — consolidation is a maintenance task
- When
MEMORY.mdhas fewer than 10 entries — not enough to consolidate - Immediately after recording
[LEARN]tags — let knowledge accumulate first
More from flonat/claude-research
update-focus
Use when you need to update current-focus.md with a structured session summary.
11project-safety
Use when you need to set up safety rules and folder structures for a research project.
11latex-autofix
Use when you need to compile LaTeX with autonomous error resolution and citation audit.
8literature
Use when you need academic literature discovery, synthesis, or bibliography management. Supports standalone searches and end-to-end project pipelines with vault sync and auto-commit.
8pre-submission-report
Use when you need all quality checks run before submission, producing a single dated report.
7process-reviews
Use when you need to process referee comments from a reviews PDF into tracking files.
7