commit

commit is a skill for Claude Code from FradSer/dotclaude. It costs 41 tokens per session (421 once invoked), scanned A, a copy of commit-and-push, MIT.

A tool-guided way to create small Git commits that follow common commit-message rules. Git is the system developers use to track code changes.

In plain words
What is it for?
It is for committing a completed, focused change with an automatically generated intent, with an option to preserve already staged files.
Why use it?
It removes the need to write commit messages and stage changes manually for each focused update.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the git-agent plugin — 4 skills, 1 agent shipped together

Good fit It is for committing a completed, focused change with an automatically generated intent, with an option to preserve already staged files.

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

Made for: Claude Code.

Or install git-agent, the plugin that ships this one along with the rest of its 4 skills, 1 agent.

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/fradser/dotclaude/commit/github.svg)](https://agentmods.dev/skills/fradser/dotclaude/commit)
Your own site
<a href="https://agentmods.dev/skills/fradser/dotclaude/commit"><img src="https://agentmods.dev/badge/skills/fradser/dotclaude/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/fradser/dotclaude/commit"><img src="https://agentmods.dev/badge/skills/fradser/dotclaude/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 421 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 88% copy Near-identical to another mod 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.00041 $0.00421
Opus 5.5 $0.00016 $0.00168
Sonnet 5.5 $0.00008 $0.00084
Haiku 4.5 $0.00004 $0.00042

Measured 23d ago against content hash ccfc34361903, 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 23d 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.

Origin

This is a copy

88% identical to commit-and-push — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

git-agent/skills/commit/SKILL.md · 35 lines

What it actually says

CRITICAL:

  • Do NOT run git status, git diff, git log, or any other read commands before git-agent commit.
  • Execute git-agent commit directly. git-agent (v0.7.0+) automatically detects active model attribution from session environment variables (PI_MODEL, etc.).

Execution

  1. Derive a concise one-sentence intent from the conversation or $ARGUMENTS.
  2. Pass --co-author "<co-author>" if explicitly specified in $ARGUMENTS or user instructions.
  3. Run primary commit command:
    git-agent commit --intent "<intent>"
    
  4. If specific files are already staged, pass --no-stage:
    git-agent commit --no-stage --intent "<intent>"
    
  5. On auth error (401), retry with --free:
    git-agent commit --free --intent "<intent>"
    
  6. Fallback (if git-agent binary is not found): report the error and ask the user to install git-agent or run git commands manually.

CLI Reference: ../../references/cli.md Attribution & retry-ladder reference: ../../references/coauthor-attribution.md (covers --no-attribution and the --free retry)

Deterministic messages: When an exact commit message is required (e.g. version bump chore: bump version to 0.11.0), pass the full conventional message as the --intent value. The intent is used as the commit subject verbatim.

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. 23d ago Changed · +1 lines ccfc34361903
  2. 3mo ago First seen · 34 lines · 41 tokens per session scan A 0224cc6ee141

Subscribe to this mod's changes

commit is a skill published in the GitHub repository FradSer/dotclaude (598 stars, last pushed 24d ago), licensed MIT. It adds 41 tokens to every session and 421 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to commit-and-push, differing in 9 lines, and is treated as a copy.

Related

commit compared with skills from other repositories

commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commitFradSer/dotclaudeSkill59824d agoMITA41Claude Code
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4ktodayApache-2.0A15Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill11ktodayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill4.2ktodayApache-2.0A25Claude Code
contributingHugoRCD/evlogSkill2.0k2d agoMITA68Claude Code, Codex
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k26d agoMITA53Claude Code, Codex