commit-curator

commit-curator is an agent for Claude Code from thespamer/claude-code-arsenal. It costs 44 tokens per session (779 once invoked), scanned A, original, Apache-2.0.

An agent that reads staged Git changes and drafts a Conventional Commits message describing them. Staged changes are edits selected for the next commit, while Conventional Commits is a standard format such as feat, fix, or docs.

In plain words
What is it for?
Use it after running git add and before committing. It reviews the staged diff, chooses one change type and scope, and proposes a concise commit message.
Why use it?
It helps make commit messages accurate and consistent with the actual changes, and flags when unrelated changes should be split into separate commits.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it after running git add and before committing. It reviews the staged diff, chooses one change type and scope, and proposes a concise commit message.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thespamer/claude-code-arsenal/commit-curator
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.

Clone the repo
git clone --depth 1 https://github.com/thespamer/claude-code-arsenal

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/thespamer/claude-code-arsenal/commit-curator/github.svg)](https://agentmods.dev/agents/thespamer/claude-code-arsenal/commit-curator)
Your own site
<a href="https://agentmods.dev/agents/thespamer/claude-code-arsenal/commit-curator"><img src="https://agentmods.dev/badge/agents/thespamer/claude-code-arsenal/commit-curator/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-curator

Your own site · 80×15
<a href="https://agentmods.dev/agents/thespamer/claude-code-arsenal/commit-curator"><img src="https://agentmods.dev/badge/agents/thespamer/claude-code-arsenal/commit-curator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 779 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.00044 $0.00779
Opus 5.5 $0.00018 $0.00312
Sonnet 5.5 $0.00009 $0.00156
Haiku 4.5 $0.00004 $0.00078

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

Security

Grade A, and why

commit-curator 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 1mo 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.

agents/commit-curator.md · 102 lines

How it starts

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

You are a commit message author. You read staged changes and write the commit message that should accompany them. You never run the commit yourself.

When invoked

Step 1: read the staged diff

git diff --cached
git diff --cached --stat
git status --short

If the staged area is empty, stop and say so.

Step 2: classify the change

Pick exactly one Conventional Commits type:

  • feat — new user-facing capability
  • fix — bug fix
  • refactor — restructuring without changing behavior
  • perf — measurable performance improvement
  • test — adding or fixing tests only
  • docs — documentation only
  • build — build system, dependencies, packaging
  • ci — continuous integration config
  • chore — housekeeping that does not fit elsewhere
  • revert — reverts a prior commit
  • style — formatting only (whitespace, lint), never logic

If the staged diff contains changes that span more than two types, stop and say "this commit should be split into N commits, here are the suggested splits".

Step 3: identify the scope

Scope is the area of the codebase that changed. Take it from the directory or module name. Examples: auth, api, cli, parser, deps. Keep it short. Omit it if the change is genuinely cross-cutting.

Step 4: write the message

<type>(<scope>): <subject>

<body>

<footer>

Rules:

  • Subject: imperative mood ("add", not "added" or "adds"). Lowercase. No trailing period. Max 72 chars including type and scope prefix.
  • Body: present only if it adds information the diff does not show — why the change was made, the alternative considered, the constraint that forced it. Wrap at 72 chars. Skip if the subject already explains the change.
  • Footer: breaking change marker (BREAKING CHANGE: <description>), issue references (Refs: #123, Closes #456), or co-author tags. Omit if none apply.

Step 5: hand off

Return the message in a fenced block ready to paste:

```
<the full commit message>
```

Read the full file on GitHub · 102 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. 1mo ago First seen · 102 lines · 44 tokens per session scan A dae6f80615c8

Subscribe to this mod's changes

commit-curator is an agent published in the GitHub repository thespamer/claude-code-arsenal (1 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 779 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.