.claude/skills/worktree-list/SKILL.md
List all git worktrees with status info (branch, clean/dirty, deps)
npx skillsauth add the-agency-ai/the-agency .claude/skills/worktree-listInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Show all git worktrees under .claude/worktrees/ with their status.
Run git worktree list. For each worktree under .claude/worktrees/:
.claude/worktrees/<name>/.agency-agent if it exists (the bound agent identity). If missing, show (unbound).git rev-parse --abbrev-ref HEAD (in the worktree)git status --porcelain (in the worktree)node_modules/, vendor/, .venv/, etc.)Worktrees (.claude/worktrees/):
Name Agent Branch Status Deps
──────────────────────────────────────────────────────────────────────
hello-world hello-world hello-world clean yes
mdpal mdpal-cli mdpal clean yes
fix-auth (unbound) fix-auth dirty no
If no worktrees, say "No worktrees found."
To switch to a worktree, start a new Claude Code session:
cd .claude/worktrees/<name>/ && claude
business
Sync worktree with master — merge, copy settings, run sandbox-sync, report changes
tools
List all git worktrees with status info (branch, clean/dirty, deps)
tools
Remove a git worktree and optionally delete its branch
development
Create a new git worktree with dedicated branch and bootstrapped dev environment