the-agency-ai/the-agency/worktree-list

Claude Code and agent skill by the-agency-ai/the-agency

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

List all git worktrees with status info (branch, clean/dirty, deps)

Install

npx vskill@latest install the-agency-ai/the-agency/worktree-list

SKILL.md

List Worktrees

Show all git worktrees under .claude/worktrees/ with their status.

Instructions

Step 1: Gather worktree info

Run git worktree list. For each worktree under .claude/worktrees/:

  1. Agent — read .claude/worktrees/<name>/.agency-agent if it exists (the bound agent identity). If missing, show (unbound).
  2. Branch — git rev-parse --abbrev-ref HEAD (in the worktree)
  3. Dirty — git status --porcelain (in the worktree)
  4. Dependencies — check if dependency artifacts exist (node_modules/, vendor/, .venv/, etc.)
Step 2: Format output
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."

Step 3: Show instructions
To switch to a worktree, start a new Claude Code session:
cd .claude/worktrees/<name>/ && claude

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
65
Repository forks
12
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/the-agency-ai/the-agency/worktree-list/badge)](https://verified-skill.com/skills/the-agency-ai/the-agency/worktree-list)

Something wrong with this skill or its page? Tell us.