Renames a GitHub repository or moves a local repo to another directory while preserving Claude Code and Codex CLI continuity references.
Ships in paulrberg-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
If a slash or dollar invocation already added these instructions to the conversation, follow them directly. In that case, do not invoke this skill again through a skill tool.
Review the helper's complete GitHub, Git, filesystem, and agent-continuity mutation set before applying a repository rename. Keep user-facing previews and completion reports to affected surfaces and aggregate file and occurrence counts. Do not list replacement paths or per-file counts unless the user explicitly requests them.
origin URL.origin. Both paths must have the same folder name. Preview missing parent directories before creating them.origin update. A repository with any remote still requires
a valid GitHub context.~/.claude/projects, ~/claude/projects when present, ~/.codex/sessions, and ~/.codex/config.toml. This
continuity update does not apply to repos with no active transcripts.PROMPT.md, TODO.md, and symlinks before reading replacement
candidates. Prune excluded directories during discovery. When the user explicitly authorizes updating notes,
dependencies, caches, or generated files, pass --include-local-state to both preview and apply. This includes those
repository text files while preserving file permissions. Symlinks, binary files, and .git remain excluded.CLAUDE_CONFIG_DIR and CODEX_HOME, gates continuity updates on active transcripts, and replaces
only the absolute repository path in continuity stores and Codex config.Resolve the source repository from the first of two path arguments, or from the current directory for a rename. Check whether it has any active AI chat transcript before treating continuity preservation as in scope:
${CLAUDE_CONFIG_DIR:-~/.claude}/projects/<encoded-repo-path> (the absolute repo path with
every non-alphanumeric character 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
For a same-name move, run from any directory:
uv run <skill-dir>/scripts/repo-rename.py <source-path> <destination-path> --dry-run
The helper requires a clean worktree, matching GitHub repo/folder names, a free target path, and valid GitHub
context. For a repository with no remotes, it requires only a clean worktree and a free target path. It reports
"local_only": true and a local:<old>-><new> confirmation token. It prints the old/new repo and paths, exact
confirmation token, external commands, directory moves, every replacement file, occurrence counts, and rollback
coverage. Same-name moves use move:<absolute-source>-><absolute-destination> tokens. Linked worktrees and external
Git directories are unsupported.
If --dry-run was requested, summarize the preview as described below and stop. A successful dry run must not change
the GitHub repo, remote, folder, config, transcripts, or repository files.
Present a compact preview, then continue in the same turn unless --dry-run was requested. Treat the rename request
as authorization for the planned mutations. Do not require a separate confirmation message. For a local-only preview,
state that no GitHub or origin change occurs. Lead with ### 🔎 Rename preview — no changes made. Summarize
GitHub, source and destination folders, origin, aggregate replacement counts, and rollback coverage. Use short prose
or a compact table. If any preview fact changes, regenerate the preview and continue within the requested scope.
For same-name moves, show the unchanged GitHub identity and origin, and state whether parent directories need
creation.
Pass the preview's exact token to the helper internally:
uv run <skill-dir>/scripts/repo-rename.py <new-name> --apply --confirm '<owner/old->owner/new>'
For a same-name move, pass both paths and the preview's move: token instead.
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 token 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.
If a moved Python environment retains old paths, reinstall its locked packages with the project's existing package manager. Then rerun the repository's test command.
Dry-run completion is a summarized mutation preview with zero writes. Apply completion requires the new GitHub identity,
folder, remote, and affected continuity references to agree, plus a clean verification report. If rollback is
incomplete, stop and lead with ### ⛔ Rollback incomplete, then report every failed rollback action before doing
anything else. On success, use ### ✅ Repository renamed and a surface/expected/verified table. Keep helper JSON,
confirmation tokens, commands, paths, URLs, and rollback errors exact and undecorated.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
45 skills in this plugin
/agents-brainMaintain README.md, AGENTS.md/CLAUDE.md, skills, and repo context. Create, scaffold, or initialize AGENTS.md files and project-local agent skills. Use task evidence to delete obsolete skills, merge overlapping skills, and capture recurring workflows./agents-docsUse for current official documentation about Codex, Codex CLI, or Claude Code behavior, configuration, prompting, skills, permissions, tools, surfaces, capabilities, troubleshooting, hooks, app-server, or hook trust. Consult the relevant official source before answering./agents-introspectionUse local Codex/Claude Code transcripts to assess recurrence risk for agent behavior. Recommend durable fixes to AGENTS.md or skills from that evidence. Not for routine post-success skill-evolution or agent self-improvement reviews./ai-prunePrune agent scratch directories on macOS. Move clearly outdated `.ai/` files into `.ai/archive/YYYY-MM-DD/` and trash clearly outdated `.cache/` entries. Leave `.ai/todos` untouched./apple-device-integrationUse for device or simulator UI verification through Apple's Xcode MCP after UI changes or an explicit device check. Inspect screenshots and UI hierarchies, exercise controls, and report functional or visual defects./brainstorm-with-meBrainstorm with the user to generate, combine, and refine non-obvious ideas into a promising concept. Use when the user wants to brainstorm, ideate, explore possibilities, escape obvious approaches, or find a creative solution./paulrberg-agent-skills:repo-rename <new-name> | <source-path> <destination-path> [--dry-run]from paulrberg-agent-skills
paulrberg-agent-skills@cascade-code-general-misc-1 is listed by joshuarweaver/cascade-code-general-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin paulrberg-agent-skillsOther plugins' skills for the same job