commit-messages

commit-messages is a skill for Claude Code, Codex from TheDecipherist/claude-code-mastery. It costs 29 tokens per session (845 once invoked), scanned A, original, MIT.

A guide for writing commit messages in the Conventional Commits format, which labels changes such as features, fixes, tests, or documentation. It derives the message from the staged Git changes.

In plain words
What is it for?
Use it when preparing a commit, reviewing staged changes, choosing a change type and scope, or writing release-ready commit messages.
Why use it?
It makes commit history easier to scan and helps describe what a change affects before it is saved to the repository.

Skill for Claude CodeCodex

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

Good fit Use it when preparing a commit, reviewing staged changes, choosing a change type and scope, or writing release-ready commit messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thedecipherist/claude-code-mastery/commit-messages
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 TheDecipherist/claude-code-mastery --skill commit-messages
Clone the repo
git clone --depth 1 https://github.com/TheDecipherist/claude-code-mastery

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-messages

README.md
[![agentmods](https://agentmods.dev/badge/skills/thedecipherist/claude-code-mastery/commit-messages/github.svg)](https://agentmods.dev/skills/thedecipherist/claude-code-mastery/commit-messages)
Your own site
<a href="https://agentmods.dev/skills/thedecipherist/claude-code-mastery/commit-messages"><img src="https://agentmods.dev/badge/skills/thedecipherist/claude-code-mastery/commit-messages/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-messages

Your own site · 80×15
<a href="https://agentmods.dev/skills/thedecipherist/claude-code-mastery/commit-messages"><img src="https://agentmods.dev/badge/skills/thedecipherist/claude-code-mastery/commit-messages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 845 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.00029 $0.00845
Opus 5.5 $0.00012 $0.00338
Sonnet 5.5 $0.00006 $0.00169
Haiku 4.5 $0.00003 $0.00085

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

Security

Grade A, and why

commit-messages 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.

skills/commit-messages/SKILL.md · 127 lines

How it starts

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

Commit Message Skill

Generate consistent, informative commit messages following the Conventional Commits specification.

When to Use This Skill

  • User asks to "commit", "write a commit message", or "prepare commit"
  • User has staged changes and mentions commits
  • Before any git commit command

Process

  1. Analyze changes: Run git diff --staged to see what's being committed
  2. Identify the type: Determine the primary change category
  3. Find the scope: Identify the main area affected
  4. Write the message: Follow the format below

Commit Message Format

<type>(<scope>): <description>

[optional body]

[optional footer(s)]

Types

Type Description Example
feat New feature feat(auth): add OAuth2 login
fix Bug fix fix(api): handle null response
docs Documentation only docs(readme): add setup instructions
style Formatting, no code change style: fix indentation
refactor Code change, no new feature/fix refactor(db): extract query builder
perf Performance improvement perf(search): add result caching
test Adding/fixing tests test(auth): add login unit tests
build Build system changes build: update webpack config
ci CI configuration ci: add GitHub Actions workflow
chore Maintenance tasks chore(deps): update dependencies
revert Revert previous commit revert: feat(auth): add OAuth2

Scope

The scope should be a noun describing the section of the codebase:

  • auth, api, db, ui, config
  • Feature names: search, checkout, dashboard
  • Or omit if change is broad

Subject Line Rules

  • Use imperative mood: "add" not "added" or "adds"
  • Don't capitalize first letter after colon
  • No period at the end
  • Max 72 characters total

Body (when needed)

  • Separate from subject with blank line
  • Explain what and why, not how
  • Wrap at 72 characters
  • Use bullet points for multiple changes

Read the full file on GitHub · 127 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 · 127 lines · 29 tokens per session scan A a8c5797359d5

Subscribe to this mod's changes

commit-messages is a skill published in the GitHub repository TheDecipherist/claude-code-mastery (555 stars, last pushed 5mo ago), licensed MIT. It adds 29 tokens to every session and 845 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.

Related

Other skills, from other repositories

setup-caliber

Sets up Caliber for automatic AI agent context sync. Installs pre-commit hooks so CLAUDE.md, Cursor rules, and Copilot instructions update automatically on every commit. Use when Caliber hooks are not yet installed or when the user asks about keeping agent configs in sync.

caliber-ai-org/ai-setup · 61 tokens

commit-hygiene

Use when committing changes with git — staging files and writing commit messages. Makes the agent keep each commit focused on one logical change and write a clear, conventional message explaining why, instead of dumping unrelated edits into a single vague "update" commit.

buildmoonshot/skillpacks · 54 tokens

caveman-commit

Write a Conventional Commits message compressed to intent only. Use for "write a commit", "commit message", /commit or /caveman-commit.

JuliusBrussee/caveman · 38 tokens

git

Source-control safety for Git. Two rules apply whether or not you read the body. First, never commit, amend, push, tag, rebase, cherry-pick, revert, or reset --hard unless the user asked for that exact write in this session. An explicit request to create a new commit counts anywhere in the user's own task text, but it…

asgeirtj/system_prompts_leaks · 163 tokens

git-advanced-workflows

Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.

wshobson/agents · 54 tokens

changelog

Auto-generate a changelog from git commits and sprint data. Internal and player-facing versions.

Donchitos/Claude-Code-Game-Studios · 22 tokens