Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/mertjane/awesome-claude-commands/commit-msggit clone --depth 1 https://github.com/mertjane/awesome-claude-commandsWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00028 | $0.00915 |
| Opus 5 | $0.00014 | $0.00458 |
| Sonnet 5 | $0.00006 | $0.00183 |
| Haiku 4.5 | $0.00003 | $0.00092 |
Grade A, and why
commit-msg scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate Conventional Commit Message
Analyze the current git changes and produce a Conventional Commits message.
If $ARGUMENTS is provided, use it as the commit scope (e.g. auth, api, ui).
Step 1 — Read Git Status
Run:
git status --short
to see staged and unstaged files.
Run:
git diff --cached
to get staged changes (what will be committed).
If no staged changes, run:
git diff
to get unstaged changes instead, and note that the user should stage files first.
If neither has output, report: "No changes detected. Stage your changes with git add first." and stop.
Step 2 — Analyze Changes
Read the diff and identify:
What changed:
- New files added → likely
feat - Existing logic modified to fix incorrect behavior →
fix - Code restructured without behavior change →
refactor - CSS, formatting, whitespace only →
style - Test files only →
test - Markdown, comments, JSDoc →
docs - Config, dependencies, build scripts →
chore - Performance improvement (memoization, caching, query opt.) →
perf
Scope (the area of the codebase affected):
- If $ARGUMENTS provided, use it as scope
- Otherwise infer from changed file paths:
src/components/auth/→ scope:authsrc/api/users/→ scope:userssrc/hooks/→ scope:hookspackage.jsononly → scope:deps- Multiple unrelated areas → omit scope
Breaking change:
- Removed exported function/type
- Changed function signature
- Renamed route/endpoint
- Removed env variable
Step 3 — Draft Commit Message
Follow the Conventional Commits specification:
{type}({scope}): {subject}
{body}
{footer}
Rules:
type: one offeat,fix,refactor,style,test,docs,chore,perfscope: optional, lowercase, no spaces (use-for multi-word:user-auth)subject: imperative mood, lowercase, no period, max 72 chars ✓add login endpoint✗Added login endpoint.body: optional, explains why not what, wrap at 72 charsfooter:BREAKING CHANGE: {description}if applicable, orCloses #123
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 138 lines · 28 tokens per session scan A dd1966f4b421
commit-msg is a command published in the GitHub repository mertjane/awesome-claude-commands (2 stars, last pushed 6mo ago), licensed MIT. It adds 28 tokens to every session and 915 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
commit
Based on the above changes, create a single git commit.
commit-push-pr
Commit, push, and open a PR.
commit
Generate and create a commit following my global commit format rules.
speckit.git.commit
Auto-commit changes after a Spec Kit command completes.
commit-all
Group all changes semantically and commit each group separately.
commit
Based on the above changes, create a single git commit.