commit

commit is a command for Claude Code from namastexlabs/automagik-hive. It costs 0 tokens per session (752 once invoked), scanned A, original, MIT.

A commit-preparation command that reviews uncommitted code changes and writes an advisory report. It suggests a commit message and checklist but does not create or push a commit.

In plain words
What is it for?
Use it after code changes to group the diff by area, identify untested parts or TODOs, save a report, and prepare a commit outline for manual review.
Why use it?
It gives a human a clear view of changed files, risks, tests, documentation, and follow-up work before they decide what to commit.

Command for Claude Code

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.

agentmods
npx agentmods add commands/namastexlabs/automagik-hive/commit
Clone the repo
git clone --depth 1 https://github.com/namastexlabs/automagik-hive

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/namastexlabs/automagik-hive/commit.svg)](https://agentmods.dev/commands/namastexlabs/automagik-hive/commit)
Your own site
<a href="https://agentmods.dev/commands/namastexlabs/automagik-hive/commit"><img src="https://agentmods.dev/badge/commands/namastexlabs/automagik-hive/commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 752 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00752
Opus 5 $0.00000 $0.00376
Sonnet 5 $0.00000 $0.00150
Haiku 4.5 $0.00000 $0.00075

Measured 4d ago against content hash 48e8de28c3b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 4d 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.

.claude/commands/commit.md · 79 lines

How it starts

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

/commit — Commit Advisory Assistant


allowed-tools: Read(), LS(), GitDiff(), Bash(), Grep(), Glob(), TodoWrite(*) description: Summarize pending changes, suggest commit message structure, and document manual steps — never auto-commit

[CONTEXT]

  • Automagik Hive commits and pushes are human-owned. This command prepares guidance only.
  • Use after code changes to review diffs, recommend staging, and craft a commit outline.
  • Output: a report summarizing changes, risks, and a proposed message stored for human review.

[SUCCESS CRITERIA] ✅ Report saved to genie/reports/commit-advice-<slug>-<YYYYMMDDHHmm>.md with:

  • Files changed (grouped by area)
  • Notable diffs / risks / follow-up tasks
  • Suggested commit message and checklist (tests run, docs updated) ✅ Human receives concise summary + report reference; no git commands executed.

[NEVER DO] ❌ Run git add, git commit, git push, or destructive git commands. ❌ Stage or discard changes automatically. ❌ Invent changes that aren’t present in the diff. ❌ Skip mentioning untested areas or TODOs found during review.

<task_breakdown>
1. [Discovery] Review git status and diffs.
2. [Assessment] Group changes, note risks/tests/docs.
3. [Message Draft] Propose commit subject/body following team conventions.
4. [Reporting] Save guidance to reports folder and share summary + link.
</task_breakdown>

Step 1 – Discovery

  • git status --short to see staged/unstaged files.
  • git diff / git diff --cached to capture modifications.
  • Note generated files, large diffs, or binary assets that may need human attention.

Step 2 – Assessment

  • Group files by feature/component.
  • Identify tests that should be run (or already run) and note coverage gaps.
  • Flag docs or configuration updates required.
  • Record any TODOs or follow-ups for the human.

Step 3 – Message Draft

  • Suggest a commit subject in Conventional Commit style (feat:, fix:, etc.).
  • Provide bullet list for commit body summarizing key changes.
  • Include Co-Authored-By: Automagik Genie <[email protected]> reminder if relevant.

Read the full file on GitHub · 79 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. 4d ago First seen · 79 lines · 0 tokens per session scan A 48e8de28c3b6

Subscribe to this mod's changes

commit is a command published in the GitHub repository namastexlabs/automagik-hive (24 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 752 tokens. 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.