commit

commit is a skill for Claude Code from kaltinril/Kernsmith. It costs 77 tokens per session (1,200 once invoked), scanned A, original, MIT.

A Git workflow for preparing and creating commits from staged and unstaged changes. A commit is a saved snapshot of repository changes with a message describing what changed.

In plain words
What is it for?
Use it when committing code, including checking recent message style, excluding data and credentials, and updating related project phase documents when the changes require it.
Why use it?
It reduces missed files and poorly described commits by checking the working tree, reviewing changes, selecting files safely, and verifying the result afterward.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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.

agentmods
npx agentmods add skills/kaltinril/kernsmith/commit
Any agent
npx skills add kaltinril/Kernsmith --skill commit
Clone the repo
git clone --depth 1 https://github.com/kaltinril/Kernsmith

Made for: Claude Code.

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/kaltinril/kernsmith/commit.svg)](https://agentmods.dev/skills/kaltinril/kernsmith/commit)
Your own site
<a href="https://agentmods.dev/skills/kaltinril/kernsmith/commit"><img src="https://agentmods.dev/badge/skills/kaltinril/kernsmith/commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,200 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00077 $0.01200
Opus 5 $0.00039 $0.00600
Sonnet 5 $0.00015 $0.00240
Haiku 4.5 $0.00008 $0.00120

Measured yesterday against content hash 486bbcfd7d6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 yesterday.

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.

.claude/skills/commit/SKILL.md · 101 lines

How it starts

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

Commit

Automate the full git commit workflow in one shot. No user intervention needed between steps unless something looks wrong.

Important

Run all git commands directly (e.g., git status) without prefixing cd <path> &&. The Bash tool already runs in the project's working directory, and the cd prefix breaks permission allow-list matching on Bash(git *).

Steps

1. Gather context (run all three in parallel)

git status           # overview of staged, unstaged, untracked (NEVER use -uall)
git diff --stat      # summary of staged + unstaged changes
git log --oneline -5 # recent messages for style matching

2. Check for phase doc updates

Before drafting the commit message, scan the diff for changes that should be reflected in project docs. If changes touch phase deliverables (new API methods, schema changes, parser updates, etc.), check whether plan/master-plan.md or the relevant plan/phase-*.md file needs updating. If so, make those edits and include them in the commit. Don't create a separate commit for doc updates — bundle them together.

2b. Update phase document status

If the changes being committed implement work from a specific phase, update the phase's status in both the phase document and the master plan. This keeps the project's planning docs in sync with reality.

How to determine which phase is affected:

  • Look at the files being changed and match them to phase deliverables
  • Check commit message context (e.g., "Phase 55" in the message or branch name)
  • If unsure, skip this step — only update when you're confident

What to update in the phase doc (plan/phase-*.md):

  • Update the > **Status**: line in the header (e.g., PlanningIn Progress, In ProgressComplete, or PlanningPartial if only some items were done)

What to update in plan/master-plan.md:

  • Update the status column in the Active Plans table to match
  • Update the phase heading in the Phased Implementation section (e.g., (PLANNING)(IN PROGRESS) or (COMPLETE))

Read the full file on GitHub · 101 lines

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. yesterday First seen · 101 lines · 77 tokens per session scan A 486bbcfd7d6a

Subscribe to this mod's changes

commit is a skill published in the GitHub repository kaltinril/Kernsmith (9 stars, last pushed 8d ago), licensed MIT. It adds 77 tokens to every session and 1,200 once invoked, about $0.0004 per session on Opus 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-09-04.