Skip to main content

worktree-cleanup

Stars9
Forks0
UpdatedJune 24, 2026 at 21:16

Batch cleanup across MULTIPLE stale worktrees and orphaned branches. Use when tidying up accumulated worktrees, asking about old branches, cleaning up the workspace, or saying "stale worktrees", "orphan branches", "prune worktrees", "clean up old branches", "purge stale worktrees", "housekeeping". For finishing ONE specific worktree, use worktree-close instead. Also triggers for `/empire-git:worktree-cleanup [--dry-run] [--days N]`.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly