Claude Code mod
commit-guard
Never commits docs/superpowers, never pushes unless you said push, asks before committing on main/staging/prod
Install
git clone https://github.com/irfanfaraaz/claude-kit.git
claude --plugin-dir ./claude-kit/mods/commit-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 prompt, Bash calls
- Hooks
prompt.submittool.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
- irfanfaraaz/claude-kit
- Folder
mods/commit-guard- Last updated
- 20 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is commit-guard?
Never commits docs/superpowers, never pushes unless you said push, asks before committing on main/staging/prod It is a mod for Claude Code, from irfanfaraaz/claude-kit on GitHub.
What can the commit-guard mod access?
Its widest reach is "writes or runs" (runs processes, reads env vars, draws). It sees every prompt, Bash calls. Like any mod, it runs with your permissions.
How do I install commit-guard?
Clone irfanfaraaz/claude-kit and start Claude Code with --plugin-dir pointing at the mod's folder (mods/commit-guard).
More guard & safety mods
aim-widget
4oMaN-Rod/claude-code-widgets
Where a command lands outside this folder: the kube context, cloud profile, Terraform workspace or database it is aimed at, named in the permission dialog
cortex-wiki
cdeust/claude-mods
/wiki <wiki/**.md>: compile a Cortex wiki page (Markdown with ```tikz blocks) to PDF through pandoc and xelatex, and open it.
needs-you
1Akash001uts/claude-mods
Messages you on Slack when Claude has been waiting on you for a while (a finished turn, a permission prompt, a question); reply there and the session carries on
guarda-colisao
inematds/inema-mods
Guarda de colisão: antes de editar, avisa se o arquivo foi mudado fora desta sessão (outra sessão, você no editor, outro programa) e pergunta o que fazer (/colisao)
beads-guard
3baselane-sh/mods
Asks before bd commands that delete data or rewrite history: delete, purge, prune, gc, sql, admin, import, rename, forget, restore, migrate and more. Reads only the command text, runs no bd.
guardrail
tylergraydev/cc-mods
Blocks hook-skipping git commands and live data operations that have no successful dry run first; you can allow one at a time
Browse the most popular Claude Code mods, all guard & safety mods, or the skills and MCP server directories.