Worktree Cleanup — Development skill for Claude Code
Remove worktrees and branches that have been merged: $ARGUMENTS.
How to install Worktree Cleanup
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open davila7/claude-code-templates and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Worktree Cleanup does
Remove worktrees and branches that have been merged: $ARGUMENTS.
One of 7 entries listed from davila7/claude-code-templates. The repository README
describes the whole collection, not this skill — read it on GitHub.
Alternatives in Development
- Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
- Repomix Unmixer — Unmix merged repository files 653 ★
- Comfy Remove Background — Remove the background from an image using Comfy Cloud: $ARGUMENTS 178 ★
Related Skills
Clean Worktree
Clean stale worktrees (pruned, merged, or orphaned branches)
Clean Worktrees
Automatically clean all stale worktrees (pruned refs + merged branches)
Tidy Branches
Survey local branches and worktrees, delete the ones already merged upstream, and report a short state summary
Ctx Cleanup
Clean up completed worktrees and branches
Just Ship Status
/just-ship-status — Lokalen Repo-Zustand anzeigen (Branches, PRs, Board, Worktrees)
OSS Overnight
Overnight prepare-and-queue run: check PRs, prepare fix branches in worktrees, write a morning report. Never p
Related Agents
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes
Delivery Tpm
Delivery control (code: tpm). Reconciles the board with branches, worktrees, pull requests, and gates; keeps o
Merge Integrator
Integration specialist that merges parallel work (branches, worktrees, or multiple agents' changes) into one c