lov-cc-mv
FeaturedMove a project folder AND migrate all its Claude Code state in one shot — session store, prompt-up-arrow history, running-session records. Supports both directory-level moves AND session-level cherry-picking (by id, regex on first user prompt, or interactive picker). Use whenever the user wants to rename/move a project directory and keep `claude --resume` working, or wants to move a subset of chats from one project to another. 移动/重命名项目目录并迁移所有 CC 历史,或按 session 粒度把某个话题的对话搬到另一个项目。
Install
Quality Score: 89/100
Skill Content
Details
- Author
- lovstudio
- Repository
- lovstudio/skills
- Created
- 5 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
claude-code-repo-migration
Move or rename a git repo on disk without losing its Claude Code history — remap the session dir (~/.claude/projects/<slug>/) and the ~/.claude.json projects key so every past session still resumes from the new path with trust, allowedTools and MCP servers intact, and repair the git worktrees the move breaks. Use when moving a repo to a different parent folder, renaming the org/parent directory, reorganising ~/projects, or after a move when: `claude --resume` shows no sessions / the session picker is empty at the new path, the trust dialog or project onboarding reappears, allowedTools or MCP servers were 'forgotten', auto-memory looks empty, or `git worktree list` / a worktree's git commands break. Covers the slug rule people get wrong (EVERY non-alphanumeric char becomes '-', not just '/'), which extra slug dirs a repo owns, backup-then-mutate ordering, and the fact that ~/.claude.json is live-rewritten by every running session.
move-to-project
Move this conversation into another project directory, rewriting its cwd so it resumes there.
move-project
Move or rename the current project folder without losing the Claude Code data keyed to its old path — session logs, memory and subagent history — by working out the new data directory name and printing the two moves for the user to run from outside the session. TRIGGER when: the user wants to move, rename or relocate the folder of the project they are working in, or asks what happens to their session history and memory if they do. DO NOT TRIGGER when: renaming the GitHub repository without moving the local folder, moving files around inside the project, or creating a new project (that is `github-create`).