bro-commit-this

bro-commit-this is a command for Claude Code from dinnovos/dinnovos-marketplace. It costs 28 tokens per session (2,767 once invoked), scanned A, original, MIT.

A command that reviews pending changes in a Git repository, a project’s version-control history, and creates commits using the Conventional Commits naming format. It can separate unrelated changes into multiple commits.

In plain words
What is it for?
Use it to check repository changes, stage files, analyse the diff, group related edits, and create one or more appropriately named commits.
Why use it?
It removes the need to inspect every changed file and write commit messages manually. It also keeps mixed work organised when several kinds of changes are pending.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the bro-code-tools plugin — 8 commands shipped together

Good fit Use it to check repository changes, stage files, analyse the diff, group related edits, and create one or more appropriately named commits.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dinnovos/dinnovos-marketplace/bro-commit-this
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/dinnovos/dinnovos-marketplace

Made for: Claude Code.

Or install bro-code-tools, the plugin that ships this one along with the rest of its 8 commands.

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 bro-commit-this

README.md
[![agentmods](https://agentmods.dev/badge/commands/dinnovos/dinnovos-marketplace/bro-commit-this/github.svg)](https://agentmods.dev/commands/dinnovos/dinnovos-marketplace/bro-commit-this)
Your own site
<a href="https://agentmods.dev/commands/dinnovos/dinnovos-marketplace/bro-commit-this"><img src="https://agentmods.dev/badge/commands/dinnovos/dinnovos-marketplace/bro-commit-this/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 bro-commit-this

Your own site · 80×15
<a href="https://agentmods.dev/commands/dinnovos/dinnovos-marketplace/bro-commit-this"><img src="https://agentmods.dev/badge/commands/dinnovos/dinnovos-marketplace/bro-commit-this.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,767 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.00028 $0.02767
Opus 5 $0.00014 $0.01384
Sonnet 5 $0.00006 $0.00553
Haiku 4.5 $0.00003 $0.00277

Measured 8d ago against content hash d2670fbdfc7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

bro-commit-this 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 8d 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.

plugins/bro-code-tools/commands/bro-commit-this.md · 411 lines

How it starts

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

Auto Commit (Smart Multi-Commit Support)

Analyze pending files, generate descriptive messages, and execute commits. Automatically splits into multiple commits when necessary for better organization.

Step 1: Check repository status

git status --short

If there are no changes

If the command returns nothing, respond:

✅ No pending changes

Working directory is clean. Nothing to commit.

Stop here if there are no changes.

Step 2: Stage files

Check if there are staged files:

git diff --cached --name-only

If no files are staged, add all changes:

git add -A

Step 3: Analyze changes

Get the full diff of what will be committed:

git diff --cached --stat
git diff --cached

Read and analyze:

  • Which files were modified/added/deleted
  • What type of changes they are (feature, fix, refactor, docs, etc.)
  • What is the main purpose of the change

Step 4: Smart Commit Grouping Analysis

CRITICAL STEP: Determine if changes should be split into multiple commits.

4.1 Grouping Criteria

Analyze if changes belong to DIFFERENT logical groups:

Criterion Split if... Example
Type Mix of feat + fix + docs feat(auth) + fix(api) + docs(readme)
Scope/Module Changes in unrelated modules src/auth/ + src/payments/ + src/users/
Purpose Multiple independent features New login + Bug fix in cart
Layer Mix of frontend + backend + config Components + API routes + package.json

4.2 Grouping Decision Matrix

┌─────────────────────────────────────────────────────────────────┐
│ SHOULD I SPLIT INTO MULTIPLE COMMITS?                          │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│ ✅ SINGLE COMMIT if:                                            │
│    - All changes serve ONE purpose                              │
│    - All files are in the SAME module/feature                   │
│    - All changes are the SAME type (all feat, all fix, etc.)   │
│    - Changes are interdependent (one doesn't work without other)│
│                                                                 │
│ 🔀 MULTIPLE COMMITS if:                                         │
│    - Mix of features AND fixes                                  │
│    - Changes to UNRELATED modules                               │
│    - Independent changes that happened to be made together      │
│    - Documentation changes alongside code changes               │
│    - Config/dependency changes alongside feature changes        │
│    - Refactoring alongside new features                         │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 411 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. 8d ago First seen · 411 lines · 28 tokens per session scan A d2670fbdfc7d

Subscribe to this mod's changes

bro-commit-this is a command published in the GitHub repository dinnovos/dinnovos-marketplace (2 stars, last pushed 7mo ago), licensed MIT. It adds 28 tokens to every session and 2,767 once invoked, about $0.0001 per session on Opus 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.