commit

commit is a skill for Claude Code from StephenQiu30/stephen-claude. It costs 36 tokens per session (599 once invoked), scanned A, original, MIT.

A skill for creating a Git commit, which is a saved version of changes in a code repository, using the session history and project rules.

In plain words
What is it for?
Use it when committing changes, preparing a commit message, or finalizing staged work.
Why use it?
It helps produce commit messages that match the actual work and follow the repository's required ordering and categories.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

Good fit Use it when committing changes, preparing a commit message, or finalizing staged work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stephenqiu30/stephen-claude/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.

Any agent
npx skills add StephenQiu30/stephen-claude --skill commit
Clone the repo
git clone --depth 1 https://github.com/StephenQiu30/stephen-claude

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/skills/stephenqiu30/stephen-claude/commit/github.svg)](https://agentmods.dev/skills/stephenqiu30/stephen-claude/commit)
Your own site
<a href="https://agentmods.dev/skills/stephenqiu30/stephen-claude/commit"><img src="https://agentmods.dev/badge/skills/stephenqiu30/stephen-claude/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/skills/stephenqiu30/stephen-claude/commit"><img src="https://agentmods.dev/badge/skills/stephenqiu30/stephen-claude/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 599 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.00036 $0.00599
Opus 5.5 $0.00014 $0.00240
Sonnet 5.5 $0.00007 $0.00120
Haiku 4.5 $0.00004 $0.00060

Measured 1mo ago against content hash 0d65628011f9, 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 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.

.claude/skills/commit/SKILL.md · 70 lines

How it starts

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

Commit

Goals

  • Produce a commit that reflects the actual code changes and the session context.
  • Follow WORKFLOW.md and CLAUDE.md commit discipline (allowed types and test-first ordering).
  • Include both summary and rationale in the body.

Allowed commit types

Only these subject prefixes are allowed:

  • test: — failing tests, fixtures, mocks, acceptance scripts, test-only expectations
  • impl: — smallest implementation that makes existing red tests pass
  • feat: — user-visible capability or behavior changes (after prior test: unless documented as not scriptable)
  • refactor: — behavior-preserving cleanup after tests are green
  • docs: — documentation, examples, workflow text, acceptance notes
  • chore: — CI, configuration, dependency metadata, generated housekeeping

For feature or behavior work, preserve order: test: first, then impl:/feat:, then optional refactor:, docs:, or chore:.

Do not mix unrelated types in one commit. Split by type when practical.

Inputs

  • Session history for intent and rationale.
  • git status, git diff, and git diff --staged for actual changes.
  • WORKFLOW.md, CLAUDE.md, and workpad Commit Plan when present.

Steps

  1. Read session history to identify scope, intent, and rationale.
  2. Inspect the working tree and staged changes (git status, git diff, git diff --staged).
  3. Stage intended changes (git add -A) after confirming scope.
  4. Sanity-check newly added files; flag build artifacts, logs, or temp files before committing.
  5. If staging is incomplete or includes unrelated files, fix the index or ask for confirmation.
  6. Choose the allowed type that matches the staged diff. Do not use fix: or scoped conventional types unless documented as an exception.
  7. Write a subject line in imperative mood, <= 72 characters. Format: <type> <short summary>.
  8. Write a body with summary, rationale, and tests or validation run (or why not run).
  9. Wrap body lines at 72 characters.
  10. Create the commit message with a here-doc or temp file and use git commit -F <file>.
  11. Commit only when the message matches the staged changes.

Read the full file on GitHub · 70 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. 1mo ago First seen · 70 lines · 36 tokens per session scan A 0d65628011f9

Subscribe to this mod's changes

commit is a skill published in the GitHub repository StephenQiu30/stephen-claude (2 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 599 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-31.

Related

Other skills, from other repositories

ziw-pr

Use when opening, refreshing, or shipping the current branch as a pull request with Conventional Commits, push, PR creation, and issue linking, in bounded fix rounds; hooks and CI are the check gate.

zaks-io/skills · 46 tokens

roadmap-task-deliver

Deliver the first eligible unfinished roadmap task through implementation, review, green CI, PR merge, and a task-status update. Use for autonomous delivery from local roadmap and task files. Files can be outside the code repository or outside Git.

yarlson/yarstack · 52 tokens

plan-deliver

Autonomously deliver an approved implementation plan to a ready GitHub pull request. Use when the user supplies a plan in the conversation or a file and authorizes implementation, commits, pushes, PR state changes, CI remediation, and resolution of requested automated review feedback; use jira-issue-deliver when the…

yarlson/yarstack · 71 tokens

phase-commit

Create one local commit for a completed, validated, and reviewed unit of work. Use only when the user explicitly requests a commit without pushing or other delivery actions.

yarlson/yarstack · 36 tokens

know-code

Gate git commit, git push, and PR creation until the human passes a comprehension quiz about the current code changes. Use when commit/push/PR is blocked by know-code, when the user asks to run know-code or verify they understand the diff, or before shipping. Start with know-code range begin for multi-commit work. Run…

chtnnh/know-code · 91 tokens

git-commit-guide

A guide for making Git commits, which are saved snapshots of code changes, in small logical units with consistent messages and pre-commit checks.

Grid0723/skills · 48 tokens