All shelves / Mods / Safety
push-gate
By IvanLutsenko
push-gate is a Claude Code safety mod by IvanLutsenko.
Asks before every git push the model runs, with the repository, branch, upstream, commit count, and a force-push warning, and runs the confirmed push itself.
Holds a command
Install
The marketplace name is awac-ai-agent-plugins.
/plugin install push-gate --marketplace IvanLutsenko/awac-ai-agent-pluginsIt runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.2.0
- License
- MIT
- Repo stars
- 3
- Last change
- 2026-10-23
What it can reach
- Holds a command
- Sees tool calls
- Runs a command when you press
Claude Code with mods, 2.1.308 or later; the author calls the hook API early access. The dialog's buttons are in Russian. A command over 2,000 characters is refused outright. A confirmed push runs outside the permission system, so a PreToolUse guard does not see it; the README gives a hook that denies every other push, and says to protect the branches that matter on GitHub or GitLab.
The marketplace, awac-ai-agent-plugins, holds Ivan Lutsenko's eleven plugins, nyan-progress and talk-deck among them. This one installs on its own. Holding a push is why this page files it under safety. rulebook-guard, by hamzafer, asks before git commit --amend or an unformatted push. subagent-fence-erikdarlingdata, by erikdarlingdata, refuses a force-push or a push to a protected branch. This one asks about every push, gh pr create and glab --push included, in Claude Code's own question dialog, and on a click it runs the command itself under bash -c in the session's folder and hands Claude the output. A cd from an earlier Bash call does not carry over. In the source, it runs git to read the branch, upstream, and commit count.
Demo

What it hooks into
tool.callAround a tool call, where it can hold oneBash
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- IvanLutsenko
- Category
- Safety
- Marketplace
- awac-ai-agent-plugins
- Folder
- plugins/push-gate
- Version
- 0.2.0
- License
- MIT
- Repo stars
- 3
- Last change
- 2026-10-23
- Language
- Python
- Files
- 6