Borrowing it
Nothing to install: this file belongs to iolairus/borderlint. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/iolairus/borderlint/main/.claude/commands/git-commit.mdgit clone --depth 1 https://github.com/iolairus/borderlintWrote 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.
[](https://agentmods.dev/commands/iolairus/borderlint/git-commit)<a href="https://agentmods.dev/commands/iolairus/borderlint/git-commit"><img src="https://agentmods.dev/badge/commands/iolairus/borderlint/git-commit/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.
<a href="https://agentmods.dev/commands/iolairus/borderlint/git-commit"><img src="https://agentmods.dev/badge/commands/iolairus/borderlint/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.00571 |
| Opus 5.5 | $0.00007 | $0.00228 |
| Sonnet 5.5 | $0.00003 | $0.00114 |
| Haiku 4.5 | $0.00002 | $0.00057 |
Grade A, and why
git-commit 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.
What it actually says
Create one or more semantical organized conventional commits for the staged/pending work. $ARGUMENTS may name the change; otherwise infer it from the current branch — feature/<change> or feature/<task id>-<change> per workflow.yaml (strip a leading Jira key like PROJ-123- before matching against openspec/changes/).
Steps
-
Read
workflow.yaml(git.commit_convention,git.commit_scope_from,git.branch_prefix). Rungit statusandgit diffto see what changed. If nothing changed, say so and stop. -
Identify the OpenSpec change and which
tasks.mdtask(s) this work completes. If the diff mixes unrelated concerns, propose splitting into multiple commits and stage selectively (git add -pby file groups). -
Build the messages:
- type: feat | fix | refactor | test | docs | chore — from the nature of the diff, not the task title.
- scope: the change name (or a tighter module name if obvious).
- subject: imperative, ≤72 chars.
- body: what & why, wrapped at 72.
- footer:
Change: <change-name>andTask: <tasks.md step number(s)>; addJira: <task id>(e.g.PROJ-123) if the change is linked to a backlog task.BREAKING CHANGE:when applicable.
-
Show the messages, commit on approval, then tick the completed task(s) in
tasks.mdand amend or include that in the commit. -
Suggest the next step: if
tasks.mdhas unchecked steps,/opsx:applyto continue; if all are done,/pr-open(feature branch) or/ship(integration branch).
Branch policy (git.work_mode in workflow.yaml):
- On
main: never commit. Offer to switch to the integration branch or create a feature branch. - On the integration branch: allowed if
work_mode: flexible(confirm with the user the first time in the session); ifwork_mode: feature, offer to create a feature branch first. - When creating a feature branch: look up the linked task (frontmatter
change:match inbacklog/tasks/); if found and itsidis a real Jira key (not a-Dnndraft), name the branchfeature/<id>-<change>, otherwisefeature/<change>. - On a feature branch: commit normally.
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.
- 2mo ago First seen · 29 lines · 17 tokens per session scan A 5354a508cacf
git-commit is a command published in the GitHub repository iolairus/borderlint (10 stars, last pushed 7d ago), licensed MIT. It adds 17 tokens to every session and 571 once invoked, about $0.0001 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.
git-commit compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-commitiolairus/borderlint | Command | 10 | 7d ago | MIT | A | 17 | Claude Code |
| standupvvedantb/eva | Command | 101 | yesterday | MIT | A | 0 | Claude Code |
| gitazrtydxb/procoder | Command | 211 | 11d ago | Apache-2.0 | A | 20 | Claude Code |
| session-reportdamusix/atomic-claude | Command | 115 | 4d ago | MIT | A | 31 | Claude Code |
| commitechoVic/blade-code | Command | 181 | 24d ago | MIT | A | 8 | Claude Code |
| git-workflowHermeticOrmus/LibreUIUX-Claude-Code | Command | 115 | 1mo ago | MIT | A | 14 | Claude Code |
| commitjoaquimscosta/arkhe-claude-plugins | Command | 22 | 22d ago | MIT | A | 11 | Claude Code |