con un clic
list-worktrees
List all active git worktrees
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
List all active git worktrees
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Process autonomous task queue from do-work/ folder
Enter plan mode for complex tasks (pour energy into the plan for 1-shot implementation)
Initiate autonomous PR review process with Codex agent
Run comprehensive repo assessment with Codex (every 3 PRs)
Comprehensive security audit covering 10 threat categories
Install all automation for a new repo (git hooks + GitHub Actions)
| name | list-worktrees |
| description | List all active git worktrees |
Created: 2026-02-09-00-00 Last Updated: 2026-02-09-16-00
Display all active git worktrees and their status.
/list-worktrees
git worktree list
Output:
/Users/you/projects/repo abc123 [main]
/Users/you/projects/worktrees/repo-auth def456 [feature-auth]
/Users/you/projects/worktrees/repo-ui ghi789 [feature-ui]
For each worktree, show:
Enhanced Output:
📁 Worktrees for repo-name:
1. Main Worktree
Path: /Users/you/projects/repo
Branch: main
Commit: abc123 (2 hours ago)
PR Counter: 5/3 (next assessment in 1 PR)
2. Feature: Authentication
Path: ../worktrees/repo-feature-auth
Branch: feature-auth
Commit: def456 (30 mins ago)
PR: #123 (open, in review)
PR Counter: 0/3
3. Feature: UI Redesign
Path: ../worktrees/repo-feature-ui
Branch: feature-ui
Commit: ghi789 (5 mins ago)
PR: Not created yet
PR Counter: 0/3
After listing, suggest actions:
Quick Actions:
- cd ../worktrees/repo-<branch> - Jump to worktree (manual cd)
- /cleanup-worktrees - Remove finished worktrees
- /create-worktree <name> - Create new worktree
# Get worktree list
git worktree list --porcelain
# For each worktree:
# - Get branch name
# - Get latest commit
# - Check if PR exists (gh pr list)
# - Read PR counter from git-common-dir (shared across all worktrees)
COUNTER_FILE="$(git rev-parse --git-common-dir)/hooks-pr-counter"
cat "$COUNTER_FILE" 2>/dev/null || echo "0"
# - Get last commit time
# Display formatted output
# See what's in flight
/list-worktrees
# Output shows:
# - Main: 5 PRs (assessment needed)
# - Auth: PR #123 waiting for review
# - UI: Work in progress
# - Login fix: Merged, can cleanup
# Check capacity first
/list-worktrees
# If showing 5+ worktrees, clean up first
/cleanup-worktrees
# Then create new
/create-worktree new-feature
# See status of all parallel work
/list-worktrees
# Example output:
# 3 PRs submitted today
# 1 PR merged
# 2 PRs in review
# 1 feature still in progress
Status Icons:
/create-worktree - Create new worktreecd - Jump to different worktree (manual cd)/cleanup-worktrees - Remove finished worktrees