# 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-3` (Agent Skill)
- Install (CLI): `npx skillmds@latest add kanevry/memory-cleanup-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kanevry/memory-cleanup-3/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-22
- Page: https://skillmd.com/skills/kanevry/memory-cleanup-3

---


# memory-cleanup

> **Portable mirror — generated, do not edit.** The canonical skill body lives at
> [`skills/memory-cleanup/SKILL.md`](../../../skills/memory-cleanup/SKILL.md); read that file for the full instructions.
> This mirror carries only agentskills.io-spec-legal frontmatter so harnesses that
> discover skills under `.agents/skills/` can find and route to the skill.
>
> Regenerate with `node scripts/generate-agents-skills.mjs`.

