commit

commit is a skill for Claude Code, Codex from Jewgah/claude-code-skills. It costs 15 tokens per session (1,084 once invoked), scanned A, original, MIT.

A Git workflow helper that reviews staged changes, creates a conventional commit, and updates the project's roadmap and memory files when relevant. Git is a tool for tracking code changes and recording them as commits.

In plain words
What is it for?
Use it after making changes that are ready to record, especially when the repository also maintains a roadmap file.
Why use it?
It provides a consistent way to save completed work and keep the project's change history up to date.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it after making changes that are ready to record, especially when the repository also maintains a roadmap file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jewgah/claude-code-skills/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 Jewgah/claude-code-skills --skill commit
Clone the repo
git clone --depth 1 https://github.com/Jewgah/claude-code-skills

Made for: Claude Code, Codex.

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/jewgah/claude-code-skills/commit/github.svg)](https://agentmods.dev/skills/jewgah/claude-code-skills/commit)
Your own site
<a href="https://agentmods.dev/skills/jewgah/claude-code-skills/commit"><img src="https://agentmods.dev/badge/skills/jewgah/claude-code-skills/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/jewgah/claude-code-skills/commit"><img src="https://agentmods.dev/badge/skills/jewgah/claude-code-skills/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,084 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.01084
Opus 5.5 $0.00006 $0.00434
Sonnet 5.5 $0.00003 $0.00217
Haiku 4.5 $0.00002 $0.00108

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

skills/commit/SKILL.md · 93 lines

How it starts

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

Commit & Self-Maintain CLAUDE.md + Memory

Step 1: Commit

  1. Run git status (never use -uall), git diff --cached, and git log --oneline -5 in parallel.
  2. Analyze all staged changes. Draft a concise commit message:
    • Use conventional commits: feat:, fix:, refactor:, docs:, chore:, etc.
    • Focus on why, not what.
    • NEVER include Co-Authored-By lines or mention Claude.
  3. Stage relevant untracked files if needed (prefer specific files over git add .).
  4. Commit using a HEREDOC for the message. Do NOT use --no-verify.
  5. Run git status to confirm success.

Step 2: Update ROADMAP.md

After committing, update ROADMAP.md at the project root.

  1. Gitignore rule: ROADMAP.md should normally be tracked by git and committed alongside the changes it describes. Only leave it gitignored if that specific repo already does so.
  2. Read the current ROADMAP.md (create it if it doesn't exist).
  3. Prepend a new entry at the top (most recent first) with this format:
## [commit hash short] - [commit message] ([date YYYY-MM-DD])

**Problem:** [What was wrong or missing - 1-2 sentences]

**Solution:** [What was done to fix/implement it - 1-2 sentences]

**Files changed:** [list of key files touched, not exhaustive]

---
  1. Keep entries concise and useful. Focus on the why and the how, not line-by-line diffs.
  2. If the commit is trivial (typo fix, formatting), still add an entry but keep it minimal.

Step 3: Evaluate CLAUDE.md Relevance

After committing, read the project's CLAUDE.md (if one exists) and review the committed diff against it.

Update CLAUDE.md ONLY if the commit changed something the file already documents or should document:

  • A new backend function/endpoint/service → add to whatever list tracks those
  • A new data model/entity/schema → add to whatever list tracks those
  • A changed core flow (auth, payments, data pipeline, etc.) → update the relevant section
  • A new critical constraint or gotcha discovered → add to constraints/warnings section
  • An architecture shift (new library, new pattern, new convention) → update architecture docs
  • A removed or renamed component that CLAUDE.md references → fix the stale reference

Read the full file on GitHub · 93 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 · 93 lines · 15 tokens per session scan A b4b93a107cf2

Subscribe to this mod's changes

commit is a skill published in the GitHub repository Jewgah/claude-code-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 15 tokens to every session and 1,084 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-09-14.

Related

Other skills, from other repositories

antfu-create-pr

Create a reviewable GitHub pull request from the current branch with a Conventional Commits title, a concise evidence-based body, and before/after screenshots for UI changes. Use when asked to open, create, publish, or prepare a PR.

antfu/skills · 54 tokens

git-workflow

Git best practices, branching strategies, commit conventions, and code review patterns.

cosmicstack-labs/mercury-agent-skills · 18 tokens

create-pr

Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.

agent-skills-hub/agent-skills-hub · 36 tokens

codex-review

Professional code review with auto CHANGELOG generation, integrated with Codex AI.

agent-skills-hub/agent-skills-hub · 18 tokens

implement-suggestion

Implements review-comment suggestions across one or more PRs. Multi-PR mode (default when $ARGUMENTS holds PR URLs; empty $ARGUMENTS auto-detects the active PR) resolves a worktree per PR, fetches every actionable comment from human teammates AND AI review bots (claude[bot], coderabbitai[bot], …), validates each…

mthines/agent-skills · 199 tokens

pr-review

One-shot read-only review of a GitHub PR — dispatches the pr-reviewer agent and reports its verdict and findings without touching your code. The short entry point for "review this PR" when you do not want an apply-and-converge loop. Also writes maintainer relevance rules via /pr-review remember . Invoke with…

mthines/agent-skills · 78 tokens