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

clean-gone-branches

Stars3
Forks1
UpdatedJuly 2, 2026 at 11:41

Clean up stale local Git branches whose upstream remote branches are marked [gone], including removing associated Git worktrees before branch deletion. Use when the user asks to clean gone branches, remove branches deleted from the remote, prune stale local Git branches, delete branches with [gone] status, or run the clean-gone-branches Git workflow. By default, preview the gone branches with the bundled dry-run script and ask for confirmation before deleting; skip confirmation only when the user explicitly asks to delete all gone branches immediately or without confirmation.

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.

File Explorer
3 files
SKILL.md
readonly