worktree-parallel
Sets up git worktrees for parallel feature development and opens them in separate editor sessions.
Install
mkdir -p .claude/skills/worktree-parallel && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12896" && unzip -o skill.zip -d .claude/skills/worktree-parallel && rm skill.zipInstalls to .claude/skills/worktree-parallel
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Create and manage a git worktree for parallel feature development, then open the new worktree in the editor (code/Cursor) for a second Codex session. Use when the user asks to work on another feature simultaneously, spin up a parallel workspace, or open a new worktree even if they do not mention worktree explicitly.Key capabilities
- →Create a git worktree for parallel development
- →Open the new worktree in the editor
- →Suggest a parallel Codex session
- →Determine a feature slug and branch name
- →Choose a base directory for linked worktrees
How it works
This skill automates the process of creating a git worktree, naming its branch, and opening it in a specified editor, then suggests starting a new Codex session within it.
Inputs & outputs
When to use worktree-parallel
- →Working on multiple features
- →Creating parallel environments
- →Managing git worktrees
About this skill
Worktree Parallel
Workflow
- Confirm the repo root (use current working directory unless the user specifies another repo).
- Determine a feature slug and branch name.
- Default branch pattern:
feat/<slug>. - If the user already has a branch name, use it.
- Default branch pattern:
- Choose a base directory for linked worktrees.
- Default for this repo:
../<project_name>-wt(create it if missing).
- Default for this repo:
- Create the worktree.
- New branch:
git worktree add -b feat/<slug> <base>/<slug> - Existing branch:
git worktree add <base>/<slug> <branch>
- New branch:
- Open the worktree in the editor.
- Use
code -n <path>(Cursor supports thecodeCLI). - If
codeis unavailable, ask for the preferred editor command (e.g.,cursor -n,code, or another).
- Use
- Suggest a parallel Codex session in the new worktree.
cd <path> && codex
- Confirm with
git worktree listif needed.
Safety
- Do not use
--forceunless the user explicitly asks. - Do not remove existing worktrees unless the user requests cleanup.
Optional Cleanup (only if asked)
git worktree remove <path>git branch -d <branch>
When not to use it
- →When the user explicitly asks to use `--force` for worktree operations
- →When the user does not want to create a new worktree
- →When the user wants to remove existing worktrees without explicitly asking
Limitations
- →It does not use `--force` unless explicitly requested by the user
- →It does not remove existing worktrees unless explicitly requested by the user
- →It relies on the `code` CLI for opening the editor, or requires user input for an alternative command
How it compares
This skill simplify the setup of a parallel development environment by automating worktree creation and editor integration, which typically involves multiple manual git and editor commands.
Compared to similar skills
worktree-parallel side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| worktree-parallel (this skill) | 0 | 7mo | No flags | Beginner |
| tmux | 20 | 2mo | Review | Intermediate |
| worktree-status | 1 | 6mo | Review | Beginner |
| tmux | 0 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
tmux
openclaw
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
worktree-status
MoonshotAI
Audit all git worktrees in the current project. Use when the user asks about worktree status, which branches are merged, which have uncommitted changes, or which worktrees can be safely cleaned up.
tmux
Anhvu1107
ALWAYS use this when the request matches Tmux: Expert tmux session, window, and pane management for terminal multiplexing, persistent remote workflows, and shell scripting automation.
bash-linux
davila7
Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.
create-worktree-skill
disler
Use when the user explicitly asks for a SKILL to create a worktree. If the user does not mention "skill" or explicitly request skill invocation, do NOT trigger this. Only use when user says things like "use a skill to create a worktree" or "invoke the worktree skill". Creates isolated git worktrees with parallel-running configuration.
domain-dns-ops
steipete
Domain/DNS ops across Cloudflare, DNSimple, Namecheap for Peter. Use for onboarding zones to Cloudflare, flipping nameservers, setting redirects (Page Rules/Rulesets/Workers), updating redirect-worker mappings, and verifying DNS/HTTP. Source of truth: ~/Projects/manager.