fork-new-direction
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.
Skill by danielrosehill
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/danielrosehill-fork-new-direction
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/fork-new-direction
What's inside
- Skill name
fork-new-direction- Description
- 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".
- License
- MIT
- Instructions
- 49 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Fork Repo Into New Direction 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. ## Steps 1. Capture current repo info: ```bash root=$(git rev-parse --show-toplevel) name=$(basename "$root") parent=$(dirname "$root") ``` 2. Ask the user for: - New repo name (suggest `<name>-v2` or similar). - A short description of the new direction — what's changing, what's being abandoned, what should the next agent focus on. This becomes the heart of the new `CLAUDE.md`. - Public or private (default private). 3. Create the new directory and copy the working tree (no `.git`), so history stays with the original: ```bash mkdir "$parent/<new-name>" rsync -a --exclude='.git' "$root/" "$parent/<new-name>/" cd "$parent/<new-name>" git init -b main ``` 4. Rewrite `CLAUDE.md` in the new repo. Structure: - **Origin**: forked from `<original-name>` at commit `<sha>` on `<date>`. - **Original direction (abandoned)**: one-paragraph summary of what the old repo was doing. - **New direction**: the user's revised approach, verbatim where possible. - **Carried over**: what code/assets are reused from the original. - **Next steps**: concrete starting tasks for the next session. Preserve any existing project-specific CLAUDE.md content that is still relevant; replace the parts that no longer apply. Confirm with the user before overwriting. 5. Update `README.md` with a brief note that this repo is a new-direction fork of `<original>`. 6. Initial commit, create GitHub repo, push: ```bash 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.) 7. Report: new local path, GitHub URL, commit sha the fork started from, and a reminder that the original repo is untouched. ## Notes - Do not modify the original repo — this is a one-way fork. - Copy the working tree, not `.git`, so the new repo starts with a clean history and a single origin commit. - The revised-approach CLAUDE.md is the whole point — do not skip or stub it. If the user hasn't given enough detail, ask before committing.
From danielrosehill/Claude-Rudder, MIT.
More from danielrosehill/Claude-Rudder
- 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
install-from-github
danielrosehill
Use when the user points at a GitHub repo (an agent skill, MCP server, or "Claude plugin"-ish project) and wants to install or register it.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-workflow-reference
danielrosehill
Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow.
SkillAFreshness: A★ 2Claude Code +9 - 0.467score
setup-agent-logs
danielrosehill
First-run setup for the session log archive.
SkillAFreshness: A★ 2Claude Code +9 - 0.467score
extract-skill
danielrosehill
Synthesize a new SKILL.md from the procedure that was just followed in this session, so the next session can replay it without being briefed from scratch.
SkillAFreshness: A★ 2Claude Code +9 - 0.348score
capture-leftover
danielrosehill
Capture a follow-up task that surfaced mid-flow but shouldn't distract from the current focus.
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
log-blocker
danielrosehill
Append a known blocker to `<repo>/planning/blockers.md` (auto-scaffolds if missing).
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
mirror-to-private
danielrosehill
Create a private GitHub repo that mirrors the current public repo.
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
repo-from-thread
danielrosehill
Create a new GitHub repo seeded with context from the current conversation.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 27, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/danielrosehill/Claude-Rudder
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from danielrosehill
- 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
onboard
danielrosehill
First-run onboarding for the adb-ops plugin.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-workflow-reference
danielrosehill
Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
fork-new-direction skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-fork-new-direction (last updated 2026-10-24)