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/atman-33/kiro-for-codex-ide/generate-commit-message-draftgit clone --depth 1 https://github.com/atman-33/kiro-for-codex-ideWhat 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.00977 |
| Opus 5 | $0.00000 | $0.00489 |
| Sonnet 5 | $0.00000 | $0.00195 |
| Haiku 4.5 | $0.00000 | $0.00098 |
Grade A, and why
generate-commit-message-draft 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate Commit Message
You are a coding assistant operating at the root of a Git repository.
Follow the steps below carefully. If any step fails, continue the process and note the reason in the Notes section at the end of the output.
Goal
- Analyze the currently staged changes and generate a commit message.
- Reference the last 5 commit messages to infer the repository’s preferred writing style (format, tone, and conventions).
- Output the final message to
.tmp/commit-message-draft.md, completely overwriting any existing content.
Steps
-
Preconditions
- Assume the working directory is the repository root.
- If any Git command fails, continue and record the cause under
Notes.
-
Check staged files
-
Run:
git diff --staged --name-statusgit diff --staged
-
If there are no staged changes, write the following to
.tmp/commit-message-draft.mdand stop:# Commit Message (Draft) No staged changes were found. -
If staged files exist, proceed.
-
-
Analyze the last 5 commit messages
-
Run:
git log -n 5 --pretty=format:%H%n%s%n%b%n---END--- -
From these messages, infer:
- Title format (e.g.,
feat: ...,Fix ..., etc.) - Language (English or Japanese dominant)
- Title length range (e.g., 50–72 chars)
- Body structure (paragraphs vs. bullet points, use of
BREAKING CHANGE:orRefs #123) - Presence of footers (
Co-authored-by, etc.)
- Title format (e.g.,
-
Adopt a consistent style for the new message.
-
-
Summarize staged changes
- For each file, describe its intent in 1–2 sentences (why, what, how).
- Order the summary by importance: major → minor changes.
- If any destructive or API-breaking modifications are detected, add
BREAKING CHANGE:at the end of the body. - If related issue/PR numbers can be inferred, include
Refs #<number>in the footer.
-
Compose the commit message
- Title:
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.
- 3d ago First seen · 121 lines · 0 tokens per session scan A b8fba1aaa37a
generate-commit-message-draft is a command published in the GitHub repository atman-33/kiro-for-codex-ide (16 stars, last pushed 10mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 977 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-30.
Other commands, from other repositories
speckit.git.commit
Auto-commit changes after a Spec Kit command completes.
speckit.git.initialize
Initialize a Git repository with an initial commit.
fix-tickets
Autonomously fix one or more speckit-companion GitHub issues with the SpecKit Companion pipeline — clean branch, fix, review, PR, merge, reinstall — then write a manual-verification report. Self-hosting build loop.
ship-ticket
Ship an ALREADY-BUILT ticket — code review → PR → merge → learnings → install-local. Skips the build (you built it in SpecKit Companion). The tail of /fix-tickets, no rebuild.
bench-capture
Score the 2 bench variant folders for one size (build/acceptance/regression/conventions/capture + rubric + cross-solution review), record, report, and reset.
ship
Review code, update docs, and package a new version (project).