What is commit-msg?
commit-msg is a Claude Code mod by tomshaw that writes an accurate conventional commit message for your staged changes, using the Claude session that made them to explain why. Matches your repo's commit style; edit, regenerate and copy. It is listed under Git & CI and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | tomshaw |
| Repository | tomshaw/claude-code-plugins |
| Popularity | 1 GitHub stars |
| Category | Git & CI |
| Security | Low risk (84/100) |
| Rank | #2,337 of 5,272 Claude Code mods; #179 in Git & CI |
| License | MIT |
| Last commit | 2026-10-08 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | Pane |
Is commit-msg safe to install?
commit-msg scores 84/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 6 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.now | |
$.command.register | |
$.model.complete | drives Claude |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.state.get | |
$.state.set | |
$.ui.copy | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install commit-msg?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/tomshaw/claude-code-plugins claude plugin validate ./claude-code-plugins/mods/commit-msg
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add tomshaw/claude-code-plugins && claude plugin install commit-msg@tomshaw
Or ask Claude to set it up
Paste this into Claude Code and it installs commit-msg for you:
Install the "commit-msg" Claude Code mod from https://github.com/tomshaw/claude-code-plugins/tree/main/mods/commit-msg. Run claude plugin validate on it first and show me what it can access before you enable it.
More from tomshaw/claude-code-plugins
This repository has 4 Claude Code mods on MCPMods.
- laravel-tooling: Runs Pint and Larastan after Claude edits PHP, and Pest on demand, then shows the results in a live pane and the status (Low risk)
- proofread: Fixes spelling and grammar in your prompt before it reaches Claude, and draws your prompts in a highlighted box with the (Low risk)
- work-journal: Daily, weekly and monthly reviews of your work in Claude Code, summarized from the prompts you typed: projects, threads, (Review before installing)