quick-commit

quick-commit is a command for Claude Code from solanabr/solana-ai-kit. It costs 15 tokens per session (585 once invoked), scanned A, original, MIT.

A Git workflow command that prepares and records code changes. Git is a tool for tracking code history, while a conventional commit message follows a consistent format.

In plain words
What is it for?
Starting a task from the main branch, creating a feature branch, staging changes, formatting and linting code, running quick tests, writing a commit message, and committing.
Why use it?
It gathers several routine checks and commit steps into one process, reducing missed formatting, linting, testing, or branch setup.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Starting a task from the main branch, creating a feature branch, staging changes, formatting and linting code, running quick tests, writing a commit message, and committing.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/solanabr/solana-ai-kit/quick-commit
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.

Clone the repo
git clone --depth 1 https://github.com/solanabr/solana-ai-kit

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 quick-commit

README.md
[![agentmods](https://agentmods.dev/badge/commands/solanabr/solana-ai-kit/quick-commit/github.svg)](https://agentmods.dev/commands/solanabr/solana-ai-kit/quick-commit)
Your own site
<a href="https://agentmods.dev/commands/solanabr/solana-ai-kit/quick-commit"><img src="https://agentmods.dev/badge/commands/solanabr/solana-ai-kit/quick-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 quick-commit

Your own site · 80×15
<a href="https://agentmods.dev/commands/solanabr/solana-ai-kit/quick-commit"><img src="https://agentmods.dev/badge/commands/solanabr/solana-ai-kit/quick-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 585 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.00015 $0.00585
Opus 5.5 $0.00006 $0.00234
Sonnet 5.5 $0.00003 $0.00117
Haiku 4.5 $0.00002 $0.00059

Measured 22d ago against content hash f0b8e24e458e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quick-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 22d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/commands/quick-commit.md · 19 lines

How it starts

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

Commit the current work with a conventional commit message. $ARGUMENTS, if given, is the message or a hint for it.

Steps

  1. Branch. On main or master, propose <type>/<scope>-<description>-<DD-MM-YYYY> (e.g. feat/program-vault-15-01-2026; date from date +%d-%m-%Y; type from the change: feat, fix, docs, test, refactor, chore) and ask: create it, use a custom name, or stay. Create it with git checkout -b <name>; uncommitted changes come along.
  2. Stage. If git status --short is empty, stop. If something is already staged, commit only that. Otherwise stage modified and new files, leaving out secrets and build output (.env, .env.local, *keypair*.json, id.json, target/, node_modules/) and saying what was left out.
  3. Format, then re-stage what it touched (git add -u): cargo fmt for Rust, npx prettier --write on the changed TS/JS/JSON files, ruff format for Python.
  4. Lint: cargo clippy --all-targets -- -D warnings; npm run lint when package.json defines it. Fix what is quick and report the rest.
  5. Message: type(scope): summary, imperative, under 72 characters, written from git diff --cached rather than from file names. Types: feat, fix, refactor, perf, test, docs, style, chore, ci. Scope is the area touched (program, frontend, tests, docs, deps). Add a body with the why when the change is not obvious. No AI attribution or Co-Authored-By trailer (the kit sets attribution to empty strings in settings.json).
  6. Commit. Show git diff --cached --stat and the message, then git commit. The kit's PreToolUse hook on git commit re-runs cargo fmt --check, clippy and cargo test --lib for program crates, and prettier plus tsc --noEmit for JS/TS projects. It blocks the commit on a failure, or after it reformats files. Fix, re-stage and retry; don't skip hooks with --no-verify.

Output

Branch, commit hash and message, files committed, and any lint warnings left unfixed. This only runs quick checks; run the full suites (/test-rust, /test-ts) before pushing.

Read the full file on GitHub · 19 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. 22d ago Changed · -507 lines · +2 tokens per session f0b8e24e458e
  2. 1mo ago First seen · 526 lines · 13 tokens per session scan A 383de92f33c7

Subscribe to this mod's changes

quick-commit is a command published in the GitHub repository solanabr/solana-ai-kit (104 stars, last pushed 22d ago), licensed MIT. It adds 15 tokens to every session and 585 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-30.