Home / Claude Code mods / Git & CI / commit-gate

commit-gate

commit-gate is a Claude Code mod by fhva29 that holds git commit in a side pane listing staged files, flags files not edited this session and blocks AI attribution trailers.

Updated 2026-11-16

What is commit-gate?

commit-gate is a Claude Code mod by fhva29 that holds git commit in a side pane listing staged files, flags files not edited this session and blocks AI attribution trailers. It is listed under Git & CI and has no public popularity data yet.

TypeClaude code mod
Authorfhva29
Repositoryfhva29/claude-code-mods
Popularityno public popularity data yet
CategoryGit & CI
SecurityLow risk (80/100)
Rank#5,931 of 9,397 Claude Code mods; #427 in Git & CI
Last commit2026-11-16
Hooks2 events
SeesBash calls, every tool call
Draws onPane, AbovePrompt

Is commit-gate safe to install?

commit-gate scores 80/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.fs.statreads files
$.process.runruns processes
$.state.get
$.state.set
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install commit-gate?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/fhva29/claude-code-mods
    claude plugin validate ./claude-code-mods/commit-gate
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add fhva29/claude-code-mods && claude plugin install commit-gate@heitor-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs commit-gate for you:

Install the "commit-gate" Claude Code mod from https://github.com/fhva29/claude-code-mods/tree/main/commit-gate. Run claude plugin validate on it first and show me what it can access before you enable it.

More from fhva29/claude-code-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • branch-hud: A live branch pane and status entry: ahead/behind, dirty files, migrations added on the branch. (Low risk)
  • blast-radius: Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would chang (Low risk)
  • brief-mode: Appends a short-answer style section to the system prompt: action first, numbered steps, capped lists, no preamble or cl (Low risk)
  • fhva-skins: Desktop skin for Claude Code: tool rows with icons and timings, diff, shell, table and code cards, quiet reads, a usage (Review before installing)
  • midnight-neon: Draws assistant replies with a dark neon palette: highlighted headers, colored bullets, quote bars and inline styles. /n (Low risk)
  • model-stack: Routes the model and effort of the main chat turn and of each subagent with TypeSafe's Jev, and shows the roster, decisi (High risk)
  • neon-hud: A neon HUD band above the prompt: context fill and breakdown, plan limits with pace, tool calls per turn, session stats (Low risk)
  • next-lite: Suggests up to three next prompts above the input from a small digest of the turn on a cheap model, instead of forking t (Low risk)