project-directory-migration skillA
project-directory-migration is agent-read markdown (skill) from terrylica/cc-skills: Migrate Claude Code project sessions when renaming directories. TRIGGERS - directory rename, move project, migrate sessions.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Project Directory Migration
> Safely migrate Claude Code project context (sessions, memory, history) when renaming a project directory.
> **Self-Evolving Skill**: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
## When to Use This Skill
Use this skill when:
- Renaming a project directory (e.g., `my-old-name/` to `my-new-name/`)
- Moving a project to a different path
- User says "No conversations found" after a directory rename
- Reorganizing workspace directories
- Package rename requires matching directory name to GitHub repo name
- Recovering sessions that became orphaned after a directory move
## Interactive Workflow
### Phase 1: Gather Facts
Use AskUserQuestion to collect source and target paths.
```
Question 1 (header: "Source"): "What is the current project directory path?"
Options:
- "Use current directory: $PWD" (Recommended)
- "Specify a different path"
Question 2 (header: "Target"): "What should the new directory path be?"
Options:
- (User provides via "Other" free text)
```
### Phase 2: Dry-Run Audit
…Read the whole file at its exact version.
How to install
mdr add terrylica/cc-skills/project-directory-migration@git:20260506.c488415mdr add terrylica/cc-skills/project-directory-migration@sha256:6151485de591831bPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_eu3iunxv2etvgnvz)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260506.c488415 latest | 2026-05-06 | c488415 | 7,318 B | A | view · diff |
| git:20260401.b664eaf | 2026-04-01 | b664eaf | 7,382 B | A | view · diff |
| git:20260401.6be22af | 2026-04-01 | 6be22af | 7,160 B | A | view · diff |
| git:20260209.9755579 | 2026-02-09 | 9755579 | 6,607 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7318 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
terrylica/cc-skills · 74 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_eu3iunxv2etvgnvz GET https://markdownregistry.com/api/v1/resolve?ref=terrylica/cc-skills/project-directory-migration GET https://markdownregistry.com/api/v1/blob/6151485de591831b0486112e3bd27864135c0fff42548ce79454518ef51777d7
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.