commit

commit is a skill for Claude Code from ncaq/konoka. It costs 42 tokens per session (2,151 once invoked), scanned A, original, Apache-2.0.

A Haskell naming guideline for test modules. It places a test in the same module namespace as the code under test and adds the Spec suffix, such as Env.TypeSpec for Env.Type.

In plain words
What is it for?
Use it when naming Haskell test modules or organizing Cabal library and test directories.
Why use it?
It makes the relationship between production code and its tests easy to find. It also leaves room for broader tests that cover several modules or no single module.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the commit plugin — 2 skills shipped together

Good fit Use it when naming Haskell test modules or organizing Cabal library and test directories.

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

Made for: Claude Code.

Or install commit, the plugin that ships this one along with the rest of its 2 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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ncaq/konoka/commit/github.svg)](https://agentmods.dev/skills/ncaq/konoka/commit)
Your own site
<a href="https://agentmods.dev/skills/ncaq/konoka/commit"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/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/ncaq/konoka/commit"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,151 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.00042 $0.02151
Opus 5.5 $0.00017 $0.00860
Sonnet 5.5 $0.00008 $0.00430
Haiku 4.5 $0.00004 $0.00215

Measured yesterday against content hash 76680121cf76, 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 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.

plugins/commit/skills/commit/SKILL.md · 184 lines

How it starts

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

Gitリポジトリの変更をコミットします。 差分からコミットメッセージを生成してcommit-msgフックで検査し、 manual確認モードではユーザの確認を取ってから、 auto確認モードでは確認を取らずにコミットします。

確認モード

引数の$ARGUMENTSを確認モードとして解釈します。

  • manual: 差分とコミットメッセージをユーザに見せて、確認を取ってからコミットします。
  • auto: 差分の表示と確認を省き、コミットメッセージを提示してそのままコミットします。

引数が空の場合はmanualです。 manualともautoとも解釈できない値の場合もmanualとして扱い、 解釈できなかった値を完了報告で伝えます。 確認を省くのは、autoと明示された場合だけにするためです。

コミットの準備

!commit-prepare

上は、このスキルの読み込み時にcommit-prepareを実行した出力です。 commit-prepareは、ステージ済みの変更があればそれだけをコミットの対象にします。 ステージ済みの変更が1つも無ければ、全ての変更をgit add --allでステージして対象にします。 成功すると、以下のキーを持つJSONを1行で出力します。

  • editmsgPath: コミットメッセージを書き込むファイルのパスです。 以降はメッセージファイルと呼びます。 このファイルはまだ作られていません。
  • patchPath: ステージされた差分を書き出したファイルのパスです。 以降はパッチファイルと呼びます。

プラグインの導入や更新の直後は、ビルドのログが前に付くことがありますが、JSONの行が結果です。

このJSONが得られていない場合は、準備に失敗しています。 コミットする変更が無い場合もこの失敗になります。 出力されている内容を報告して、終了してください。

以降のコマンド例の<editmsgPathの値>と<patchPathの値>は、JSONの値に置き換えて実行します。

コミットメッセージの生成

Skillツールでcommit:commit-styleスキルを呼び出し、そのスタイルガイドラインに従います。

Readツールでパッチファイルを読んで変更の内容を把握し、コミットメッセージを生成します。 生成したコミットメッセージを、Writeツールでメッセージファイルに書き込みます。 メッセージファイルにはコミットメッセージだけを書きます。 差分を書くと、差分までコミットメッセージとして検査され、コミットされてしまうためです。

コミットメッセージの検査

以下のコマンドで検査します。

run-commit-msg-hook <editmsgPathの値>

git commitが起動するのと同じcommit-msgフックで、メッセージファイルを検査するコマンドです。 失敗した場合は、出力された指摘に従ってコミットメッセージを直して、再実行します。 3回直しても検査を通らない場合は、どちらの確認モードでも、 指摘の内容をユーザに報告して指示を仰ぎます。

フックはメッセージファイルを書き換えることがあります。 検査を通ったらReadツールでメッセージファイルを読み直し、 以降はその内容をコミットメッセージとして扱います。

差分の表示

manualの場合だけ行います。

コミットメッセージの確認の直前に、以下のコマンドでステージされた差分をユーザに見せます。

show-staged-patch <patchPathの値>

差分はこのコマンドの出力だけで見せます。 自分の文章として差分を出力し直さず、要約や説明も付けずに、コミットメッセージの確認へ進みます。 差分の全文を出力し直すと時間がかかり、 差分の中にコードフェンスがあるとMarkdownの表示が壊れるためです。

コミットメッセージの確認

manualの場合だけ行います。

AskUserQuestionツールで、コミットメッセージの扱いをユーザに確認します。 質問文には、コミットメッセージの全文を、要約も省略もせずに含めます。 ユーザがその内容を見て判断するためです。

選択肢には以下の2つを設定します。

  • このままコミットする(Recommended): コミットメッセージをそのまま使ってコミットします。
  • テキストエディタで編集する: エディタでコミットメッセージを編集してからコミットします。

このままコミットする場合

Read the full file on GitHub · 184 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 Changed · -60 lines 76680121cf76
  2. 11d ago Changed · +10 lines e95479de7cbc
  3. 26d ago Changed · -1 lines ce8927cc7e16
  4. 3mo ago First seen · 235 lines · 42 tokens per session scan A b3825c952409

Subscribe to this mod's changes

commit is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 42 tokens to every session and 2,151 once invoked, about $0.0002 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-31.

Related

commit compared with skills from other repositories

commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commitncaq/konokaSkill3yesterdayApache-2.0A42Claude Code
github-project-automationsecondsky/claude-skillsSkill257todayMITA45Claude Code
hono-routingsecondsky/claude-skillsSkill257todayMITA41Claude Code
api-testingsecondsky/claude-skillsSkill257todayMITA39Claude Code
bun-http-serversecondsky/claude-skillsSkill257todayMITA31Claude Code
bun-jest-migrationsecondsky/claude-skillsSkill257todayMITA25Claude Code
cloudflare-workers-migrationsecondsky/claude-skillsSkill257todayMITA49Claude Code