Claude Code mod

push-guard

Claude Push Guard: stops a git push Claude runs when the commits would publish your name, email, home folder path or other words you list, and says exactly where they are.

1 starsGuard & safety modsValidates on Claude Code 2.1.316 Source

Install

From source
git clone https://github.com/finalpantasy/claude-mod-pack.git
claude --plugin-dir ./claude-mod-pack/push-guard

The 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, reads mod state, draws
Sees
Bash calls
Hooks
session.startcommand.runtool.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
push-guard
Author
finalpantasy
License
MIT
Last updated
13 October 2026

FAQ

What is push-guard?

Claude Push Guard: stops a git push Claude runs when the commits would publish your name, email, home folder path or other words you list, and says exactly where they are. It is a mod for Claude Code, from finalpantasy/claude-mod-pack on GitHub.

What can the push-guard mod access?

Its widest reach is "writes or runs" (runs processes, reads env vars, reads mod state, draws). It sees Bash calls. Like any mod, it runs with your permissions.

How do I install push-guard?

Clone finalpantasy/claude-mod-pack and start Claude Code with --plugin-dir pointing at the mod's folder (push-guard).

Is push-guard popular?

finalpantasy/claude-mod-pack has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 13 October 2026.

More guard & safety mods

path-guard

1

Justmalhar/awesome-claude-mods

Blocks Write, Edit and MultiEdit calls that target a path outside the project root or inside .git, plus optional deny globs.

Guard & safety mods/plugin install

safety-net

1

TroyJLorents-GH/mod-squad

Blocks destructive tool calls before they run (force pushes, rm -rf outside the project, DROP TABLE, terraform destroy, writes to .env and keys, ...) and explains why.

Guard & safety mods/plugin install

package-guard

1

LupusMalusDeviant/mod-box

Before Claude installs or runs a package (npm, pnpm, yarn, bun, npx, pip, uv, poetry, pipx, cargo), asks the public registry about it. Holds the command when the package does not exist (a made-up name), is under 14 days old, or looks like a well-known package and is young or thin (typosquatting). Allow in the band or with /pkg-allow.

Guard & safety mods/plugin install

unity-tools

1

kevinmedeiros/claude-mods

Unity no Claude Code: erros de compilação no contexto, painel de testes, build do servidor e guardas de arquivos

Guard & safety mods/plugin install

guardrails

1

lippdev/lippstack

Real guardrails, enforced by hooks: /careful asks you before a destructive shell command runs; /freeze <path> blocks edits outside a folder.

Guard & safety mods/plugin install

secret-pane

6

bengous/claude-code-plugins

Claude asks for a secret in a masked box and gets a placeholder: the value stays in the session's memory, becomes real only inside a Bash command, is hidden again in every Bash and Read result and in the prompt, and never reaches the transcript; the mod writes nothing to disk

Guard & safety mods

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