lovstudio:cc-mv
Installation
SKILL.md
lovstudio:cc-mv
One command, four things:
mv FROM TOon disk (fs.renameSync — instant, preserves everything)- Rewrites
~/.claude/projects/<slug>/*.jsonlsession store — including every sub-directory slug - Rewrites
~/.claude/history.jsonl(prompt up-arrow recall) - Rewrites
~/.claude/sessions/*.json(running-session records)
After this, cd TO && claude --resume sees all prior sessions. The old slug dirs are left intact as a safety net.
When to Trigger
YES — invoke this skill when:
- User wants to move/rename a project folder (prospective move — we do the mv)
- User already moved the folder externally and CC lost history (post-move recovery — use
--no-mvor thecc-migrate-sessionalias bin) - User mentions sub-projects under a folder also having history — this is handled automatically
Related skills