git-cleanup plugin
Safely analyzes and cleans up local git branches and worktrees by categorizing them as merged, squash-merged, superseded, or active work.
How to install the git-cleanup plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add trailofbits/skills
/plugin install git-cleanup@trailofbitsWhat's inside git-cleanup
1 part read from the plugin's own files.
Commands 1
Run as /git-cleanup:name- /git-cleanup:git-cleanup
No description in the file.
Using git-cleanup in Claude Code
Type a command in a Claude Code session:
/git-cleanup:git-cleanupUpdate, turn off or remove
- Update the plugin (shell)
- claude plugin update git-cleanup@trailofbits
- Refresh the marketplace
- /plugin marketplace update trailofbits
- Turn it off for now
- /plugin disable git-cleanup@trailofbits
- Remove it
- /plugin uninstall git-cleanup@trailofbits
git-cleanup plugin questions
How do I install the git-cleanup plugin?
In Claude Code run /plugin marketplace add trailofbits/skills, then /plugin install git-cleanup@trailofbits.
What does the git-cleanup plugin include?
git-cleanup bundles 1 command.
What commands does the git-cleanup plugin add?
It adds /git-cleanup:git-cleanup. Run them in Claude Code with the plugin prefix, for example /git-cleanup:git-cleanup.
How do I update or remove the git-cleanup plugin?
Update it with claude plugin update git-cleanup@trailofbits in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall git-cleanup@trailofbits.