Claude Code mod
commit-safety
Enforces git commit hard-rules: blocks blanket staging (add -A/./-u/--update), git mv, pushes to main, inline multiline -m, multiple -m/--message, and @'...'@ here-string messages; warns on --amend.
Install
/plugin marketplace add d1820/claude-mods
/plugin install commit-safety@claude-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L0Draws and remembers: 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
- d1820/claude-mods
- Folder
commit-safety- Marketplace
claude-mods- Author
- Dan Turco
- License
- MIT
- Last updated
- 28 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is commit-safety?
Enforces git commit hard-rules: blocks blanket staging (add -A/./-u/--update), git mv, pushes to main, inline multiline -m, multiple -m/--message, and @'...'@ here-string messages; warns on --amend. It is a mod for Claude Code, from d1820/claude-mods on GitHub.
What can the commit-safety mod access?
Its widest reach is "draws and remembers" (draws). It sees every tool call. Like any mod, it runs with your permissions.
How do I install commit-safety?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add d1820/claude-mods and then /plugin install commit-safety@claude-mods.
More git & github mods
commit-push
Keksuccino/ClaudeApp-CommitPush
A Commit / Commit & Push button above the prompt, with a commit message written by Haiku and pushes through the GitHub CLI login
commit-ticket
hernandezsanti/claude-code-mods
Blocks commits without [TICKET] when the branch has a ticket, and commits that only fix linting or formatting; suggests the correct message.
commit-nag
AdityaUmale/claude-commit-nag
A band above the prompt that shows your branch, uncommitted files and time since your last commit, and roasts you when they pile up.
compass
gil2abir/claude-compass
A live map of your Claude Code session: a git-style flow chart, a live feed of every tool call, a drag-and-drop task board, async grill questions, agent chat, stats and recap, in a pane you can steer from.
commit-lanes
vohoangankhanh/claude-git-graph
Live git commit graph pane for Claude Code: clickable commits, inline file list and diffs, resizable columns
convo-tree
bracyw/claude-mods
Maps the conversation into branches: a pane of branch cards with Haiku titles and summaries, a live browser map with click-to-switch, and subagents that see only one branch. Browser view needs bun.
Browse the most popular Claude Code mods, all git & github mods, or the skills and MCP server directories.