Borrowing it
Nothing to install: this file belongs to dork-labs/dorkos. 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/dork-labs/dorkos/main/.claude/commands/git/commit.mdgit clone --depth 1 https://github.com/dork-labs/dorkosWrote 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/dork-labs/dorkos/commit)<a href="https://agentmods.dev/commands/dork-labs/dorkos/commit"><img src="https://agentmods.dev/badge/commands/dork-labs/dorkos/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/dork-labs/dorkos/commit"><img src="https://agentmods.dev/badge/commands/dork-labs/dorkos/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.00012 | $0.01169 |
| Opus 5.5 | $0.00005 | $0.00468 |
| Sonnet 5.5 | $0.00002 | $0.00234 |
| Haiku 4.5 | $0.00001 | $0.00117 |
Grade A, and why
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 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.
How it starts
The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Commit
Stage and commit changes after validating that there are no lint or type errors.
Arguments
Parse $ARGUMENTS for these optional flags:
| Argument | Effect |
|---|---|
-m "message" |
Use provided commit message instead of auto-generating |
--amend |
Amend the previous commit instead of creating new one |
--no-verify |
Skip lint and typecheck validation |
<files...> |
Stage only specified files (default: all changes) |
Examples:
/git:commit— Auto-generate message, stage all, validate/git:commit -m "fix: resolve auth race condition"— Use provided message/git:commit --amend— Amend previous commit/git:commit src/lib/auth.ts— Only stage and commit specific file/git:commit -m "wip" --no-verify— Quick WIP commit, skip checks
Task
Step 0: Parse Arguments
Extract flags from $ARGUMENTS:
- Check for
-m "..."or-m '...'— store asUSER_MESSAGE - Check for
--amendflag — store asAMEND=true - Check for
--no-verifyflag — store asSKIP_VERIFY=true - Remaining arguments are file paths — store as
FILES
Step 1: Run Validation Checks (unless --no-verify)
Skip this step if --no-verify flag was provided.
Run lint and typecheck in parallel. Both must pass before proceeding.
pnpm lint
pnpm typecheck
If either fails: Stop and report the errors. Do not proceed to commit.
Step 2: Review Changes
Show the current state of the repository:
# Show status
git status
# Show staged changes
git diff --staged
# Show unstaged changes
git diff
Step 3: Stage Changes
Stage changes for commit:
If specific files were provided:
git add <files...>
Otherwise, stage all changes:
git add -A
If there are no changes to commit (or stage), report this and stop.
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.
- 1mo ago First seen · 184 lines · 12 tokens per session scan A cf73b6185c9e
commit is a command published in the GitHub repository dork-labs/dorkos (12 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 1,169 once invoked, about $0.0000 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.
Other commands, from other repositories
commit-all
Stage and commit all current changes with a single message. Auto Git Push will pick up and push to origin within 30s.
clean_gone
Cleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including removing associated worktrees.
commit
Based on the above changes, create a single git commit.
commit-push-pr
Commit, push, and open a PR.
sp.git.commit_pr
An autonomous Git agent that intelligently executes git workflows. Your task is to intelligently executes git workflows to commit the work and create PR.
caveman-commit
Generate a terse caveman-style commit message for staged changes.