Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
A skill your agent uses when starting any recursive-mode requirement to set up an isolated git worktree.
$ npx skills add try-works/recursive-mode --skill recursive-worktree -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install try-works/recursive-mode recursive-worktree --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/try-works/recursive-mode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/recursive-worktree .claude/skills/recursive-worktree && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "recursive-worktree" agent skill from https://github.com/try-works/recursive-mode/tree/main/skills/recursive-worktree into .claude/skills/recursive-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "recursive-worktree", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/try-works/recursive-mode/tree/main/skills/recursive-worktreeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add try-works/recursive-mode --skill recursive-worktree -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install try-works/recursive-mode recursive-worktree --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/try-works/recursive-mode.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/recursive-worktree .agents/skills/recursive-worktree && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "recursive-worktree" agent skill from https://github.com/try-works/recursive-mode/tree/main/skills/recursive-worktree into .agents/skills/recursive-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "recursive-worktree", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add try-works/recursive-mode --skill recursive-worktree -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install try-works/recursive-mode recursive-worktree --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/try-works/recursive-mode.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/recursive-worktree .cursor/skills/recursive-worktree && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "recursive-worktree" agent skill from https://github.com/try-works/recursive-mode/tree/main/skills/recursive-worktree into .cursor/skills/recursive-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "recursive-worktree", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/try-works/recursive-mode.git --path skills/recursive-worktree--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add try-works/recursive-mode --skill recursive-worktree -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install try-works/recursive-mode recursive-worktree --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/try-works/recursive-mode.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/recursive-worktree .gemini/skills/recursive-worktree && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "recursive-worktree" agent skill from https://github.com/try-works/recursive-mode/tree/main/skills/recursive-worktree into .gemini/skills/recursive-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "recursive-worktree", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install try-works/recursive-mode recursive-worktreeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add try-works/recursive-mode --skill recursive-worktree -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/try-works/recursive-mode.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/recursive-worktree .github/skills/recursive-worktree && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "recursive-worktree" agent skill from https://github.com/try-works/recursive-mode/tree/main/skills/recursive-worktree into .github/skills/recursive-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "recursive-worktree", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add try-works/recursive-mode --skill recursive-worktree -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install try-works/recursive-mode recursive-worktree --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/try-works/recursive-mode.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/recursive-worktree .opencode/skills/recursive-worktree && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "recursive-worktree" agent skill from https://github.com/try-works/recursive-mode/tree/main/skills/recursive-worktree into .opencode/skills/recursive-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "recursive-worktree", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
recursive-worktreeA skill your agent uses when starting any recursive-mode requirement to set up an isolated git worktree.
Recursive Worktree is an agent skill from try-works/recursive-mode. Use when starting any recursive-mode requirement to set up an isolated git worktree. Required before implementation phases: create an isolated workspace, verify a clean baseline, and keep main/master clean.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Development, covering Git worktrees. It works with Git. The repository describes itself as: Recursive workflow for agentic engineering. Like Factory Missions but properly recursive, free and open source. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit ff75bc7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitnpmcargopipgomvndotnetpythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, npm and pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Recursive Worktree loads about 1.2k tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 514 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from try-works/recursive-mode at commit ff75bc7, republished under its Apache-2.0 licence (© try-works). 514 words, ~1,184 tokens.
.claude/skills/recursive-worktree/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this skill at the start of a recursive-mode run to set up an isolated worktree before Phase 1+ work begins.
The canonical overall workflow still lives in /.recursive/RECURSIVE.md. This skill covers only the worktree-isolation discipline for 00-worktree.md.
Do not proceed with recursive-mode phase work until:
Use this priority:
.worktrees/worktrees/.worktrees/Global fallback location:
~/.config/recursive-mode/worktrees/<project-name>/If the current branch is main or master, default to creating a worktree on a feature branch:
git worktree add .worktrees/<run-id> -b recursive/<run-id>
cd .worktrees/<run-id>If the user explicitly insists on main-branch work, record that exception in 00-worktree.md.
00-worktree.md must cover:
Baseline type, Baseline reference, Comparison reference, Normalized baseline, Normalized comparison, and Normalized diff command## TODO heading from the scaffoldCheck branch:
git branch --show-currentCheck ignore status:
git check-ignore -q .worktrees || git check-ignore -q worktreesCreate worktree:
git worktree add .worktrees/<run-id> -b recursive/<run-id>Run the setup command that matches the repo:
npm installcargo buildpip install -r requirements.txt or project-specific installgo mod downloadmvn compile -q./gradlew compileJavadotnet restoreThen run the baseline test command appropriate to the project and record the result in 00-worktree.md.
Before delegated or routed work runs from an isolated worktree, verify the router files inside that same worktree:
test -f .recursive/config/recursive-router.json
test -f .recursive/config/recursive-router-discovered.jsonTest-Path .recursive/config/recursive-router.json
Test-Path .recursive/config/recursive-router-discovered.jsonIf the controller/source repo has a configured router policy or discovery inventory and the worktree lacks it, sync both files into the worktree before resolving or invoking routed roles. Preserve user edits to the worktree policy; when changing bindings, prefer recursive-router-configure over hand edits.
recursive-router-discovered.json is local discovery state and may be untracked. Its absence in a fresh worktree is expected, but it is still not safe to resolve an external role from stale assumptions. Refresh it with python ./.recursive/scripts/recursive-router-probe.py --repo-root . --json from the worktree, or copy the current inventory from the controller/source repo when that is the intended policy basis.
Record the router policy path, discovery path, validation/probe command, and resulting route decision in 00-worktree.md or in the delegated action record before accepting routed work.
Write the artifact to:
/.recursive/run/<run-id>/00-worktree.mdUse feature branches named:
recursive/<run-id>If this skill uses delegated review or any other routed external model to validate worktree setup, baseline verification, or branch safety, re-read:
/.recursive/config/recursive-router.json/.recursive/config/recursive-router-discovered.jsonimmediately before choosing that CLI/model, and honor the routed policy or explicit fallback instead of hardcoding a reviewer model.
STATE.md, DECISIONS.md, and memory updates, on the same feature branch until merge time.© try-works, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/recursive-worktree of try-works/recursive-mode.
Open the folder on GitHubat commit ff75bc7
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in try-works/recursive-mode, which our catalogue first saw on October 7, 2026.
Recursive Worktree next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Recursive Worktree this skilltry-works/recursive-mode | 136 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Finishing a Development Branchobra/superpowers | 296k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Finishing A Development Branchfarm-fe/farm | 5.6k | 34 repos | ~1.8k | Automated safety check: Pass | MIT | |
| Git Worktree Cleanuplobehub/lobehub | 83k | — | ~2.8k | Automated safety check: Pass | Custom licence | |
| Pre-Release PR Triagejamiepine/voicebox | 57k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Ccmanager Configkbwo/ccmanager | 1.3k | — | ~1.5k | Automated safety check: Pass | MIT |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
farm-fe/farm
A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…
lobehub/lobehub
Audits stale Git worktrees and branches with a bundled script, classifies each one, and deletes only after you approve the exact candidates.
jamiepine/voicebox
Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.
kbwo/ccmanager
Set up, review, or repair a CCManager config — .ccmanager.json at a git repository root, or the global ~/.config/ccmanager/config.json.
CapSoftware/Cap
Builds a Cap feature in an isolated Git worktree with disposable dev resources, verification, a recorded demo and a neutral pull request, started with /building.
try-works/recursive-mode
Repository workflow orchestration skill for staged implementation, locked artifacts, late-phase receipts, and durable memory maintenance.
try-works/recursive-mode
A skill your agent uses when a recursive-mode requirement involves debugging a bug, test failure, or unexpected behavior.
try-works/recursive-mode
A skill your agent uses when recursive-mode work needs a canonical delegated-review or audit handoff.
try-works/recursive-mode
A skill your agent uses when recursive-mode work may benefit from delegated audit, review, or bounded implementation support.
try-works/recursive-mode
A skill your agent uses when implementing any code in recursive-mode Phase 3.
try-works/recursive-mode
Approval-gated, repo-aware requirements/spec authoring for new recursive-mode runs.
Works with
Categories
A skill your agent uses when starting any recursive-mode requirement to set up an isolated git worktree. Recursive Worktree is an agent skill from try-works/recursive-mode. Use when starting any recursive-mode requirement to set up an isolated git worktree.
Recursive Worktree fits situations like: starting any recursive-mode requirement to set up an isolated git worktree; tasks that involve Git worktrees.
Run `npx skills add try-works/recursive-mode --skill recursive-worktree -a claude-code`. Or copy the skill folder (skills/recursive-worktree in try-works/recursive-mode) into .claude/skills/recursive-worktree in your project. Claude Code loads it when a task matches its description.
Run `npx skills add try-works/recursive-mode --skill recursive-worktree -a codex`. Or copy the skill folder (skills/recursive-worktree in try-works/recursive-mode) into .agents/skills/recursive-worktree in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add try-works/recursive-mode --skill recursive-worktree -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/recursive-worktree, .gemini/skills/recursive-worktree, .github/skills/recursive-worktree and .opencode/skills/recursive-worktree in your project.
Going by SKILL.md and its folder, Recursive Worktree needs the command-line tools its instructions call (git, npm, cargo, pip, go and mvn). Our summary lists: Python 3; Node.js.
SKILL.md contains no URLs. Its commands use git, npm and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Recursive Worktree is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Recursive Worktree: Finishing a Development Branch (obra/superpowers, 296k stars), Finishing A Development Branch (farm-fe/farm, 5.6k stars), Git Worktree Cleanup (lobehub/lobehub, 83k stars) and Pre-Release PR Triage (jamiepine/voicebox, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
try-works (a GitHub user) maintains it in try-works/recursive-mode, which has 136 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on July 24, 2026.
Source: try-works/recursive-mode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.