Home / Claude Code mods / Git & CI / merge-gate

merge-gate

merge-gate is a Claude Code mod by yash-gadodia that denies a Bash merge (gh pr merge, git merge on main, push onto main) unless the latest human message says the word merge; ship, push and deploy do not count.

Updated 2026-09-22

What is merge-gate?

merge-gate is a Claude Code mod by yash-gadodia that denies a Bash merge (gh pr merge, git merge on main, push onto main) unless the latest human message says the word merge; ship, push and deploy do not count. It is listed under Git & CI and has 3 GitHub stars.

TypeClaude code mod
Authoryash-gadodia
Repositoryyash-gadodia/claude-mods
Popularity3 GitHub stars
CategoryGit & CI
SecurityReview before installing (64/100)
Rank#1,050 of 5,272 Claude Code mods; #62 in Git & CI
LicenseMIT
Last commit2026-09-22
Hooks4 events
SeesBash calls, every prompt
Draws onnothing

Is merge-gate safe to install?

merge-gate scores 64/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 5 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.process.runruns processes
$.session.messagesreads the transcript
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.logdraws interface

How do I install merge-gate?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/yash-gadodia/claude-mods
    claude plugin validate ./claude-mods/merge-gate
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add yash-gadodia/claude-mods && claude plugin install merge-gate@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs merge-gate for you:

Install the "merge-gate" Claude Code mod from https://github.com/yash-gadodia/claude-mods/tree/main/merge-gate. Run claude plugin validate on it first and show me what it can access before you enable it.

More from yash-gadodia/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • chrome-switch: Switches the Claude in Chrome extension between named browser profiles with select_browser, which needs no approval clic (Review before installing)
  • copy-band: Click-to-copy buttons above the prompt for every code block and quoted draft in the last answer, a durable stash of olde (Review before installing)
  • deploy-verify: After a deploy command succeeds, curls the live URL with cache-busting and puts the verdict in the model's context, so a (Review before installing)
  • diff-review: After every Edit, Write, NotebookEdit or sed -i, a docked pane shows that file's uncommitted hunk with [keep] and [rever (Review before installing)
  • done-blink: Blinks the iTerm2 tab orange when a turn lands, for up to three minutes or until you type again, so a finished session i (Review before installing)
  • mini-offload: Routes heavy Bash commands (test suites, builds, Docker) to a second machine over ssh, with the PATH export and working (Review before installing)
  • money-band: A line above the prompt with liquid assets, CPF, debt and month-to-date spend, read from a pair of SQLite databases over (Review before installing)
  • receipt: Keeps a per-turn tally of edits, runs, curls and destructive commands and shows it on the turn footer; a claim with no r (Low risk)