git-commit

git-commit is a skill for Claude Code, Codex from dmythro/agent-skills. It costs 73 tokens per session (1,248 once invoked), scanned A, original, MIT.

A guide to Conventional Commits, a standard format for writing clear Git commit messages and pull-request titles.

In plain words
What is it for?
Use it when committing code, preparing pull requests or merge requests, writing squash-merge messages, or checking message format.
Why use it?
It makes the purpose and impact of changes easier to understand and keeps project history consistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it when committing code, preparing pull requests or merge requests, writing squash-merge messages, or checking message format.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dmythro/agent-skills/git-commit"><img src="https://agentmods.dev/badge/skills/dmythro/agent-skills/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,248 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.00073 $0.01248
Opus 5.5 $0.00029 $0.00499
Sonnet 5.5 $0.00015 $0.00250
Haiku 4.5 $0.00007 $0.00125

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

Security

Grade A, and why

git-commit 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/git-commit/SKILL.md · 114 lines

How it starts

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

Conventional Commits

Default commit format: Conventional Commits. Use this format for all commits and PR/MR titles unless the project defines its own commit conventions (in CLAUDE.md, AGENTS.md, contributing guides, or similar). Project-specific rules always take priority.

When to Use

  • Making any git commit -- this skill defines the required format
  • Creating PR/MR titles -- squash merges use the title as the commit message
  • Writing squash merge messages -- must follow the same format
  • Reviewing commit message format -- validate against these rules

Critical Rules

  1. Project rules override this skill -- if the project defines commit message conventions (issue number prefixes, custom formats, etc.), follow those instead. This skill is the default when no project-specific rules exist.
  2. Type is required -- never commit without a type prefix
  3. Description is lowercase, imperative mood, no period: fix: handle null response not Fix: Handled null response.
  4. No Co-Authored-By trailer -- never add it to commit messages
  5. Describe the change, not the process -- never write review provenance (fix: coderabbit round 2 fixes, fix: address review feedback) as the message; state what the commit changes. The trigger for the change already lives in the PR and its threads.
  6. No filler -- the description alone is usually the whole message; add a body only for information the description and diff cannot carry (breaking change details, migration steps, non-obvious constraints). Never narrate the diff.

Provider Detection

Detect the git provider to use the correct CLI:

git remote get-url origin
Remote URL contains Provider CLI PR term
github.com GitHub gh PR
gitlab.com or self-hosted GitLab GitLab glab MR

Read the full file on GitHub · 114 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 · 114 lines · 73 tokens per session scan A 580d1ec0bf04

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository dmythro/agent-skills (7 stars, last pushed 7d ago), licensed MIT. It adds 73 tokens to every session and 1,248 once invoked, about $0.0003 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.