commit

commit is a skill for Claude Code, Codex from PaulRBerg/agent-skills. It costs 54 tokens per session (3,629 once invoked), scanned A, original, MIT.

A Git commit helper for recording changes in a code repository, using either a standard prefix format or plain-language messages.

In plain words
What is it for?
Use it to commit all changes, only staged changes, close related work, record findings, or push a commit when requested.
Why use it?
It removes the manual work of reviewing changes, composing a commit message, and coordinating the commit with the repository index.

Skill for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also agents/openai.yaml present.

Good fit Use it to commit all changes, only staged changes, close related work, record findings, or push a commit when requested.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/commit"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,629 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.00054 $0.03629
Opus 5.5 $0.00022 $0.01452
Sonnet 5.5 $0.00011 $0.00726
Haiku 4.5 $0.00005 $0.00363

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

Security

Grade A, and why

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 15d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/git-squash.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.

skills/commit/SKILL.md · 229 lines

How it starts

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

Git Commit

Compose the semantic commit message from immutable evidence. Let ai-commit own deterministic preparation, commit, index reconciliation, and push mechanics.

Run every command from the target repository cwd. Do not surround ai-commit with extra git status, git log, or git diff calls: preparation provides the complete evidence for this workflow. Use --porcelain only in deterministic automation that explicitly parses its stable TSV records. The normal skill flow consumes the human-readable sections.

1. Parse Arguments

Arguments: $ARGUMENTS

  • ai-commit selects the message format from repository config. Pass --natural or --conventional only as an explicit one-off override, never to reproduce repository policy.
  • --all: capture all worktree and index changes. This intentionally risks including another agent's work.
  • --staged: capture exactly the current index. Do not add session paths. It conflicts with --all.
  • --natural: force Natural Language Format for this commit.
  • --conventional: force Conventional Prefix Format for this commit.
  • --push: request a push after commit. Otherwise push only when standing instructions authorize it.
  • --rebase: with --push, let ai-commit rebase a behind branch onto its fetched upstream before the push. Pass it with every authorized push unless the user excludes it.
  • --close <issue_numbers>: pass one ai-commit commit --close <N> per positive decimal issue number. Accept comma- or space-separated input. ai-commit writes the Closes #N lines.
  • --finding <finding_ids>: pass one ai-commit commit --finding <id> per ledger finding this commit fixes. Accept comma- or space-separated input. Also infer a finding from context when this session's commit fixes a specific ledger finding. ai-commit writes the Finding-ID: <id> trailer and resolves the finding after the commit. Never include or resolve findings the commit does not actually fix.
  • --squash: replace every branch commit after the merge base with one commit that carries the net branch diff. The helper finds the merge base with the resolved default branch. Squash mode requires a clean tree and index and an attached non-default branch. It conflicts with --all, --staged, and --push.
  • --base <branch>: override default-branch detection. Use it only with --squash.
  • In Conventional Prefix Format, a positional type keyword overrides the inferred type. In Natural Language Format, a positional verb or category keyword overrides the inferred verb. Quoted positional text overrides the inferred description or subject.

Read the full file on GitHub · 229 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. 15d ago Changed · +12 lines d9b27bd3f308
  2. 17d ago Changed · +2 lines ee9a8393c29f
  3. 27d ago Changed · +26 lines 5aea4ed7cfd4
  4. 1mo ago Changed · +6 lines 19a19ec38791
  5. 1mo ago Changed · +15 lines · +13 tokens per session c6d13d851e9d
  6. 1mo ago Changed · +6 lines 76a811058e01
  7. 1mo ago Changed · +8 lines 99936a4591b5
  8. 1mo ago Changed · +4 lines 2d329a976144
  9. 1mo ago Changed · +6 lines 7b6355be368a
  10. 1mo ago First seen · 144 lines · 41 tokens per session scan A 046dbab8755d

Subscribe to this mod's changes

commit is a skill published in the GitHub repository PaulRBerg/agent-skills (104 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 3,629 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-30.

Related

commit compared with skills from other repositories

commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commitPaulRBerg/agent-skillsSkill1042d agoMITA54Claude Code, Codex
create-prprisma/ormSkill48k2d agoApache-2.0A48Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4ktodayApache-2.0A15Claude Code, Codex
repo-syncdavidondrej/skillsSkill4.3ktodayMITA25Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill9.5ktodayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill3.9k2d agoApache-2.0A25Claude Code
contributingHugoRCD/evlogSkill1.9kyesterdayMITA68Claude Code, Codex