commit-message

commit-message is a skill for Claude Code, Codex from davila7/claude-with-skills. It costs 38 tokens per session (471 once invoked), scanned A, original, MIT.

A guide for creating a Conventional Commit message from the changes staged in Git. Conventional Commits use a standard format such as `fix: correct login timeout` to describe the kind of change.

In plain words
What is it for?
Use it when preparing a commit message for a feature, fix, documentation change, refactor, test, style change, or tooling update.
Why use it?
It prevents vague or incorrectly formatted commit messages by checking the exact staged changes first.

Skill for Claude CodeCodex

About the project

Claude With Skills is a progressive course that teaches developers to create reusable, portable Agent Skills for Claude Code, from basic SKILL.md files to advanced automation and plugin packaging. It is intended for developers who want repeatable instructions and workflows instead of repeatedly pasting the same guidance. The catalogue contains the course's skills, agents, and instruction.

davila7/claude-with-skills · 11 stars · on GitHub

Install

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.

agentmods
npx agentmods add skills/davila7/claude-with-skills/commit-message
Any agent
npx skills add davila7/claude-with-skills --skill commit-message
Clone the repo
git clone --depth 1 https://github.com/davila7/claude-with-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for commit-message

README.md
[![agentmods](https://agentmods.dev/badge/skills/davila7/claude-with-skills/commit-message.svg)](https://agentmods.dev/skills/davila7/claude-with-skills/commit-message)
Your own site
<a href="https://agentmods.dev/skills/davila7/claude-with-skills/commit-message"><img src="https://agentmods.dev/badge/skills/davila7/claude-with-skills/commit-message.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00038 $0.00471
Opus 5 $0.00019 $0.00235
Sonnet 5 $0.00008 $0.00094
Haiku 4.5 $0.00004 $0.00047

Measured 5d ago against content hash 76cbb015f980, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 5d 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.

src/content/docs/01-basic/lesson-03-repetitive-tasks/examples/commit-message/SKILL.md · 39 lines

What it actually says

Instructions

  1. Run git diff --staged to see exactly what is staged for the next commit.

  2. Run git status --short to understand the full scope of changes (staged and unstaged) and identify the files involved.

  3. If nothing is staged, tell the user there is nothing staged and suggest they run git add first. Stop here.

  4. Choose the correct Conventional Commits type based on the diff:

    • feat: a new feature or capability visible to users or callers
    • fix: a bug fix
    • docs: documentation changes only
    • style: formatting, whitespace, missing semicolons — no logic change
    • refactor: code restructuring with no behavior change and no new feature
    • test: adding or correcting tests
    • chore: build system, dependency updates, tooling, CI config
  5. Determine the scope from the changed files. The scope is optional but useful when the change is clearly isolated to one module, package, or layer (for example, api, auth, db, cli). Omit it if the change is broad.

  6. Write the subject line:

    • Format: type(scope): description or type: description if no scope
    • Imperative mood: "add", "fix", "remove" — not "added", "fixes", "removing"
    • Maximum 72 characters
    • No period at the end
  7. If the diff is non-trivial (more than one logical change, or a change whose motivation is not obvious from the code), add a body:

    • Blank line after the subject
    • Bullet points explaining why the change was made, not what it does (the diff already shows what)
    • Keep each bullet under 72 characters
  8. Output only the commit message text. No surrounding explanation, no markdown code block wrapping.

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.

  1. 5d ago First seen · 39 lines · 38 tokens per session scan A 76cbb015f980

Subscribe to this mod's changes

commit-message is a skill published in the GitHub repository davila7/claude-with-skills (11 stars, last pushed 3mo ago), licensed MIT. It adds 38 tokens to every session and 471 once invoked, about $0.0002 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-30.