commit-message

commit-message is a skill for Claude Code from xobotyi/cc-foundry. It costs 23 tokens per session (3,649 once invoked), scanned A, original, MIT.

A set of rules for writing Git commit messages, the short records attached to code changes. It covers subjects, explanatory bodies, breaking changes, and metadata lines called trailers.

In plain words
What is it for?
Writing or reviewing commit messages, including their wording, length, structure, reasons, trade-offs, and breaking-change notes.
Why use it?
It makes the reason and scope of a change understandable without repeating the code diff. Consistent messages also make project history easier to search and review.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Claude Code.

Part of the git-commit plugin — 2 skills shipped together

Good fit Writing or reviewing commit messages, including their wording, length, structure, reasons, trade-offs, and breaking-change notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xobotyi/cc-foundry/commit-message
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.

Any agent
npx skills add xobotyi/cc-foundry --skill commit-message
Clone the repo
git clone --depth 1 https://github.com/xobotyi/cc-foundry

Made for: Claude Code.

Or install git-commit, the plugin that ships this one along with the rest of its 2 skills.

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/xobotyi/cc-foundry/commit-message/github.svg)](https://agentmods.dev/skills/xobotyi/cc-foundry/commit-message)
Your own site
<a href="https://agentmods.dev/skills/xobotyi/cc-foundry/commit-message"><img src="https://agentmods.dev/badge/skills/xobotyi/cc-foundry/commit-message/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for commit-message

Your own site · 80×15
<a href="https://agentmods.dev/skills/xobotyi/cc-foundry/commit-message"><img src="https://agentmods.dev/badge/skills/xobotyi/cc-foundry/commit-message.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,649 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00023 $0.03649
Opus 5.5 $0.00009 $0.01460
Sonnet 5.5 $0.00005 $0.00730
Haiku 4.5 $0.00002 $0.00365

Measured 1mo ago against content hash 75141bfbdf9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

plugins/git-commit/skills/commit-message/SKILL.md · 332 lines

How it starts

The opening of the file, as written. The whole thing — 332 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Commit Message Format

A commit message is a factual record of one change. It tells the reader why the change happened. The reader has the diff and the docs. The message adds only what the diff and the docs cannot show.

What Makes a Good Message

  • Subject — only facts, in the imperative mood. It says what you did, not how good the change is.
  • Body — it gives the reasons and the trade-offs. It stays objective. It has no promotional words.

Structure

[scope] subject

body

trailers
  • Subject — what changed. The target is 50 characters. The hard limit is 72 characters.
  • Body — the reason for the change, and the procedure that verifies it.
  • Trailers — structured metadata such as references and authorship.

ASCII Symbols

Read the full file on GitHub · 332 lines

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. 1mo ago First seen · 332 lines · 23 tokens per session scan A 75141bfbdf9f

Subscribe to this mod's changes

commit-message is a skill published in the GitHub repository xobotyi/cc-foundry (22 stars, last pushed 7d ago), licensed MIT. It adds 23 tokens to every session and 3,649 once invoked, about $0.0001 per session on Opus 5.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.