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 skills/tommyvo/useful-prompts/commit-messagenpx skills add tommyvo/useful-prompts --skill commit-messagegit clone --depth 1 https://github.com/tommyvo/useful-promptsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/tommyvo/useful-prompts/commit-message)<a href="https://agentmods.dev/skills/tommyvo/useful-prompts/commit-message"><img src="https://agentmods.dev/badge/skills/tommyvo/useful-prompts/commit-message.svg" alt="Measured on agentmods" height="20"></a>What 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.00029 | $0.00762 |
| Opus 5 | $0.00015 | $0.00381 |
| Sonnet 5 | $0.00006 | $0.00152 |
| Haiku 4.5 | $0.00003 | $0.00076 |
Grade A, and why
commit-message 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 3d 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 — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Commit message draft
Draft a commit message for all the uncommitted changes.
CRITICAL: MANDATORY FIRST STEP
YOU MUST run git diff HEAD as your FIRST action before doing anything else.
DO NOT attempt to infer changes from context or memory. DO NOT skip this step. DO NOT proceed without running this command first.
Process
- FIRST: Run
git diff HEADin the terminal to get ALL uncommitted changes - SECOND: Analyze the diff output to understand what changed
- THIRD: Detect the project type from the files in the diff
- FOURTH: Generate the commit message using the appropriate template
Instructions:
- If I specify "React" or "Rails", use the corresponding template below
- If I don't specify a project type, try to infer it from the file extensions and structure:
- React: Look for .jsx, .tsx files, component folders, package.json with React dependencies
- Rails: Look for .rb files, controllers/, models/, db/migrate/ folders, Gemfile
- If the project type cannot be determined, provide a generic commit message with a clear description of changes
- Important: Omit any template sections that don't have relevant changes. Do not include a section header if there is nothing to put under it.
- Important: Wrap every line of the commit message at 80 characters or fewer, including bullet points.
- Important: Wrap code-like terms in backticks — class/function/variable names, file paths, commands, flags, config keys, and other symbols — so they render as code.
- Important: Output the commit message within a fenced code block. You should use four backticks (````) for the outer code block, so that any code blocks withing will render correctly.
React Template
(feat|fix|chore): (Brief title of change)
(Brief description of the change)
Components Changes:
- (Any Components changes)
API Integration:
- (Any changes to the API integration)
UI/UX Features:
- (Any changes to the UI/UX Features)
Testing:
- (Any testing updates)
Other Changes:
- (Any other changes)
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.
- 3d ago First seen · 128 lines · 29 tokens per session scan A 0e36dc922e24
commit-message is a skill published in the GitHub repository tommyvo/useful-prompts (3 stars, last pushed 5d ago), licensed Unlicense. It adds 29 tokens to every session and 762 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 skills, from other repositories
prowler-commit
Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.
git-commit
Generate well-formatted git commit messages following conventional commit standards.
contributing
How to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through building a new adapter, enricher, framework integration, or map rule. Load this for any question about contributing, opening a PR, or adding something to the…
commit-push-pr
Commit selected local changes, push the branch, and create or update a GitHub pull request with BitFun attribution. Use when the user asks to 提交 PR、提代码、commit and push、开 PR、create a pull request, or wants a Claude Code-like one-command PR publishing flow from BitFun.
commit
Commit current changes with a clear, descriptive message.
git-commit
Creates git commits following Conventional Commits format with type/scope/subject and detailed markdown body. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md. Each change type gets its own markdown heading (# emoji + type), with…