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.
npx agentmods add commands/sumihiro3/monomi/logical-commitsgit clone --depth 1 https://github.com/sumihiro3/MonomiWrote 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.
[](https://agentmods.dev/commands/sumihiro3/monomi/logical-commits)<a href="https://agentmods.dev/commands/sumihiro3/monomi/logical-commits"><img src="https://agentmods.dev/badge/commands/sumihiro3/monomi/logical-commits.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00981 |
| Opus 5 | $0.00000 | $0.00491 |
| Sonnet 5 | $0.00000 | $0.00196 |
| Haiku 4.5 | $0.00000 | $0.00098 |
Grade A, and why
logical-commits 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.
What it actually says
Logical Commits Command
変更されたファイルを分析して、論理的な単位でコミットを分割して作成します。
引数: $ARGUMENTS(autoApprove=true を指定するとコミット前のユーザー承認を省略する。省略時は autoApprove=false=現行どおりコミット前のユーザー承認必須)
処理の流れ
git statusで変更されたファイルを確認git diffで変更内容を確認- ファイルを論理的な単位にグループ化
- 各グループごとに適切なコミットメッセージを作成
- コミット案 (分け方 + メッセージ) をユーザーに提示して承認を待つ(
autoApprove=trueのときは案の提示のみ行い、承認待ちを省略する) - 承認後にコミットを実行
コミットの分類基準
機能追加 (feat:)
- 新しいファイルの追加
- 新しい機能の実装
- 例:
feat: 一覧画面に検索フィルタを追加
リファクタリング (refactor:)
- 既存コードの改善・整理
- import文の変更
- ディレクトリ構造の変更
- 例:
refactor: 重複していた日付整形処理を共通関数に集約
ドキュメント (docs:)
- README、CLAUDE.md等のドキュメント更新
- コメントの追加・改善
- 例:
docs: CLAUDE.mdにコーディング規約を追加
設定ファイル (chore:)
- package.json、tsconfig.json等の設定変更
- 依存関係の追加・更新
- 例:
chore: テストフレームワークの依存パッケージを追加
コミットメッセージの形式
<type>: <subject>
<body>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
- type: feat, refactor, docs, chore, fix など
- subject: 変更の概要(日本語、1行)
- body: 詳細な説明(必要に応じて)
実行
このコマンドを実行すると、Claude Code が自動的に:
- 変更ファイルを分析
- 論理的なグループに分類
- 適切なコミットメッセージを生成
- コミット案を提示してユーザー承認を取得(
autoApprove=trueのときは承認取得を省略) - 承認後に順次コミットを作成
各コミットは人間の開発者が理解しやすい単位で分割されます。
重要: ユーザー承認の取得
autoApprove=false(既定)では、commit 実行前に必ず以下をユーザーに見せて承認を取る:
- コミットの分け方 (何件に分けるか、各コミットに含めるファイル)
- 各コミットのメッセージ (type / subject / body)
承認の方法は AskUserQuestion または平文で「以下の内容で commit してよいですか?」
と尋ねる。「はい」「OK」「進めて」等の明示的な肯定があってから git add /
git commit を実行する。
CLAUDE.md の global rule (「Only create commits when requested by the user」) との整合性を保つため、スキル経由の起動でも原則として自動 commit はしない。
例外: run-release ワークフローからの autoApprove=true 起動
(既定値は config.automation.autoApprove) は、ユーザーによるコミットの
一括承認とみなす。この場合は承認待ちを省略し、コミット案を提示したうえで
順次コミットを実行してよい。
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.
- 4d ago First seen · 89 lines · 0 tokens per session scan A 02c1c4da75c4
logical-commits is a command published in the GitHub repository sumihiro3/Monomi (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 981 tokens. 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.
Other commands, from other repositories
review-diff
Review the current working diff for correctness, security, and reuse.
ship
Create a new git branch, commit changes, and create a pull request.
release
Release a new version of rubyllm-agents to RubyGems and GitHub.
merge
Verify CI, merge the PR, delete the branch, and return to an updated main.
commit
Split working changes into multiple logical git commits.
git
Command "git" from Pranav-Karra-3301/tuck, covering sync main, new feature, new fix, commit feature and commit fix.