claude-project-migrate
Claude Project Migration
Claude Code stores per-project data in ~/.claude/projects/<encoded-path>/.
Moving a project directory breaks this link. This skill automates the migration.
Path Encoding Rules
- Take the absolute path (e.g.,
/Users/kc/projects/my-app) - Replace every non-alphanumeric character with
-(regex:/[^a-zA-Z0-9]/g) - Result:
-Users-kc-projects-my-app - If result exceeds 200 characters: truncate to 200 chars +
-<djb2-hash-base36>
Migration Script
scripts/migrate.py — pure Python 3, no external dependencies.
# Preview (always do this first)
python3 scripts/migrate.py /old/path /new/path --dry-run
More from kcchien/skills
excalidraw
Create professional diagrams and visualizations using Excalidraw JSON format. Specialized for IT architecture diagrams, flowcharts, network topology, system design, microservices, ER diagrams, and state machines. Includes curated color palettes and visual styles. Use when working with .excalidraw files, or when user mentions diagrams, flowcharts, architecture visualization, or drawing. Delegates to subagents to prevent context exhaustion from verbose JSON.
5industrial-expert
>
4vscode-extension-uiux
|
2crisp-reading
>
2agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
2adapt
Adapt designs to work across different screen sizes, devices, contexts, or platforms. Ensures consistent experience across varied environments.
1