commit

commit is a skill for Claude Code from vitoworleone/claude-code-handbook. It costs 11 tokens per session (295 once invoked), scanned A, original, MIT.

A guide for creating a Git commit, which is a saved set of code changes, from the current differences in a project.

In plain words
What is it for?
Use it to inspect staged and unstaged changes, classify the work, create an English message in the form type(scope): description, and add selected files before committing.
Why use it?
It helps choose a consistent commit-message format and prevents unrelated or sensitive files from being included accidentally.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to inspect staged and unstaged changes, classify the work, create an English message in the form type(scope): description, and add selected files before committing.

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

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/vitoworleone/claude-code-handbook/commit/github.svg)](https://agentmods.dev/skills/vitoworleone/claude-code-handbook/commit)
Your own site
<a href="https://agentmods.dev/skills/vitoworleone/claude-code-handbook/commit"><img src="https://agentmods.dev/badge/skills/vitoworleone/claude-code-handbook/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/vitoworleone/claude-code-handbook/commit"><img src="https://agentmods.dev/badge/skills/vitoworleone/claude-code-handbook/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 295 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 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.00011 $0.00295
Opus 5.5 $0.00004 $0.00118
Sonnet 5.5 $0.00002 $0.00059
Haiku 4.5 $0.00001 $0.00030

Measured 1mo ago against content hash 944aba323e35, 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 1mo ago.

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

mewcode/mewcode/skills/builtins/commit/SKILL.md · 39 lines

What it actually says

任务

你需要帮用户创建一个 git commit。

步骤

  1. 运行 git status 查看当前变更状态
  2. 运行 git diff 和 git diff --staged 查看具体变更内容
  3. 分析变更,确定 commit 类型和范围:
    • feat: 新功能
    • fix: 修复 bug
    • docs: 文档变更
    • refactor: 重构
    • test: 测试
    • chore: 构建/工具变更
  4. 生成 commit message,格式:type(scope): description
  5. 用 git add 逐个添加相关文件(不要添加 .env、credentials 等敏感文件)
  6. 执行 git commit -m "生成的 message"
  7. 如果用户提供了额外说明,纳入 commit message
  8. 如果变更覆盖超过 10 个文件,建议用户拆分成多个 commit

注意事项

  • 不要用 git add -A 或 git add .,逐个文件添加
  • commit message 用英文
  • description 不超过 72 个字符

$ARGUMENTS

Files

What ships with it

1 file 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. 1mo ago First seen · 39 lines · 11 tokens per session scan A 944aba323e35

Subscribe to this mod's changes

commit is a skill published in the GitHub repository vitoworleone/claude-code-handbook (48 stars, last pushed 1mo ago), licensed MIT. It adds 11 tokens to every session and 295 once invoked, about $0.0000 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.