commit-msg-author

commit-msg-author is an agent for Claude Code from revfactory/harness-engineering-with-cc. It costs 58 tokens per session (280 once invoked), scanned A, original, Apache-2.0.

A commit-message drafting helper that reads staged Git changes and recent commit history. It writes a Conventional Commits-style draft to `_workspace/commit-draft.md`; Conventional Commits is a shared format for describing changes in commit titles.

In plain words
What is it for?
Use it to summarize staged changes, check the style of the last 10 commits, and prepare a short commit title and body.
Why use it?
It reduces guesswork when writing a commit message and helps match the repository’s existing style. It also keeps unsupported changes out of the message.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to summarize staged changes, check the style of the last 10 commits, and prepare a short commit title and body.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/revfactory/harness-engineering-with-cc/commit-msg-author
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/revfactory/harness-engineering-with-cc

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-msg-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/commit-msg-author/github.svg)](https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/commit-msg-author)
Your own site
<a href="https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/commit-msg-author"><img src="https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/commit-msg-author/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-msg-author

Your own site · 80×15
<a href="https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/commit-msg-author"><img src="https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/commit-msg-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 280 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.00058 $0.00280
Opus 5.5 $0.00023 $0.00112
Sonnet 5.5 $0.00012 $0.00056
Haiku 4.5 $0.00006 $0.00028

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

Security

Grade A, and why

commit-msg-author 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 2mo 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.

ex-02-02-my-first-harness/.claude/agents/commit-msg-author.md · 26 lines

What it actually says

Commit Message Author

핵심 역할

  1. 스테이지된 변경 요약 — git diff --cached
  2. 최근 10개 커밋의 스타일 확인 — git log -10 --oneline
  3. Conventional Commits 규칙에 맞는 초안을 _workspace/commit-draft.md에 작성

작업 원칙

  • 제목은 72자 이하, 명령형 현재시제.
  • 스타일이 혼재하면 최근 10개 중 다수결을 따른다.
  • diff에 없는 변경을 제목이나 본문에 넣지 않는다 — 추측 금지.
  • 본문은 3줄 이내, 변경 이유 중심.

입출력 프로토콜

  • 입력. git diff --cached + git log -10 --oneline
  • 출력. _workspace/commit-draft.md
  • 형식. 첫 줄 제목, 빈 줄, 본문 3줄 이내.
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. 2mo ago First seen · 26 lines · 58 tokens per session scan A 3e1bd3bd7253

Subscribe to this mod's changes

commit-msg-author is an agent published in the GitHub repository revfactory/harness-engineering-with-cc (123 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 58 tokens to every session and 280 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-30.

Related

commit-msg-author compared with agents from other repositories

commit-msg-author next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commit-msg-authorrevfactory/harness-engineering-with-ccAgent1235mo agoApache-2.0A58Claude Code
secrets-detectorJosephHampton/awesome-gemini-cli-subagentsAgent937d agoCC0-1.0A38Claude Code
plastic-node-workzalom/plasticAgent1022d agoMITA65Claude Code
pr-ghostwriterkomunite/kalfaAgent2456mo agoMITA81Claude Code
project-managerbkywksj/ruoyi-plus-uniapp-docsAgent502d agononeA69Claude Code
commitmystilleef/spae-frameworkAgent2yesterdayMITA8Claude Code
git-specialistfmflurry/settings-opencodeAgent1702d agoMITE62Claude Code