commit

commit is a skill for Claude Code, Codex from imisic/claude-marketplace. It costs 22 tokens per session (1,029 once invoked), scanned A, original, MIT.

A gated workflow for creating a Git commit after checking the working tree, reviewing the changes and drafting a conventional commit message. Git is a system for tracking code changes.

In plain words
What is it for?
Checking status and recent commits, reviewing the diff for secrets or scratch files, and creating a structured commit when the checks pass.
Why use it?
It helps catch unfinished work, sensitive files and exposed credentials before they enter the project history.

Skill for Claude CodeCodex

Part of the dev-loop plugin — 3 skills shipped together

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 skills/imisic/claude-marketplace/commit
Any agent
npx skills add imisic/claude-marketplace --skill commit
Clone the repo
git clone --depth 1 https://github.com/imisic/claude-marketplace

Made for: Claude Code, Codex.

Or install dev-loop, the plugin that ships this one along with the rest of its 3 skills.

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/imisic/claude-marketplace/commit.svg)](https://agentmods.dev/skills/imisic/claude-marketplace/commit)
Your own site
<a href="https://agentmods.dev/skills/imisic/claude-marketplace/commit"><img src="https://agentmods.dev/badge/skills/imisic/claude-marketplace/commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,029 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.00022 $0.01029
Opus 5 $0.00011 $0.00515
Sonnet 5 $0.00004 $0.00206
Haiku 4.5 $0.00002 $0.00103

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

plugins/dev-loop/skills/commit/SKILL.md · 119 lines

How it starts

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

Git Commit

Create a clean, well-structured commit. Generic across stacks; add your own project-specific sensitive paths and commit conventions on top of the checks below.

Phase 1: Pre-flight Checks

Run these in parallel to assess the working tree:

git status
git diff --stat
git log --oneline -5

Never use git status -uall on a large repo. It can exhaust memory scanning untracked files.

Sensitive File Scan

Scan the diff and untracked files for:

  • .env files, *.pem, *.key, credential files, private keys, API secrets
  • Hardcoded secrets or tokens in the diff itself (key = "...", password = "...", connection strings with embedded credentials)
  • Scratch/experiment directories that shouldn't ship (_debug/, _test/, or whatever your project uses for throwaway work)

Tell the user to extend this list with their own project's sensitive paths (a secrets directory, a local config file, a vendor-specific credentials format). The checks above are a floor, not a ceiling.

Gating Rules

BLOCK (stop immediately, show what was found):

  • .env files or equivalent in the diff
  • *.pem, *.key, or other credential files
  • A literal secret, API key, or private key hardcoded in a tracked file
  • Files inside a scratch/experiment directory

WARN (show the warning, ask to confirm before proceeding):

  • Large, unrelated changes spanning many files (suggest splitting into multiple commits)
  • A generated or build artifact changed without its source changing (stale build, or someone hand-edited output)
  • Leftover debug logging outside scratch dirs (console.log, print, var_dump, dd, or your language's equivalent)

If blocked, explain what was found and stop. Do not stage or commit.

Phase 2: Analyze Changes

Determine commit type from the diff:

Type When
feat New feature or capability
fix Bug fix
refactor Code restructuring, no behavior change
style Formatting, whitespace, no logic change
docs Documentation only
chore Build, config, dependency, maintenance
perf Performance improvement, no behavior change
test Test-only changes

Read the full file on GitHub · 119 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 119 lines · 22 tokens per session scan A b06f1c7565c8

Subscribe to this mod's changes

commit is a skill published in the GitHub repository imisic/claude-marketplace (2 stars, last pushed 22d ago), licensed MIT. It adds 22 tokens to every session and 1,029 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-31.

Related

Other skills, from other repositories

git-wrapup

Land working-tree changes as logical commits — the work grouped by concern, topped by a release commit (version bump, changelog, regenerated artifacts) and an annotated tag. Verify, commit, tag. Stops at "committed and tagged locally" — no push, no publish. The release-and-publish skill picks up from here. Distilled…

cyanheads/obsidian-mcp-server · 82 tokens

ship

Commit, push, create PR, then after approval check CI and merge. Use when work is done and ready to ship.

dlupiak/claude-session-dashboard · 27 tokens

commit-batching

Batch a dirty working tree into logical, single-concern commits instead of one monolithic git add -A. Use whenever you are about to commit and more than one file or concern has changed — survey every change, group by concern, stage each group by explicit path, write a focused message per commit, then push only if…

dgilford/ai-science-toolkit · 72 tokens

pr-sweep

Use when you want to sweep all open pull requests across all repos, triage their status, run code reviews on unreviewed PRs, merge what's ready, fix quick blockers, and produce a full status report. Trigger when the user says "check my PRs", "close out open PRs", "what's the status of my PRs", "sweep my PRs", "PR…

harnessprotocol/harness-kit · 115 tokens

orchestrate:precommit

Add pre-commit hooks, linting, CLAUDE.md, and foundational .claude/ setup to a target repo.

rossoctl/examples · 32 tokens

commit-message

Use ANY time the user signals they want to commit staged changes — including bare "commit", "/commit", "commit this", "commit these changes", "let's commit", "make a commit", "git commit", "write a commit message", "make a conventional commit", "use conventional commits", or any equivalent phrasing in context (e.g.…

netopsengineer/axiom · 218 tokens