quick-commit

A quick Git command for committing and pushing a small code change. Git is the tool that records code versions and sends them to a shared repository.

In plain words
What is it for?
Use it with a commit message to review, commit, and push a small set of changes to the remote repository.
Why use it?
It avoids the longer commit process for minor changes while checking that there is work to commit and that no obvious problem is visible. It warns when the change may be too large for this shortcut.

Command

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/sangrokjung/claude-forge/quick-commit
Clone the repo
git clone --depth 1 https://github.com/sangrokjung/claude-forge
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 521 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.00014 $0.00521
Opus 5 $0.00007 $0.00260
Sonnet 5 $0.00003 $0.00104
Haiku 4.5 $0.00001 $0.00052

Measured 2d ago against content hash 00f70e4b9b99, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

commands/quick-commit.md · 102 lines

What it actually says

/quick-commit - 빠른 커밋 (v6)


0단계: 메시지 확인

커밋 메시지가 인자로 제공되었는지 확인한다. 메시지가 없으면 에러를 출력하고 종료한다.

사용법: /quick-commit "커밋 메시지"

1단계: 변경사항 확인

git status --short
git diff --stat

변경사항이 없으면 에러를 출력하고 종료한다.

변경 규모 체크:

  • 변경 파일 3개 초과 또는 20줄 초과 시 경고:
    변경이 큽니다. 전체 워크플로우 권장:
    /handoff-verify → /sync-docs → /commit-push-pr --merge
    
    그래도 빠른 커밋하려면 "계속"이라고 입력하세요.
    

2단계: 빠른 검증

git diff로 변경 내용을 확인한다:

  • 명백한 오류만 체크
  • 문제 있으면 안내 후 중단

3단계: 커밋 실행

git add -A
git commit -m "{메시지}"
git push

4단계: 출력

성공 시

════════════════════════════════════════════════════════════════
  Quick Commit v6
════════════════════════════════════════════════════════════════

  커밋: {short_hash}
  메시지: {메시지}
  변경: +{N} -{N} ({N} files)

════════════════════════════════════════════════════════════════

메시지 누락 시

════════════════════════════════════════════════════════════════
  Quick Commit v6
════════════════════════════════════════════════════════════════

  커밋 메시지가 필요합니다.

  사용법: /quick-commit "fix: 오타 수정"

════════════════════════════════════════════════════════════════

변경사항 없을 때

════════════════════════════════════════════════════════════════
  Quick Commit v6
════════════════════════════════════════════════════════════════

  커밋할 변경사항이 없습니다.
  git status: clean

════════════════════════════════════════════════════════════════
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. 2d ago First seen · 102 lines · 14 tokens per session scan A 00f70e4b9b99

Subscribe to this mod's changes

quick-commit is a command published in the GitHub repository sangrokjung/claude-forge (821 stars, last pushed 4d ago), licensed MIT. It adds 14 tokens to every session and 521 once invoked, about $0.0001 per session on Opus 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.