What problem does it solve?
Managing git worktrees manually is error-prone when you need to list active branches, remove merged or stale worktrees, and stop zombie tmux agents left behind after cleanup.
Core Features & Use Cases
- Worktree inventory: list every worktree with its branch, PR state, and current status.
- Safe cleanup: remove merged worktrees and isolated agent worktrees only when they have no uncommitted changes or lingering diffs.
- Zombie process cleanup: detect tmux-based Claude agents whose worktree paths no longer exist and kill only the stale panes.
- Use case: Keep a busy development machine tidy by pruning merged branches without touching active work, then shutting down orphaned automation sessions.
Quick Start
Ask the skill to list, clean, remove, or kill zombie git worktrees for the current repository.