From claude-rudder
Create a new repo that starts from the current repo's state but takes a new direction — copy the code, seed CLAUDE.md with the revised approach, and push. Use when the user says "fork this in a new direction", "new repo from here with a new approach", or "branch this into a new project".
npx claudepluginhub danielrosehill/claude-code-plugins --plugin claude-rudderThis skill uses the workspace's default tool permissions.
Spin the current repo off into a brand-new repository that inherits the current code state but is briefed for a different direction. The new repo's `CLAUDE.md` captures the revised approach so the next Claude session can pick up cleanly.
Sets up Git fork workflow using git-town and GitHub CLI: checks/installs tools, creates forks, configures remotes/upstream, with preflight checks and user confirmations.
Creates git worktree for tasks under .worktrees/, copies gitignored config files, and writes structured docs/CONTEXT.md with problem context for session handoff.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Spin the current repo off into a brand-new repository that inherits the current code state but is briefed for a different direction. The new repo's CLAUDE.md captures the revised approach so the next Claude session can pick up cleanly.
This is a session-transfer pattern: the handover is encoded in the new repo's CLAUDE.md rather than a HANDOVER.md.
root=$(git rev-parse --show-toplevel)
name=$(basename "$root")
parent=$(dirname "$root")
<name>-v2 or similar).CLAUDE.md..git), so history stays with the original:
mkdir "$parent/<new-name>"
rsync -a --exclude='.git' "$root/" "$parent/<new-name>/"
cd "$parent/<new-name>"
git init -b main
CLAUDE.md in the new repo. Structure:
<original-name> at commit <sha> on <date>.README.md with a brief note that this repo is a new-direction fork of <original>.git add -A
git commit -m "Initial commit: fork from <original-name>@<short-sha> with new direction"
gh repo create danielrosehill/<new-name> --private --source . --remote origin --push
(Use --public if the user asked for public.).git, so the new repo starts with a clean history and a single origin commit.