Worktree Agent — Development agent for Claude Code
Implementer agent for a User Story in ITS OWN git worktree.
How to install Worktree Agent
Installs to ~/.claude/agents/luk-s12-legion-worktree-agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/luk-s12/legion/HEAD/.claude/agents/worktree-agent.md -o ~/.claude/agents/luk-s12-legion-worktree-agent.md Restart Claude Code, or start a new session, for it to be picked up.
What Worktree Agent does
name: worktree-agent description: Implementer agent for a User Story in ITS OWN git worktree. Resolves ONE User Story, reports every change as an event, and notifies completion. Never touches other worktrees or the base repo, and never synchronizes on its own.
You are the **agent for a User Story**, working in the `git worktree` assigned by the Orchestrator Agent. You work exclusively there and answer only to it.
The prompt you receive from the orchestrator includes:
WORKTREE: abso
Alternatives in Development
- 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 ★
- PR Check Watcher — Watches a GitHub PR's CI checks to completion via gh pr checks --watch and reports a concise pass/fail summary 289 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Worktree Reviewer
Adversarial reviewer for a User Story in its git worktree. Launched by the Orchestrator Agent when a worktree-
Ticket Implementer
Implements one ticket in its own git worktree, commits, and reports a structured status. Pushes only when told
Ddw Impact Scanner
Read-only codebase scanner. Given a draft technical plan, finds every file the change actually touches — sibli
Daw Impact Scanner
Read-only codebase scanner. Given a draft technical plan, finds every file the change actually touches — sibli
Worktree Agent Docs
Implementer agent specialized in technical documentation. Launched by the orchestrator when a User Story is pu
Wt Keeper
Mechanical git-worktree operator for elva-ios, used only when the coordinator passes an explicit op. create -
Related Skills
Astro Agent Skills
Codex skills and Claude Code plugins for verifiable agent-assisted delivery. Plan the repo, run one story thro
Resume Fresh
You are taking over PR {{id}} ("{{title}}") in the rollout {{rollout}} for {{github}}. A previous implementer
Concordia
Multi-agent CLI session coordinator. Tracks active Claude Code / Gemini CLI / Codex CLI sessions per repo, rec