Slash Command

/worktree-cleanup

Install
1
Install the plugin
$
npx claudepluginhub majesticlabs-dev/majestic-marketplace --plugin majestic-engineer

Want just this command?

Add to a custom plugin, then install with one command.

Description

Clean up merged and stale git worktrees

Model
haiku
Namespace
git/
Allowed Tools
Bash
Command Content

Worktree Cleanup

Use the git-worktree skill to clean up merged and stale worktrees:

skill git-worktree

Then run:

worktree-manager.sh cleanup

Report what was cleaned up.

Stats
Stars30
Forks6
Last CommitMar 21, 2026
Actions

Other plugins with /worktree-cleanup