What it does
The command removes worktrees that have been merged, along with their branches. The available source gives no further detail on usage or setup.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 18 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 105
worktree-cleanup
Clean up merged worktrees and their branches
As shown on www.aitmpl.com when we last read it