claude-sdk-rs: Command for Claude Code

.claude/commands/commit.md

commit is a command for Claude Code from bredmond1019/claude-sdk-rs. It costs 0 tokens per session (347 once invoked), scanned A, original, Apache-2.0.

A Git commit command that reviews changed files, proposes a conventional commit message, and asks for confirmation before saving the commit. Git is the system commonly used to track code changes.

In plain words
What is it for?
Use it to stage relevant changes and create a code, fix, test, documentation, or maintenance commit.
Why use it?
It separates code and documentation changes when needed and reduces accidental commits by showing the files and message first.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents.

This is bredmond1019/claude-sdk-rs's own configuration. It tells Claude Code how to work on claude-sdk-rs itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-sdk-rs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bredmond1019/claude-sdk-rs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bredmond1019/claude-sdk-rs/main/.claude/commands/commit.md
Clone the repo
git clone --depth 1 https://github.com/bredmond1019/claude-sdk-rs

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/bredmond1019/claude-sdk-rs/commit/github.svg)](https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/commit)
Your own site
<a href="https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/commit"><img src="https://agentmods.dev/badge/commands/bredmond1019/claude-sdk-rs/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.

agentmods 80×15 button for commit

Your own site · 80×15
<a href="https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/commit"><img src="https://agentmods.dev/badge/commands/bredmond1019/claude-sdk-rs/commit.svg" alt="Reviewed on agentmods" width="80" 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 347 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 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.1 $0.00000 $0.00347
Opus 5.5 $0.00000 $0.00139
Sonnet 5.5 $0.00000 $0.00069
Haiku 4.5 $0.00000 $0.00035

Measured 11d ago against content hash fb9c00d28a9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 11d 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 · 31 lines

What it actually says

Commit — Stage and commit changes with a conventional message.

Variables

$ARGUMENTS — optional commit message override or scope hint.

Execution Model

Run entirely inline. Spawn no subagent. Committing is a handful of git commands plus a confirmation prompt — the round trip through a subagent adds latency without adding value.

Instructions

  1. Run git status and git diff --stat to see what changed.
  2. Determine the commit strategy:
    • Only code changed (no planning/ or log.md): one code commit.
    • Only planning/docs changed (planning/, log.md, *.md): one docs: commit.
    • Both changed: two commits — code first, then docs.
  3. Draft a short conventional commit message:
    • Format: <type>(<scope>): <summary> — e.g. feat(auth): add token refresh, docs: update status.md for block 2
    • Types: feat, fix, refactor, test, docs, chore
    • Keep the summary under 72 characters.
    • If $ARGUMENTS is provided, use it as the message or incorporate it as the scope/summary.
  4. Show the staged files and proposed message to the user and ask for confirmation before committing.
  5. On confirmation, stage the relevant files and commit. Do not use git add -A — add files explicitly by name.
  6. Do not push. Do not use --no-verify.

Context / Files to Read

None — this command runs git commands only.

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. 11d ago First seen · 31 lines · 0 tokens per session scan A fb9c00d28a9d

Subscribe to this mod's changes

commit is a command published in the GitHub repository bredmond1019/claude-sdk-rs (23 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 347 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-10-26.

Related

commit compared with commands from other repositories

commit next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commitbredmond1019/claude-sdk-rsCommand231mo agoApache-2.0A0Claude Code
implement-featureHoangNguyen0403/agent-skills-standardCommand583todayMITA0Claude Code
AGENTSmax-sixty/worktrunkCommand12kyesterdaynoneA0Claude Code
implementmarcusgoll/Spec-FlowCommand961mo agoMITA20Claude Code
pr-readycostajohnt/oss-autopilotCommand264d agoMITA45Claude Code
git-workflowHermeticOrmus/LibreUIUX-Claude-CodeCommand1151mo agoMITA14Claude Code
check-fixjuliusz-cwiakalski/agentic-delivery-osCommand43todayMITA23OpenCode