lovstudio:cc-migrate-session

Installation
SKILL.md

lovstudio:cc-migrate-session

Moves the session store ~/.claude/projects/<slug>/ from the old path-slug to the new one and rewrites every "cwd" field inside the jsonl files. After this, claude --resume from the new directory will see all prior sessions.

When to Trigger

YES — invoke this skill when:

  • User says the project folder moved / was renamed at the filesystem level
  • User mentions both FROM and TO paths, OR mentions one and the current cwd implies the other
  • User complains that claude --resume no longer shows history after moving a folder
  • User wants to "recover" sessions from a path they used to work in

NO — don't invoke when:

  • User is renaming a file, function, variable, or branch (not the project root)
  • User is asking a general question about CC's storage model (just explain, don't migrate)
  • Paths are ambiguous — ask first

Workflow

Related skills
Installs
9
GitHub Stars
52
First Seen
Apr 19, 2026