merge-gate

by Yash Gadodia · ★ 1 · updated 14 days ago

GuardsCommandsPromptAutomationvalidates

0

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.

install merge-gate

Install

/plugin marketplace add yash-gadodia/claude-mods
/plugin install merge-gate@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runprompt.submittool.call
API calls
$.command.register$.env.get$.process.run$.session.messages$.store.get$.store.set$.ui.log
Can see
every promptBash calls
Reach
level 2 of 3 runs processesreads env varsreads the transcriptpersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/yash-gadodia/claude-mods
Path in repo
merge-gate
Author
Yash Gadodia @yash-gadodia
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from yash-gadodia/claude-mods

chrome-switch

yash-gadodia/claude-mods

Switches the Claude in Chrome extension between named browser profiles with select_browser, which needs no approval click, and picks the default before the first browser call of a session.

★ 1ToastsGuardsCommands

copy-band

yash-gadodia/claude-mods

Click-to-copy buttons above the prompt for every code block and quoted draft in the last answer, a durable stash of older ones, and a WhatsApp/Telegram wrap.

★ 1BandsStatus lineReskins

deploy-verify

yash-gadodia/claude-mods

After a deploy command succeeds, curls the live URL with cache-busting and puts the verdict in the model's context, so a deploy cannot be claimed without evidence.

★ 1Status lineGuardsCommands

diff-review

yash-gadodia/claude-mods

After every Edit, Write, NotebookEdit or sed -i, a docked pane shows that file's uncommitted hunk with [keep] and [revert] buttons; a press dismisses or runs git checkout with no model turn.

★ 1PanesReskinsGuards

done-blink

yash-gadodia/claude-mods

Blinks the iTerm2 tab orange when a turn lands, for up to three minutes or until you type again, so a finished session is obvious from any other tab.

★ 1CommandsPromptAutomation

mini-offload

yash-gadodia/claude-mods

Routes heavy Bash commands (test suites, builds, Docker) to a second machine over ssh, with the PATH export and working directory already right, and the commit synced first.

★ 1ToastsGuardsCommands

money-band

yash-gadodia/claude-mods

A line above the prompt with liquid assets, CPF, debt and month-to-date spend, read from a pair of SQLite databases over ssh, and the emergency fund's fill in the prompt footer.

★ 1BandsStatus lineReskins

receipt

yash-gadodia/claude-mods

Keeps a per-turn tally of edits, runs, curls and destructive commands and shows it on the turn footer; a claim with no run flags the spinner, a destructive Bash unfolds its tool group, and an edit-without-run turn suggests running the tests.

★ 1ReskinsGuardsCommands

scope-guard

yash-gadodia/claude-mods

Counts the distinct files a turn edits and stops at a threshold to make the goal get restated, so a small ask cannot quietly become a refactor.

★ 1Status lineGuardsCommands

usage-band

yash-gadodia/claude-mods

A line above the prompt with the five-hour and seven-day limit windows, this session's context fill and cost, plus a nudge to clear when the window gets expensive. The footer shows the cost in Singapore dollars.

★ 1BandsReskinsCommands

wod-band

yash-gadodia/claude-mods

A pixel-art Ragtag athlete above the prompt who does a rep every turn: the session is an AMRAP of thrusters, burpees and pull-ups.

★ 1BandsGuardsCommands

wod-timer

yash-gadodia/claude-mods

3, 2, 1, GO above the prompt when you submit, a running gym clock while Claude works, and your split when the turn lands.

★ 1BandsReskinsCommands