commit-changes

commit-changes is a skill for Claude Code from tomoking2004/claude-plugins. It costs 113 tokens per session (3,489 once invoked), scanned A, original, MIT.

A Git workflow that divides uncommitted changes into meaningful groups and proposes complete commit messages before committing them after approval.

In plain words
What is it for?
Use it to record work in a Git repository without pushing it to a remote repository. Git is the system that tracks file history and commits.
Why use it?
It keeps unrelated changes from being bundled together and prevents changes from being recorded before the proposed messages are reviewed.

Skill for Claude Code

Written for Claude Code: dynamic context !`command`. Also seen: reads .claude/ paths.

Part of the capstone plugin — 3 skills shipped together

Good fit Use it to record work in a Git repository without pushing it to a remote repository. Git is the system that tracks file history and commits.

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

Made for: Claude Code.

Or install capstone, the plugin that ships this one along with the rest of its 3 skills.

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-changes

README.md
[![agentmods](https://agentmods.dev/badge/skills/tomoking2004/claude-plugins/commit-changes/github.svg)](https://agentmods.dev/skills/tomoking2004/claude-plugins/commit-changes)
Your own site
<a href="https://agentmods.dev/skills/tomoking2004/claude-plugins/commit-changes"><img src="https://agentmods.dev/badge/skills/tomoking2004/claude-plugins/commit-changes/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-changes

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomoking2004/claude-plugins/commit-changes"><img src="https://agentmods.dev/badge/skills/tomoking2004/claude-plugins/commit-changes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,489 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.00113 $0.03489
Opus 5.5 $0.00045 $0.01396
Sonnet 5.5 $0.00023 $0.00698
Haiku 4.5 $0.00011 $0.00349

Measured today against content hash bfdd16bf6550, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commit-changes 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 today.

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.

plugins/capstone/skills/commit-changes/SKILL.md · 93 lines

How it starts

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

対象:作業ツリーの未コミット変更(追跡済みの差分と未追跡ファイル)と,それを記録するコミット群.

リポジトリ

!git rev-parse --show-toplevel 2>/dev/null | grep '' || echo "(git リポジトリではない)"

現在の状態

!git status --short 2>/dev/null | grep '' || echo "(未コミットの変更なし——記録するものが無い)"

追跡済みの差分の要約

!git diff HEAD --stat 2>/dev/null | grep '' || echo "(追跡済みの差分なし)"

追跡済みの差分(先頭の2000行まで——要約に並ぶファイルのうち,ここに現れないか途中で切れたものは,手順2で git diff HEAD -- <パス> を走らせて読む)

!git diff HEAD 2>/dev/null | head -2000 | grep '' || echo "(追跡済みの差分なし)"

直近のコミットと,それが触れたファイル(type・scope の選び方の手本)

!git log --format='%h %s' --name-only -10 2>/dev/null | grep '' || echo "(前例なし——コミットがまだ無い)"

直近のコミットの全文(声・言語・書式の手本)

!git log -5 --format='──── %h%n%B' 2>/dev/null | grep '' || echo "(手本なし——コミットがまだ無い)"

手順

  1. 前提確認:git リポジトリでなければ git init を実行してから進め,実行したことを告げる(初期ブランチ名は git の既定に従う).未コミットの変更が無ければ,記録するものが無いと告げて終える.
  2. 分割:変更を意味単位に分割する.未追跡の新規ファイル・初コミットで差分に出ない変更は内容を直接読む.独立して説明できる変更は分け,一つの意図に属する変更はまとめる.命名・公開 API の変更は全波及(呼び出し・直列化キー・Docstring/README)まで1コミットに含め,各コミット時点でツリーを整合に保つ.
  3. 提案:各コミットに完全なメッセージ(件名+本文)を全文で提案する.「文面の基準」に従い,出す前に「固有の走査」を全件通し,通した証跡を提案に添える——照らした手本のコミット,裏取りした事実,実測した字数,私的な語の検査の結果を数行で.走査は成果物を残さないので,黙って飛ばしても外からは見えない;添えれば見える.通さなかった走査があれば,その旨と理由も書く.提案の時点の git status --short と,{ git ls-files -s; git diff; git ls-files -o --exclude-standard -z | xargs -0 -r git hash-object; } | git hash-object --stdin を sh で打ち,その出力を控える(未追跡ファイルの中身まで捕らえる).
  4. 承認:平文の提案へのチャットの返信で受ける——選択式ダイアログは提案の表示を妨げるため使わない(承認でなく選ぶだけの問いは選択式でよい).承認まで add/commit しない.承認が覆うのは見せた内容だけである——提案の後に内容を変えたら(但し書き1つでも)示して改めて問い,見せていない他所の変更を含めない.修正指示は反映して再提案,意図の割れる箇所は問う.
  5. 実行:承認後,最初のステージの直前に一度だけ,手順3のコマンドを打ち直して控えと比べ,違えば何もステージせず再提案する.一致すれば,push はせず,コミットごとに対象パスだけステージする.一つのファイルの変更が複数のコミットに分かれるときは,作業ツリーを変えず,各コミットの時点でそのファイルが持つ中身をリポジトリの外のファイルに作って,git update-index --add --cacheinfo "<モード>,$(git hash-object -w --path <パス> <作ったファイル>),<パス>" でステージする(モードは git ls-files -s <パス> の先頭の値,新規ファイルは 100644,実行ファイルなら 100755).git diff --cached がそのコミットの変更だけを持つことを確かめてからコミットする.コミットのたびに git log -1 --format=%B でメッセージ全文を読み,承認した全文との一致を確かめる.

Read the full file on GitHub · 93 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. today Changed · +30 lines bfdd16bf6550
  2. 9d ago First seen · 63 lines · 113 tokens per session scan A 39814975120f

Subscribe to this mod's changes

commit-changes is a skill published in the GitHub repository tomoking2004/claude-plugins (3 stars, last pushed today), licensed MIT. It adds 113 tokens to every session and 3,489 once invoked, about $0.0005 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-11-21.

Related

commit-changes compared with skills from other repositories

commit-changes next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commit-changestomoking2004/claude-pluginsSkill3todayMITA113Claude Code
applymelodic-software/claude-code-pluginsSkill33todayMITA109Claude Code
commit-message-writingshopwareLabs/ai-coding-toolsSkill4813d agoMITA160Claude Code
addmelodic-software/claude-code-pluginsSkill33todayMITA65Claude Code
parallel-orchestratorjimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA78Claude Code
parallel-workerjimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA59Claude Code
dev-workflowSagargupta16/claude-skillsSkill517d agoMITA42Claude Code