Skip to main content
Run any Skill in Manus
with one click
$pwd:

cleanup-local-branches

// Find and delete local git branches whose work has already landed on main — including squash- and rebase-merged branches that `git branch --merged` misses. Use when the user asks to "clean up branches", "delete merged branches", "prune local branches", "remove old branches", or similar. Lists candidates with age and merge reason, asks before deleting, and optionally cleans up matching git worktrees.

$ git log --oneline --stat
stars:0
forks:0
updated:May 6, 2026 at 20:21
SKILL.md
readonly