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

clean-worktrees

Stars0
Forks0
UpdatedJune 3, 2026 at 21:39

Clean up stale git worktrees and their associated branches. Checks merge status, detects rebased work on main, flags uncommitted changes, and only deletes what's safe. Use this skill whenever the user mentions worktrees, stale branches, cleaning up branches, or worktree cleanup. Trigger on: 'clean worktrees', 'delete worktrees', 'stale worktrees', 'worktree cleanup', 'clean up branches', 'remove worktrees'.

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