git-conventional-commits

git-conventional-commits is a skill for Claude Code, Codex from alexeyshishin/as-skill. It costs 89 tokens per session (1,760 once invoked), scanned A, original, MIT.

A Git helper that writes a commit message using the Conventional Commits format, a shared style such as `fix:` or `feat:` for describing changes.

In plain words
What is it for?
Use it to inspect staged or unstaged changes and produce a suitable commit message based on the project's rules and recent commit style.
Why use it?
It removes the need to study the diff and decide the commit type, scope, subject, and optional explanation yourself.

Skill for Claude CodeCodex

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

Good fit Use it to inspect staged or unstaged changes and produce a suitable commit message based on the project's rules and recent commit style.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexeyshishin/as-skill/git-conventional-commits"><img src="https://agentmods.dev/badge/skills/alexeyshishin/as-skill/git-conventional-commits.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,760 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.00089 $0.01760
Opus 5.5 $0.00036 $0.00704
Sonnet 5.5 $0.00018 $0.00352
Haiku 4.5 $0.00009 $0.00176

Measured 3d ago against content hash 65f1b98afab3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/lint-commit-msg.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

domains/git/skills/git-conventional-commits/SKILL.md · 132 lines

How it starts

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

git-conventional-commits — Conventional Commit message for the current diff

Goal: instead of the user writing the commit message themselves, you analyze the diff and build a message following the convention in references/rules/git-conventions.md.

Before starting, read references/rules/git-conventions.md — it has the full list of allowed type values, the scope format, and the principles.

Two assets ship with this skill:

  • references/commit-examples.md — the author's real commit corpus: observed type/scope distribution, clean examples per type, and the anti-patterns that actually recur in this history, ranked. Read it when choosing the type/scope or when a subject feels generic.
  • scripts/lint-commit-msg.py — mechanical checker for the message you drafted (Step 5.5). Also audits an existing log: --history N.

Step 1. Gather context

Run:

  • git status --short — see what's changed
  • git diff --staged (if there's staged content) or git diff (if not) — the content of the changes
  • git log --oneline -10 — the style of previous commits in the project (especially the language: Russian/English)

If staged is empty and unstaged is also empty — tell the user and stop.

Step 2. Determine the type

Read the diff and decide:

diff shows type
a new file with functionality, a new endpoint, a new feature feat
a logic fix so a bug no longer reproduces fix
move/rename/simplify with no behavior change refactor
performance improvement only perf
only .md, code comments docs
only tests added or fixed test
package.json, go.mod, requirements.txt, Dockerfile, CI configs build or ci
dependencies, tooling versions chore(deps)
revert of a previous commit revert

If the diff is mixed (e.g. both fix and refactor) — stop and suggest the user split it into several commits. Don't write "feat: fixed a bug and refactored" — that's an anti-pattern.

Read the full file on GitHub · 132 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago Changed 65f1b98afab3
  2. 9d ago Changed · +22 lines · +3 tokens per session 649a4de464bf
  3. 2mo ago First seen · 110 lines · 86 tokens per session scan A 7e83420f9456

Subscribe to this mod's changes

git-conventional-commits is a skill published in the GitHub repository alexeyshishin/as-skill (6 stars, last pushed 2d ago), licensed MIT. It adds 89 tokens to every session and 1,760 once invoked, about $0.0004 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.

Related

git-conventional-commits compared with skills from other repositories

git-conventional-commits next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-conventional-commitsalexeyshishin/as-skillSkill62d agoMITA89Claude Code, Codex
pr-squash-messagescenario-labs/skillsSkill3.2kyesterdayMITA73Codex
git-wrapupcyanheads/obsidian-mcp-serverSkill7026d agoApache-2.0A109Claude Code
phx-pr-reviewoliver-kriska/claude-elixir-phoenixSkill574yesterdayMITA61Claude Code, Codex
changelog-automationvibeeval/vibecosystemSkill5392d agoMITA23Claude Code, Codex
commit-trailersvibeeval/vibecosystemSkill5392d agoMITA43Claude Code, Codex
private-secret-scanningjamditis/claude-skills-journalismSkill4482d agoMITA40Claude Code, Codex