commit-gate

commit-gate is a skill for Claude Code from arbiterForge/codeArbiter. It costs 45 tokens per session (5,364 once invoked), scanned A, original, AGPL-3.0.

A gated workflow for creating a Git commit, which records selected code changes in version control. It checks the branch, changes, tests, lint results, secrets, and commit message before saving anything.

In plain words
What is it for?
It helps prepare and review staged changes, run verification checks, inspect the diff, choose what to include, and create a commit.
Why use it?
It reduces the risk of committing unreviewed, untested, or sensitive changes. It also keeps the commit process consistent.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It helps prepare and review staged changes, run verification checks, inspect the diff, choose what to include, and create a commit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arbiterforge/codearbiter/commit-gate
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.

Any agent
npx skills add arbiterForge/codeArbiter --skill commit-gate
Clone the repo
git clone --depth 1 https://github.com/arbiterForge/codeArbiter

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/arbiterforge/codearbiter/commit-gate/github.svg)](https://agentmods.dev/skills/arbiterforge/codearbiter/commit-gate)
Your own site
<a href="https://agentmods.dev/skills/arbiterforge/codearbiter/commit-gate"><img src="https://agentmods.dev/badge/skills/arbiterforge/codearbiter/commit-gate/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-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/arbiterforge/codearbiter/commit-gate"><img src="https://agentmods.dev/badge/skills/arbiterforge/codearbiter/commit-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,364 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 unknown 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.00045 $0.05364
Opus 5.5 $0.00018 $0.02146
Sonnet 5.5 $0.00009 $0.01073
Haiku 4.5 $0.00005 $0.00536

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

Security

Grade A, and why

commit-gate 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 2d 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.

core/surface/skills/commit-gate/SKILL.md · 262 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 2d ago Changed · +35 lines 836fc5619f7d
  2. 6d ago Changed · +42 lines cd353bad365a
  3. 14d ago Changed · +2 lines 896ef8ed1326
  4. 24d ago Changed · +6 lines · -36 tokens per session 5e2402b3c10d
  5. 29d ago Changed · +2 lines 6273fe08954d
  6. 1mo ago Changed · +20 lines 89e1ea33b22a
  7. 1mo ago Changed · +3 lines a3b66402bd78
  8. 1mo ago First seen · 152 lines · 81 tokens per session scan A a2267c3640be

Subscribe to this mod's changes

commit-gate is a skill published in the GitHub repository arbiterForge/codeArbiter (149 stars, last pushed today), licensed AGPL-3.0. It adds 45 tokens to every session and 5,364 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-09-03.

Related

Other skills, from other repositories

scope-check

Use before committing changes to verify no scope creep has occurred. Triggers when about to run git commit, when reviewing changes with git diff, when the diff touches files unrelated to the original task, or when more than 5 files have been modified. Also use when the user says "check scope", "did I go off track", or…

anotherben/claude-harness · 76 tokens

chinese-commit-conventions

A Chinese-language guide to Conventional Commits, a format for writing consistent Git commit messages, plus related changelog, commit-checking, and commit-helper configuration.

jnMetaCode/superpowers-zh · 65 tokens

review-delta

Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.

tirth8205/code-review-graph · 24 tokens

work-unit-commits

Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.

Gentleman-Programming/gentle-ai · 33 tokens

run-work

Execute a work unit end-to-end: sequence tasks by dependency, implement, test between tasks, commit, and track progress. Use to deliver a complete feature in one session. Invoked as /agiflow:run-work . Uses getworkunit, listtasks, updatetask, getworkunitprogress.

hashgraph-online/awesome-codex-plugins · 68 tokens

atmos-git

Atmos Git and GitOps: git.repositories, clone/pull/status/diff/commit/push/clean, local Git hook shims and hook env vars, signed commits, managed workdirs, fork-PR trust gate (clone gate and posting gate), and auth via identities or github/sts.

cloudposse/atmos · 64 tokens