Claude Code mod
push-guard
Stops `git push` to a branch whose pull request is already merged - the new commits would never reach the base branch
Install
git clone https://github.com/nazmang/claude-agents-kit.git
claude --plugin-dir ./claude-agents-kit/plugins/push-guardThe repo has no marketplace file, so load the plugin folder directly with --plugin-dir.
What it can access
- Reach
- L2Writes or runs: runs processes, reads env vars, draws
- Sees
- every tool call
- Hooks
tool.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.
Details
- Repository
- nazmang/claude-agents-kit
- Folder
plugins/push-guard- Author
- Nazman Gena
- License
- MIT
- Last updated
- 23 November 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is push-guard?
Stops `git push` to a branch whose pull request is already merged - the new commits would never reach the base branch It is a mod for Claude Code, from nazmang/claude-agents-kit on GitHub.
What can the push-guard mod access?
Its widest reach is "writes or runs" (runs processes, reads env vars, draws). It sees every tool call. Like any mod, it runs with your permissions.
How do I install push-guard?
Clone nazmang/claude-agents-kit and start Claude Code with --plugin-dir pointing at the mod's folder (plugins/push-guard).
More git & github mods
prova-de-teste
aiob3/claude-grounds
Instrumento do EXP-001 Prova de Teste: percebe tarefas com teste, escolhe mutantes às cegas (modelo sem ferramentas, só o diff do código-fonte) e grava o log do experimento
quicksave
pourya7/claude-code-mods
A save point before compaction: the task's goal, step, branch, links, decisions, rules and next step are saved before /compact and handed back to the model after it, with a pixel-art SAVE POINT band when it is safe to compact.
proof-decay
ccdwyer/proof-decay
Tracks which test, typecheck, lint and build results are still true after later edits, and stops commit messages that claim checks which are stale
quiet-tools
operonlab/claude-code-mods
Draws successful tool calls as one dim line in the terminal and hides their output, keeping its key facts (git commit, background, exit code meaning); a call a hook refused is one red line; failed calls stay in full; ctrl+o shows everything; /quiet-tools toggles it.
prompt-stash
gonzaloserrano/cc-prompt-stash
/stash: a git-stash-like stack of prompts, kept between sessions, popped back into the prompt box.
read-only-mode
cloudcruncher/claude-mod-garage
/readonly on turns the session into look-but-don't-touch: file edits are refused and only read-only shell commands (ls, cat, git status/log/diff, grep...) run. Safe for exploring unfamiliar code or production checkouts.
Browse the most popular Claude Code mods, all git & github mods, or the skills and MCP server directories.