Repo rename
Skills for any AI agent harness, by Mad House
npx -y skills add samhcus/skills --skill repo-renameAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Rename a local repo folder and update all AGENTS.md and memory references to the old name
SKILL.md
1.1 KB, as published. Nobody here has run it
Repo Rename
Renames a local repo directory and surgically updates every reference to the old name across all AGENTS.md files and memory.
Input
OLD_NAME- current folder name (e.g.urchin-rust)NEW_NAME- target folder name (e.g.urchin)
Step 1 - Find the repo
~/.claude/commands/repo-rename/scripts/rename.sh OLD_NAME NEW_NAME
The script:
- Locates the repo under
~/dev(maxdepth 3) - Validates it is a git repo
- Renames the folder
- Updates git remote URL if it contains the old name
- Replaces all occurrences in
~/AGENTS.md,~/dev/*/AGENTS.md, and all~/.claude/projects/*/memory/*.mdfiles - Outputs a JSON summary of every file changed and replacement count
Step 2 - Report
Parse the JSON and report:
- New path
- Remote URL change (old → new), if any
- Files updated and replacement counts
- Any files that were skipped or could not be read
If the script exits non-zero, stop and report the error. Do not proceed.