repo-rename

repo-rename is a skill for Claude Code, Codex from PaulRBerg/agent-skills. It costs 32 tokens per session (1,444 once invoked), scanned B, original, MIT.

A workflow for renaming a GitHub repository, its local project folder, and its Git connection.

In plain words
What is it for?
Use it to review and apply a repository rename, update the origin URL, and change selected old-name references without altering unrelated repositories or records.
Why use it?
Renaming can leave outdated paths in project files and coding-agent conversation records. This workflow previews those changes and preserves relevant Codex CLI and Claude Code continuity references.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

Good fit Use it to review and apply a repository rename, update the origin URL, and change selected old-name references without altering unrelated repositories or records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paulrberg/agent-skills/repo-rename
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PaulRBerg/agent-skills --skill repo-rename
Clone the repo
git clone --depth 1 https://github.com/PaulRBerg/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for repo-rename

README.md
[![agentmods](https://agentmods.dev/badge/skills/paulrberg/agent-skills/repo-rename/github.svg)](https://agentmods.dev/skills/paulrberg/agent-skills/repo-rename)
Your own site
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/repo-rename"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/repo-rename/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for repo-rename

Your own site · 80×15
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/repo-rename"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/repo-rename.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,444 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 21
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01444
Opus 5.5 $0.00013 $0.00578
Sonnet 5.5 $0.00006 $0.00289
Haiku 4.5 $0.00003 $0.00144

Measured 10d ago against content hash 9706a80bd96e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

repo-rename scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/repo-rename.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`~/.claude/projects`, `~/claude/projects` when present, `~/.codex/sessions`, and `~/.codex/config.toml`. This
skills/repo-rename/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Repo Rename

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.

Preview the complete GitHub, Git, filesystem, and agent-continuity mutation set before applying a repository rename.

Scope

  • Rename the current GitHub repository, matching local folder, and origin URL.
  • With two path arguments, move the source repository to the destination without changing its name, GitHub identity, or origin. Both paths must have the same folder name. Preview missing parent directories before creating them.
  • If the repository has no Git remotes, rename only local state: the folder, continuity references, and repository content. The helper then skips the GitHub rename and the origin update. A repository with any remote still requires a valid GitHub context.
  • Only when the repository has an active Claude Code or Codex transcript, update literal old paths in ~/.claude/projects, ~/claude/projects when present, ~/.codex/sessions, and ~/.codex/config.toml. This continuity update does not apply to repos with no active transcripts.
  • Update absolute repository paths, exact name fields, whole-line repository names or headings, and GitHub URLs for the repository. Preserve other old-name occurrences, including imports, prose, and command selectors. Exclude VCS, dependencies (including Python virtual environments), caches, and generated build directories.
  • For a same-name move, replace only the old absolute repository path inside repository files.
  • By default, use tracked repository files and skip 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.
  • The helper honors 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.
  • Do not modify other transcript stores, archives, remotes, or repositories.

Read the full file on GitHub · 105 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +3 lines 9706a80bd96e
  2. 20d ago Changed · +15 lines 1e00b5ea531d
  3. 1mo ago Changed · +5 lines 3ad35887c393
  4. 1mo ago Changed ffba98b9bac6
  5. 1mo ago Changed · +1 lines defa0b9da462
  6. 1mo ago Changed · +6 lines ac70ae24d42b
  7. 2mo ago First seen · 75 lines · 32 tokens per session scan B d3f6fb385139

Subscribe to this mod's changes

repo-rename is a skill published in the GitHub repository PaulRBerg/agent-skills (104 stars, last pushed 2d ago), licensed MIT. It adds 32 tokens to every session and 1,444 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

repo-rename compared with skills from other repositories

repo-rename next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-renamePaulRBerg/agent-skillsSkill1042d agoMITB32Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill85kyesterdayMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA51Claude Code
re0-mergeLilMGenius/paperthinSkill1.4ktodayMITA70Claude Code