Borrowing it
Nothing to install: this file belongs to mindroom-ai/mindroom. 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/mindroom-ai/mindroom/main/.claude/commands/commit.mdgit clone --depth 1 https://github.com/mindroom-ai/mindroomWrote 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/mindroom-ai/mindroom/commit)<a href="https://agentmods.dev/commands/mindroom-ai/mindroom/commit"><img src="https://agentmods.dev/badge/commands/mindroom-ai/mindroom/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/mindroom-ai/mindroom/commit"><img src="https://agentmods.dev/badge/commands/mindroom-ai/mindroom/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.00007 | $0.00585 |
| Opus 5.5 | $0.00003 | $0.00234 |
| Sonnet 5.5 | $0.00001 | $0.00117 |
| Haiku 4.5 | $0.00001 | $0.00059 |
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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Safe Git Commit Practices
Current Status
- Git status: !
git status - Staged changes: !
git diff --staged - Unstaged changes: !
git diff
CRITICAL Reminders
-
Selective Staging
- NEVER use
git add .orgit add -A - Review with
git statusbefore staging - Add files individually:
git add <filename> - Review
git diff --stagedandgit statusafter staging
- NEVER use
-
Why This Matters
- Project has unstaged debugging scripts
- Temporary test files must not be committed
- Configuration files with credentials need protection
- Only commit relevant changes from current work
-
Pre-commit Validation
- ALWAYS run:
pre-commit run --all-files - Ensures code style compliance
- Fixes linting issues automatically
- Validates Python formatting with ruff
- ALWAYS run:
-
Commit Message Style Guide
- Format:
type(scope): description(conventional commits) - Types: feat, fix, docs, style, refactor, test, chore, perf, ci, build, revert
- Scope: Include in parentheses when clear module/area affected
- Description rules:
- Use lowercase after colon (unless proper nouns: Docker, Matrix, AI)
- Keep first line under 72 characters
- Use imperative mood ("Add" not "Added", "Fix" not "Fixed")
- Be specific about what changed
- For bugs: describe what was broken
- For features: describe capability added
- For refactors: explain what was restructured
Good examples:
feat: Add Direct Message (DM) support for private agent conversationsfix(profile): Handle null user data in profile loadingrefactor: Extract team formation logic into private functiontest: Add comprehensive tests for extra_kwargs functionalitydocs: Add comprehensive deployment guide for instance manager
For incomplete work:
WIP: [description]is acceptable - Format:
-
Final Checks
- Run
pytestto ensure tests pass - Review
git diff --stagedandgit status - Verify no unrelated files included
- Check for sensitive information
- Commit the reviewed index with
git commit
- Run
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 Changed · +2 lines 16a58969ab9a
- 1mo ago First seen · 61 lines · 7 tokens per session scan A 0718cd897795
commit is a command published in the GitHub repository mindroom-ai/mindroom (346 stars, last pushed today), licensed Apache-2.0. It adds 7 tokens to every session and 585 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-30.
Other commands, from other repositories
caveman-commit
Generate a terse caveman-style commit message for staged changes.
commit
Creates commits with Conventional Commits format (feat/fix/docs/refactor/test/chore), scope detection, co-author attribution, and pre-commit hook compliance. Validates staged changes and prevents secrets or generated-only files from being committed. Use for requests to commit, stage and commit, save progress, or write…
quick-push
Git add all, commit with Claude, and push to current/new feature branch.
commit
A command that examines staged Git changes and proposes a commit message using the Conventional Commits format, such as feat, fix, or docs. Git is a tool for tracking changes to code.
dev
Developer tools — debug, commit, PR, code review, refactoring.
careful
Blocks destructive shell commands once invoked: a PreToolUse Bash guard denies rm -rf outside temp dirs, force pushes and remote branch deletes, git reset --hard, DROP TABLE / DROP DATABASE / TRUNCATE, kubectl delete and terraform or tofu destroy, including inside ssh remote commands, and makes Claude ask the…