Worktrees — Git skill for Claude Code
Set up parallel-agent git worktrees and converge them into one live dev tree.
How to install Worktrees
Installs to ~/.claude/skills/joesteinkamp-agent-global-instructions-worktrees/SKILL.md
mkdir -p ~/.claude/skills/joesteinkamp-agent-global-instructions-worktrees && curl -fsSL https://raw.githubusercontent.com/joesteinkamp/agent-global-instructions/HEAD/commands/worktrees.md -o ~/.claude/skills/joesteinkamp-agent-global-instructions-worktrees/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Worktrees does
description: Set up parallel-agent git worktrees and converge them into one live dev tree argument-hint: [agent names, e.g. "claude codex antigravity"] allowed-tools: Bash(git:*), Bash(./converge.sh:*)
Current state:
- Repo root: !
git rev-parse --show-toplevel 2>/dev/null - Current branch: !
git branch --show-current - Existing worktrees: !
git worktree list
Set up isolated worktrees so several AI agents can work this repo in parallel, then converge their branches into a single **i
Alternatives in Git
- 使用 Git Worktrees — 创建孤立的 Git worktrees,带有智能目录选择与安全验证 115.1k ★
- Git Worktree Setup — Create isolated git worktrees with instant feedback and background Rust verification 25.5k ★
- Worktree Parallel Init — Create multiple git worktrees for parallel development: $ARGUMENTS 23.4k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Switchyard
Dispatch Claude Code agents into isolated git worktrees + tmux sessions and drive them from a live web termina
Hive Containers
Hierarchical Claude Code containers with one curated egress bridge: a root control plane, a sealed node tree,
Worktree New
Create a new git worktree with full dev environment for parallel work
Worktree Spawn
Spawn an isolated git worktree with a deterministic PORT_BASE so heavy multi-port dev servers can run in paral
Sprint Worktree
Dev Team 2: create the dedicated git worktree for a parallel sprint
Parallel Workflows
Parallel Workflows with Git Worktrees
Related Agents
Purpose
You are a git worktree creation specialist. Your sole responsibility is to create a properly configured worktr
Orchestrator Multi
Multi-agent parallel orchestrator using git worktrees — splits work across N agents, manages territory, merges
Git Commit
Git mechanic agent. Organizes a working tree into logical commits, raises PRs, monitors CI, and merges across