commit

commit is a skill for Claude Code from sneg55/agent-starter. It costs 35 tokens per session (479 once invoked), scanned A, original, MIT.

A Git workflow that reviews your current code changes and creates one new commit with a concise explanation of why they were made.

In plain words
What is it for?
Use it to turn staged or unstaged changes into a single Git commit while checking the branch, recent commits, and possible secret files.
Why use it?
It removes the need to manually inspect the diff and decide how to phrase the commit. It also follows the repository’s existing commit style and avoids unsafe commit shortcuts.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the agent-starter plugin — 10 skills, 5 hooks shipped together

Good fit Use it to turn staged or unstaged changes into a single Git commit while checking the branch, recent commits, and possible secret files.

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

Made for: Claude Code.

Or install agent-starter, the plugin that ships this one along with the rest of its 10 skills, 5 hooks.

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/sneg55/agent-starter/commit/github.svg)](https://agentmods.dev/skills/sneg55/agent-starter/commit)
Your own site
<a href="https://agentmods.dev/skills/sneg55/agent-starter/commit"><img src="https://agentmods.dev/badge/skills/sneg55/agent-starter/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/sneg55/agent-starter/commit"><img src="https://agentmods.dev/badge/skills/sneg55/agent-starter/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 479 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 26
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00035 $0.00479
Opus 5.5 $0.00014 $0.00192
Sonnet 5.5 $0.00007 $0.00096
Haiku 4.5 $0.00003 $0.00048

Measured 3mo ago against content hash 55cb2073d47b, 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 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.

skills/commit/SKILL.md · 49 lines

What it actually says

Git Commit

Context

Gather this context before committing:

  • Current git status: git status
  • Current git diff (staged and unstaged): git diff HEAD
  • Current branch: git branch --show-current
  • Recent commits: git log --oneline -10

Git Safety Protocol

  • NEVER update the git config
  • NEVER skip hooks (--no-verify, --no-gpg-sign, etc) unless the user explicitly requests it
  • CRITICAL: ALWAYS create NEW commits. NEVER use git commit --amend, unless the user explicitly requests it
  • Do not commit files that likely contain secrets (.env, credentials.json, etc). Warn the user if they specifically request to commit those files
  • If there are no changes to commit (i.e., no untracked files and no modifications), do not create an empty commit
  • Never use git commands with the -i flag (like git rebase -i or git add -i) since they require interactive input which is not supported

Task

Based on the changes, create a single git commit:

  1. Analyze all staged changes and draft a commit message:

    • Look at the recent commits to follow this repository's commit message style
    • Summarize the nature of the changes (new feature, enhancement, bug fix, refactoring, test, docs, etc.)
    • Ensure the message accurately reflects the changes and their purpose (i.e. "add" means a wholly new feature, "update" means an enhancement to an existing feature, "fix" means a bug fix, etc.)
    • Draft a concise (1-2 sentences) commit message that focuses on the "why" rather than the "what"
  2. Stage relevant files and create the commit using HEREDOC syntax:

git commit -m "$(cat <<'EOF'
Commit message here.
EOF
)"

Stage and create the commit in a single message. Do not do anything else.

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 · 49 lines · 35 tokens per session scan A 55cb2073d47b

Subscribe to this mod's changes

commit is a skill published in the GitHub repository sneg55/agent-starter (77 stars, last pushed 5d ago), licensed MIT. It adds 35 tokens to every session and 479 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-30.

Related

commit compared with skills from other repositories

commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commitsneg55/agent-starterSkill775d agoMITA35Claude Code
git-for-research-codehajibabaie/combinatorial-optimization-skillsSkill225mo agoMITA117Claude Code
branch-and-worktree-workflowcbrock84/headcountSkill2.6ktodayMITA70Claude Code
pr-reviewoliver-kriska/claude-elixir-phoenixSkill579todayMITA59Claude Code
phx-pr-reviewoliver-kriska/claude-elixir-phoenixSkill579todayMITA61Claude Code, Codex
genshijin-commitInterfaceX-co-jp/genshijinSkill337yesterdayMITA88Claude Code
committhoughtbot/rails-consultantSkill3910d agoMITA20Claude Code