Worktrees — Development agent for Claude Code
Worktree isolation (default for code-changing campaigns).
How to install Worktrees
Installs to ~/.claude/agents/jstuart0-mozart-orchestration-worktrees.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/jstuart0/mozart-orchestration/HEAD/agents/WORKTREES.md -o ~/.claude/agents/jstuart0-mozart-orchestration-worktrees.md Restart Claude Code, or start a new session, for it to be picked up.
What Worktrees does
Worktree isolation (default for code-changing campaigns)
**Every campaign that will modify the repo gets its own git worktree and its own branch, cut at intake.** This is the default, not an optimization for concurrent campaigns — a single campaign in a single session still gets one. The main checkout stays clean and on its own branch; the campaign's commits accumulate somewhere the user can inspect, abandon, or merge as a unit.
Why it's the default rather than a nicety: the main checkout i
Alternatives in Development
- Refactorer Agent — You are a refactoring expert who improves code structure without changing external behavior 1.3k ★
- Purpose — You are a git worktree creation specialist 1.3k ★
- Agent Of Empires — Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and 1.2k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes
Worktree Agent
Implementer agent for a User Story in ITS OWN git worktree. Resolves ONE User Story, reports every change as a
Team Coordinator
Orquestrador de equipes de agentes para GarraRUST. Analisa a estrutura do projeto, atribui papéis especializad
Ddd Implementer
Executes a single DDD chip (architectural refactor unit) following the ddd-chip contract. Dispatched ONE AT A
Seat Exec Here Light
Router tier of seat-exec-here. Build in the assigned directory. Router does not add worktree isolation. Reques
Seat Exec Here Std
Router tier of seat-exec-here. Build in the assigned directory. Router does not add worktree isolation. Reques
Related Skills
Workz
The environment engine for agent worktrees - zero-config dep sync + port/DB/compose isolation
Coasts
Coasts (Containerized Hosts) is an open-source, MIT-licensed CLI tool that provides localhost service isolatio
Architecture Compose Resource Limit Env Substitution
Planning pattern for exposing hard-coded docker-compose deploy.resources limits/reservations (cpus, memory) as