git-commit

ワーキングディレクトリでの変更をコミットします.

Command for Codex

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 commands/j5ik2o/event-store-adapter-js/git-commit
Clone the repo
git clone --depth 1 https://github.com/j5ik2o/event-store-adapter-js

Made for: Codex.

Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 528 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00014 $0.00528
Opus 5 $0.00007 $0.00264
Sonnet 5 $0.00003 $0.00106
Haiku 4.5 $0.00001 $0.00053

Measured yesterday against content hash f104e8245ea0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-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.

Origin

This is a copy

100% identical to git-commit — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/commands/git-commit.md · 57 lines

What it actually says

意味のある変更単位ごとにコミットを行うことは、コードの履歴を明確にし、将来の変更を追跡しやすくするために重要です。

以下の手順に従って、ワーキングディレクトリでの変更をコミットします。

0. 直近のコミットを確認する

直近にてどのようにコミットされているかを確認する

git log --oneline

これにより、最近のコミットの一覧が表示され、コミットメッセージとハッシュが確認できます。

1. 変更を確認する

まず、現在のワーキングディレクトリでの変更を確認します。以下のコマンドを実行してください:

git status

2. 変更をステージングする

変更をコミットする前に、ステージングエリアに追加する必要があります。以下のコマンドを使用して、すべての変更をステージングします:

git add 対象ファイルやディレクトリ

意味のある変更単位ごとにファイルを指定すること。無条件にすべての変更を追加しないでください。

3. コミットメッセージを作成する

コミットメッセージは、変更内容を簡潔に説明する重要な部分です。以下のコマンドを使用して、コミットを作成します:

git commit -m "コミットメッセージをここに入力"
  • コミットメッセージはConventional Commitsに従い、英語で記述してください。
  • co-authorやコミットメッセージに"Claude Code"などのエージェント名は含めないこと。

4. コミットを確認する

コミットが正しく行われたかを確認するために、以下のコマンドを実行します:

git log --oneline

これにより、最近のコミットの一覧が表示され、コミットメッセージとハッシュが確認できます。

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 · 57 lines · 14 tokens per session scan A f104e8245ea0

Subscribe to this mod's changes

git-commit is a command published in the GitHub repository j5ik2o/event-store-adapter-js (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 14 tokens to every session and 528 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to git-commit, differing in 0 lines, and is treated as a copy.