Claude Code mod

merge-cleanup

After a PR is merged (by Claude or on GitHub), has Claude offer to delete the worktree and local branch

Git & GitHub mods Plugin marketplaceValidates on Claude Code 2.1.316 Source

Install

Inside Claude Code
/plugin marketplace add narisraz/claude-merge-cleanup
/plugin install merge-cleanup@merge-cleanup

Mods install like plugins. Run /reload-plugins or start a new session to load it.

What it can access

Reach
L2Writes or runs: runs processes
Sees
every prompt, Bash calls
Hooks
prompt.submittool.call

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
.
Marketplace
merge-cleanup
Author
Naris Razafimahatratra
License
MIT
Last updated
9 October 2026

FAQ

What is merge-cleanup?

After a PR is merged (by Claude or on GitHub), has Claude offer to delete the worktree and local branch It is a mod for Claude Code, from narisraz/claude-merge-cleanup on GitHub.

What can the merge-cleanup mod access?

Its widest reach is "writes or runs" (runs processes). It sees every prompt, Bash calls. Like any mod, it runs with your permissions.

How do I install merge-cleanup?

Inside Claude Code (v2.1.287 or later), run /plugin marketplace add narisraz/claude-merge-cleanup and then /plugin install merge-cleanup@merge-cleanup.

More git & github mods

mefisto-divine-wager

augusto-romero-arango/mefisto

Consola de operacion de Mefisto en la sesion de ejecucion: listos y lanzamiento, seguimiento de /mefisto-tooling y /mefisto-sequential, PRs, bitacora y release.

Git & GitHub mods/plugin install

merge-status

JanSuthacheeva/claude-code-mods

Shows the merge requests of the current branch under the prompt: target branch, pipeline and conflicts (GitLab via glab, GitHub via gh)

Git & GitHub mods/plugin install

meetproxy

jeon-jihyeon/meetproxy

Stop being a meat proxy. Keeps Slack, GitHub and KakaoTalk requests in one inbox you open from any Claude Code session, where the session does the work and posts the reply you approve back to the thread.

Git & GitHub mods/plugin install

mizan

nexika/nexika

Nexika mizan: keeps your Claude Code session in balance. A band above the prompt shows the branch and who started it, open PRs or MRs per person, the branch's CI (passed, failed with the job, running), RAM and disk with warnings, the context level (fresh, mid, full), the running agent and its task, the current task step and the session cost; /mizan opens the details. At full context it saves a hafiz handoff and puts /clear in the prompt for you to send. English and Arabic.

Git & GitHub mods/plugin install

manager

mlt-5/manager

Buttons above the prompt: compact, clear or rewind the conversation, commit and push, or write a handoff, clear, and resume from it.

Git & GitHub mods/plugin install

model-advisor

mmediavilla/claude-model-advisor

Reads each prompt you send and says which model and effort would do it, so you stop paying Opus at xhigh for a commit message.

Git & GitHub mods/plugin install

Browse the most popular Claude Code mods, all git & github mods, or the skills and MCP server directories.