git-commit

git-commit is a skill for Claude Code, Codex from Brattlof/skillet. It costs 16 tokens per session (181 once invoked), scanned A, original, MIT.

A helper for writing one clear, conventional Git commit message from the changes currently staged for commit.

In plain words
What is it for?
It helps review staged changes and propose an imperative subject line, with an optional short explanation for a larger change.
Why use it?
It keeps the message based on the actual staged diff and follows limits for length, wording, and structure. It waits for confirmation before creating the commit.

Skill for Claude CodeCodex

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

Good fit It helps review staged changes and propose an imperative subject line, with an optional short explanation for a larger change.

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

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/brattlof/skillet/git-commit/github.svg)](https://agentmods.dev/skills/brattlof/skillet/git-commit)
Your own site
<a href="https://agentmods.dev/skills/brattlof/skillet/git-commit"><img src="https://agentmods.dev/badge/skills/brattlof/skillet/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/brattlof/skillet/git-commit"><img src="https://agentmods.dev/badge/skills/brattlof/skillet/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 181 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.00016 $0.00181
Opus 5.5 $0.00006 $0.00072
Sonnet 5.5 $0.00003 $0.00036
Haiku 4.5 $0.00002 $0.00018

Measured 3mo ago against content hash 679d164ccada, 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 3mo 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/git-commit/SKILL.md · 19 lines

What it actually says

git-commit

Use this when the user asks you to commit staged changes and wants a well-formed message.

  1. Run git diff --cached to see exactly what is staged.
  2. Write a single imperative subject line, 50 characters or fewer, capitalized, with no trailing period (for example "Add retry to the upload client").
  3. If the change needs context, add a blank line and a short body that explains what changed and why, wrapped at 72 columns.
  4. Show the message and run git commit only after the user confirms.

Describe what the diff actually does, not what was intended. Keep one logical change per commit; if the subject needs the word "and", the commit is probably too big.

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. 3mo ago First seen · 19 lines · 16 tokens per session scan A 679d164ccada

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository Brattlof/skillet (10 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 181 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-31.

Related

git-commit compared with skills from other repositories

git-commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-commitBrattlof/skilletSkill10todayMITA16Claude Code, Codex
autofix-prQwenLM/qwen-codeSkill31ktodayApache-2.0A142Claude Code
cw-landHmbown/CodewhaleSkill41k1mo agoMITA44Claude Code, Codex
git-commitUfoMiao/zcfSkill6.1k10d agoMITA41Claude Code
gitcode-yeongyu/lazycodexSkill4.0ktodayMITA109Codex
atmos-gitcloudposse/atmosSkill1.4ktodayApache-2.0A82Claude Code
git-workflowericrisco/rsc-harnessSkill6915d agoMITA127Claude Code, Codex