What is git-cleanup?
git-cleanup is a Claude Code mod by bahaospanov that cleans up after merged work, once it shipped: removing a branch needs git, the forge or the user to say it merged; removing it or filling in its issue waits for the pipeline holding it to. It is listed under Git & CI and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | bahaospanov |
| Repository | bahaospanov/skills |
| Popularity | no public popularity data yet |
| Category | Git & CI |
| Security | High risk (48/100) |
| Rank | #2,691 of 5,272 Claude Code mods; #204 in Git & CI |
| License | MIT |
| Last commit | 2026-10-15 |
| Hooks | 3 events |
| Sees | Bash calls, every prompt |
| Draws on | nothing |
Is git-cleanup safe to install?
git-cleanup scores 48/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.http.fetch | network requests |
$.process.run | runs processes |
$.prompt.submit | drives Claude |
$.ui.log | draws interface |
How do I install git-cleanup?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/bahaospanov/skills claude plugin validate ./skills/git-cleanup
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add bahaospanov/skills && claude plugin install git-cleanup@bahaospanov
Or ask Claude to set it up
Paste this into Claude Code and it installs git-cleanup for you:
Install the "git-cleanup" Claude Code mod from https://github.com/bahaospanov/skills/tree/main/git-cleanup. Run claude plugin validate on it first and show me what it can access before you enable it.
More from bahaospanov/skills
This repository has 6 Claude Code mods on MCPMods.
- git-gates: Gates git work: no commit, push or merge without the user's say-so in the current turn; a push to a branch that already (Review before installing)
- issue-first: Feature work starts from an issue: a feat commit naming none is refused until Claude finds the issue, drafts one the use (Review before installing)
- lean-comments: Comments worth keeping: limit-edits flags comment-heavy edits, limit-turns sends a follow-up when a turn's diff adds too (Review before installing)
- lean-docs: Docs worth keeping: docs-review asks Haiku whether new text will be read again, docs-no-repeat-code blocks lines that re (Review before installing)
- lean-scripts: Scripts worth keeping: scripts-review asks Haiku whether a new script could just be typed again when needed. (Review before installing)