conventional-commits

conventional-commits is a skill for Claude Code, Codex from strands-compose/sdk-python. It costs 43 tokens per session (584 once invoked), scanned A, original, Apache-2.0.

A guide for writing Git commit messages using Conventional Commits, a standard format that labels changes such as fixes, features, tests, and documentation.

In plain words
What is it for?
Use it to turn a change summary or code diff into a correctly formatted commit message.
Why use it?
It makes commit history easier to understand and helps record breaking changes consistently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to turn a change summary or code diff into a correctly formatted commit message.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/strands-compose/sdk-python/conventional-commits
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 strands-compose/sdk-python --skill conventional-commits
Clone the repo
git clone --depth 1 https://github.com/strands-compose/sdk-python

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 conventional-commits

README.md
[![agentmods](https://agentmods.dev/badge/skills/strands-compose/sdk-python/conventional-commits/github.svg)](https://agentmods.dev/skills/strands-compose/sdk-python/conventional-commits)
Your own site
<a href="https://agentmods.dev/skills/strands-compose/sdk-python/conventional-commits"><img src="https://agentmods.dev/badge/skills/strands-compose/sdk-python/conventional-commits/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 conventional-commits

Your own site · 80×15
<a href="https://agentmods.dev/skills/strands-compose/sdk-python/conventional-commits"><img src="https://agentmods.dev/badge/skills/strands-compose/sdk-python/conventional-commits.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 584 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.
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.00043 $0.00584
Opus 5.5 $0.00017 $0.00234
Sonnet 5.5 $0.00009 $0.00117
Haiku 4.5 $0.00004 $0.00058

Measured 1mo ago against content hash 8471928cd675, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

conventional-commits 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.

examples/15_plugins/skills/conventional-commits/SKILL.md · 72 lines

How it starts

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

Conventional Commits

Turn a description of a code change into a commit message that follows the Conventional Commits standard.

When to use

Activate when the user asks for a commit message, or hands you a change summary or diff and wants it phrased for git.

Format

<type>(<optional scope>): <short summary>

<optional body>

<optional footer>
  • type — one of feat, fix, docs, refactor, test, perf, build, ci, chore.
  • scope — the area touched, e.g. (api), (auth). Optional.
  • summary — imperative mood, lowercase, no trailing period, 72 characters or fewer.
  • body — what changed and why, wrapped near 72 characters. Optional.
  • footer — BREAKING CHANGE: ... and issue refs like Closes #123. Optional.

Steps

  1. Choose the single type that best fits the change. If it does more than one thing, suggest splitting the commit.
  2. Add a scope only when it clarifies where the change lives.
  3. Write the summary in the imperative ("add", not "added" or "adds").
  4. Add a body only when the why is not obvious from the summary.
  5. Record breaking changes in the footer with BREAKING CHANGE: and a short migration hint.

Examples

Input: "added pagination to the users list endpoint"

feat(api): add pagination to the users list endpoint

Input: "fixed a crash when the config file is missing; now we fall back to defaults"

fix(config): fall back to defaults when the config file is missing

A missing config previously raised at startup. Loading now logs a warning
and uses the built-in defaults instead.

Input: "stopped reading the AWS_REGION env var; region now comes from config"

refactor(config): drop the AWS_REGION env var in favor of a region field

BREAKING CHANGE: AWS_REGION is no longer read. Set `region:` in your model
config instead.

Edge cases

  • Reverting a commit — use revert: <original summary> and put the reverted hash in the body.
  • Several unrelated changes — recommend separate commits rather than one mega-commit.
  • No obvious type — ask what the change is meant to accomplish before guessing.

Read the full file on GitHub · 72 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 · 72 lines · 43 tokens per session scan A 8471928cd675

Subscribe to this mod's changes

conventional-commits is a skill published in the GitHub repository strands-compose/sdk-python (6 stars, last pushed 7d ago), licensed Apache-2.0. It adds 43 tokens to every session and 584 once invoked, about $0.0002 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-31.