List Git worktrees

VerifiedSafe

List all Git worktrees from one or all repositories with detailed status including branch, cleanliness, changed files count, port, and iTerm tab info. Use it when you need to view, list, or show worktrees in a clear table format.

Sby Skills Guide Bot
DevelopmentIntermediate
306/2/2026
Claude Code
#git#worktrees#status#repository

Recommended for

Our review

Lists all Git worktrees with their status including branch, cleanliness, changed file count, port, and iTerm tab status.

Strengths

  • Displays all worktrees with relevant details in a clear table format.
  • Supports filtering worktrees for a specific repository via an optional path argument.
  • Includes advanced information like assigned port and iTerm tab status.
  • Simplifies managing multiple worktrees without complex Git commands.

Limitations

  • Requires the MCP tool worktree-maestro to be configured.
  • Does not work with worktrees managed manually outside of this tool.
  • The iTerm dependency may be irrelevant on other terminals.
When to use it

Use this skill when you need a quick, detailed overview of all Git worktrees across your repositories.

When not to use it

Avoid using it for creating, deleting, or switching worktrees, or if you do not use the worktree-maestro tool.

Security analysis

Safe
Quality score90/100

This skill only uses an MCP tool to list git worktrees with no destructive or exfiltrating actions. No shell commands, network calls, or sensitive data handling.

No concerns found

Examples

Show all worktrees
Show all git worktrees with their status.
Filter worktrees by repo
List all worktrees for the repository at /Users/me/project.

name: wt description: List all git worktrees with status. Use when asked to show, list, or view worktrees. argument-hint: "[repo-path]" allowed-tools: mcp__worktree-maestro__list_worktrees

Use the list_worktrees MCP tool with verbose: true and allRepos: true to show all worktrees.

If $ARGUMENTS contains a path, pass it as repo to filter worktrees from that specific repository.

Display the results in a clear table format showing:

  • Repository (if multiple repos)
  • Name
  • Branch
  • Status (clean/dirty)
  • Changed files count
  • Port (if assigned)
  • iTerm tab status
Related skills