branch-cleanup

Installation
SKILL.md

Branch cleanup

Prune fully merged branches and unused worktrees. Never auto-delete branches that still have commits not on main — flag those for review.

Does not own: starting work or PR hygiene → project-tracking · splitting stacked branches → user decision + project-tracking · post-merge memory log → docs/memory/ only when user asks.

Modes

Mode Trigger Action
inventory default, "what branches", "audit git" Classify only — no deletes
clean "delete merged", "clean up branches" Delete fully merged local + remote after user confirms tier
worktrees "clean worktrees", "remove worktrees" Remove unused secondary worktrees after user confirms

Run inventory first unless the user already confirmed deletes in the same message.

Preflight

Installs
1
First Seen
2 days ago
branch-cleanup — csark0812/toolbox