commit

commit is a skill for Claude Code, Codex from Kevin-Liu-01/Agent-Machines. It costs 18 tokens per session (245 once invoked), scanned A, original, MIT.

A workflow for creating a short Git commit with a standard format, such as `fix(api): handle empty response`. A commit is a saved snapshot of selected changes in a repository.

In plain words
What is it for?
Use it to inspect the current Git state, stage named files by purpose, and create a conventional commit message for the work.
Why use it?
It helps keep project history consistent and prevents unrelated files from being included accidentally. It also encourages one focused change per commit.

Skill for Claude CodeCodex

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/kevin-liu-01/agent-machines/commit
Any agent
npx skills add Kevin-Liu-01/Agent-Machines --skill commit
Clone the repo
git clone --depth 1 https://github.com/Kevin-Liu-01/Agent-Machines

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/kevin-liu-01/agent-machines/commit.svg)](https://agentmods.dev/skills/kevin-liu-01/agent-machines/commit)
Your own site
<a href="https://agentmods.dev/skills/kevin-liu-01/agent-machines/commit"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 245 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 $0.00018 $0.00245
Opus 5 $0.00009 $0.00122
Sonnet 5 $0.00004 $0.00049
Haiku 4.5 $0.00002 $0.00024

Measured 4d ago against content hash 03d326b89219, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

knowledge/skills/commit/SKILL.md · 29 lines

What it actually says

Context

  • Status: !git status -sb
  • Diff: !git diff HEAD --stat
  • Branch: !git branch --show-current
  • Recent commits: !git log --oneline -10

Rules

Commits are terse one-liner conventional commits: type(scope): description.

  • type: feat, fix, refactor, docs, test, chore
  • scope: affected area (module, package, or feature)
  • description: imperative mood, lowercase, no period, under 72 characters
  • Never use "and" in a commit message. Two changes = two commits.

Stage files by name (never git add -A or git add .). Group changes by intent.

Task

Based on the context above, stage the relevant files and create the commit. Do not use any other tools. Do not send any text besides the tool calls.

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. 4d ago First seen · 29 lines · 18 tokens per session scan A 03d326b89219

Subscribe to this mod's changes

commit is a skill published in the GitHub repository Kevin-Liu-01/Agent-Machines (25 stars, last pushed 3d ago), licensed MIT. It adds 18 tokens to every session and 245 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

bernstein-run

Run a verified multi-agent goal with Bernstein. Use when a task is too large for a single agent session: Bernstein decomposes the goal into tasks, spawns CLI coding agents in parallel git worktrees, verifies their output, and merges results. Also use to check run status, costs, and to verify a finished run against its…

sipyourdrink-ltd/bernstein · 75 tokens

bernstein-plan

Create and manage multi-step execution plans in Bernstein. Plans decompose complex goals into stages with dependencies. Use when the user wants to plan a complex feature, break down a large task, or review an execution plan before agents start working.

sipyourdrink-ltd/bernstein · 51 tokens

bernstein-agents

Manage Bernstein agents - list active agents, inspect their output, kill stalled agents, or stream live logs. Use when the user asks about agents, wants to see what an agent is doing, or needs to kill one.

sipyourdrink-ltd/bernstein · 49 tokens

bernstein-approve

Review and approve/reject pending tasks or plans in Bernstein. Use when the user asks about approvals, wants to review agent work, or needs to approve/reject a plan before execution begins.

sipyourdrink-ltd/bernstein · 43 tokens

bernstein-create-task

Create a new task in the Bernstein orchestrator. Use when the user wants to add a task, delegate work to an agent, file a bug fix, or queue up work for the orchestrator to handle.

sipyourdrink-ltd/bernstein · 47 tokens

bernstein-quality

Show quality metrics for Bernstein runs - success rates per model, lint/test pass rates, completion time distributions. Use when the user asks about quality, reliability, which model performs best, or pass rates.

sipyourdrink-ltd/bernstein · 44 tokens