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.
claude-account-sync
Mirror a workspace AND all Claude Code conversation history (--resume sessions), path references, and resume ordering from one user account to another on the same SSH host, so `claude --resume` on the destination picks up exactly where the source left off. Use this whenever you switch between two accounts on a shared host — because one ran out of quota/credits, or when the user says "sync my account", "switch accounts", "move my conversation history over", or "my resume history is missing after switching". Direction is a parameter (--from / --to), so reach for it in EITHER direction; it also restores a workspace onto a fresh account.