push-guard

by Nazman Gena · ★ 0 · updated yesterday

GuardsAutomationvalidates

0

Stops git push to a branch whose pull request is already merged - the new commits would never reach the base branch

install push-guard

Install

git clone https://github.com/nazmang/claude-agents-kit
claude --plugin-dir ./claude-agents-kit/plugins/push-guard

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
tool.call
API calls
$.clock.sleep$.env.get$.process.run$.session.cwd$.ui.ask$.ui.log$.ui.notify
Can see
every tool call
Reach
level 2 of 3 runs processesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/nazmang/claude-agents-kit
Path in repo
plugins/push-guard
Source commit
54a73bc the exact code the scan read
Author
Nazman Gena @nazmang
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 nazmang/claude-agents-kit

agents-panel

nazmang/claude-agents-kit

A band above the prompt with every live Claude Code session on the machine (girls and boys coloured by model, busy or idle) and the open checklist items waiting on you; /team opens the full panel

★ 0PanesBandsCommands

Other mods in Guards, close to this one by stars.