skills/repo-rename/SKILL.md
Preview or rename a GitHub upstream repo and matching local project folder, update origin, and preserve Codex CLI and Claude Code continuity references.
npx skillsauth add paulrberg/agent-skills repo-renameInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Preview the complete GitHub, Git, filesystem, and agent-continuity mutation set before applying a repository rename.
origin URL.~/.claude/projects, ~/claude/projects when present, ~/.codex/sessions, and
~/.codex/config.toml only when the repository has an active Claude Code or Codex transcript; this continuity update
does not apply to repos with no active transcripts.Check whether the repository has any active AI chat transcript before treating continuity preservation as in scope:
${CLAUDE_CONFIG_DIR:-~/.claude}/projects/<absolute-repo-path-with-/-replaced-by--> and check
it exists and is non-empty.${CODEX_HOME:-~/.codex}/sessions and check whether any session file references the exact absolute
repo path.Resolve the skill directory and run the helper from the repository to produce a read-only preview:
uv run <skill-dir>/scripts/repo-rename.py <new-name> --dry-run
The helper requires a clean worktree, matching GitHub repo/folder names, a free target path, and valid GitHub context. It prints the old/new repo and paths, exact confirmation token, external commands, directory moves, every replacement file, occurrence counts, and rollback coverage.
If --dry-run was requested, return the preview and stop. A successful dry run must not change the GitHub repo,
remote, folder, config, transcripts, or repository files.
Otherwise present the complete preview and require explicit confirmation in a subsequent user message. Explain that the confirmation authorizes the GitHub rename, local folder move, origin update, and every listed continuity/repository replacement. If any preview fact changes, regenerate it and ask again.
After confirmation, pass the preview's exact token:
uv run <skill-dir>/scripts/repo-rename.py <new-name> --apply --confirm '<owner/old->owner/new>'
The helper re-runs preflight, backs up every replacement file, applies deterministic literal replacements, and attempts rollback on failure. Never bypass its clean-tree, target-path, or confirmation checks.
Verify the helper's result with gh repo view, git remote get-url origin, pwd -P, and a search for remaining old
absolute-path/name references in the listed scope. Report intentional remaining matches separately.
Dry-run completion is a full mutation preview with zero writes. Apply completion requires the new GitHub identity, folder, remote, and listed continuity references to agree, plus a clean verification report. If rollback is incomplete, stop and report every failed rollback action before doing anything else.
development
Use when creating or substantially redesigning web interfaces, landing pages, dashboards, components, or other frontend UI where visual direction and implementation quality matter. Produces subject-specific art direction, accessible responsive code, and rendered visual verification.
development
Orchestrate one to five Sonnet subagents to implement an approved Claude Code plan.
tools
Open the CoinGecko historical-data page for a coin/date in Chromium via Chrome DevTools MCP.
tools
Orchestrate one to five Codex CLI agents to implement an approved Claude Code plan.