# Repo Rename

> A Claude skill from PaulRBerg/dot-agents.

- **Type:** Skill
- **Install:** `agentstack add skill-paulrberg-dot-agents-repo-rename`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [PaulRBerg](https://agentstack.voostack.com/s/paulrberg)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [PaulRBerg](https://github.com/PaulRBerg)
- **Source:** https://github.com/PaulRBerg/dot-agents/tree/main/skills/repo-rename

## Install

```sh
agentstack add skill-paulrberg-dot-agents-repo-rename
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Repo Rename

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.
- Update literal old paths in `~/.claude/projects`, `~/claude/projects` when present, `~/.codex/sessions`, and
  `~/.codex/config.toml`.
- Update constrained literal old-name references inside the repository, excluding VCS, dependencies, and generated build
  directories.
- Do not modify other transcript stores, archives, remotes, or repositories.

## Workflow

1. Resolve the skill directory and run the helper from the repository to produce a read-only preview:

   ```sh
   uv run /scripts/repo-rename.py  --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.

2. 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.

3. 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.

4. After confirmation, pass the preview's exact token:

   ```sh
   uv run /scripts/repo-rename.py  --apply --confirm '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.

5. 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.

## Completion

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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [PaulRBerg](https://github.com/PaulRBerg)
- **Source:** [PaulRBerg/dot-agents](https://github.com/PaulRBerg/dot-agents)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-paulrberg-dot-agents-repo-rename
- Seller: https://agentstack.voostack.com/s/paulrberg
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
