migrate-claude-memory
Inventory and clean up Claude Code auto-memory stores under ~/.claude/projects/*/memory/ on this machine: decoded paths, counts, sizes, freshness, orphaned stores for review, never deleting ambiguous ones. Trigger on "clean up claude memory", "orphaned memory", "inventory memory stores". Local-only; needs this machine's ~/.claude.
- Compatibility
- Inventory requires native POSIX paths with Bash and GNU tools (including find, stat, and du), such as Linux or WSL; native Windows Git Bash/MSYS, Cygwin, and win32 Bash are unsupported. Requires read/write access to ~/.claude/projects on the local machine; local execution only — memory stores are machine-local and this skill cannot run in a hosted/cloud session without that directory present.
Pinned to revision 1434f6275008, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/migrate-claude-memory/SKILL.md
- skills/migrate-claude-memory/PURPOSE.md
- skills/migrate-claude-memory/scripts/memory-inventory.sh
- skills/migrate-claude-memory/tests/test_memory_inventory.py
Every link opens the file at its source, pinned to the revision this page describes.