# Memory Cleanup

> Use this skill when performing manual memory consolidation (Dream-equivalent). Reviews, consolidates, and prunes memory files under ~/.claude/projects/*/memory/. Run after major refactors, every 5+ sessions, or when memory quality degrades (broken links, stale references, contradictions, MEMORY.md > 200 lines). Invoke with /memory-cleanup.

- Skill: `kanevry/memory-cleanup-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add kanevry/memory-cleanup-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kanevry/memory-cleanup-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Kanevry (https://skillmd.com/u/kanevry)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/kanevry/memory-cleanup-2

---


# memory-cleanup

Canonical skill: `skills/memory-cleanup/SKILL.md`

Read that file and follow it exactly. Resolve relative links against `skills/memory-cleanup/`, not this wrapper.

Cursor has no Skill tool. Treat "invoke the memory-cleanup skill" as: Read `skills/memory-cleanup/SKILL.md`.

