commit

A development skill for saving the current code changes in Git, a system that records versions of files, with a clear commit message.

In plain words
What is it for?
Use it when you want to commit current work, explain a change in the message, or amend the previous commit.
Why use it?
It helps create consistent commit history and first checks what has changed before committing. It also handles cases where changes are staged, unstaged, or absent.

Skill for Claude CodeCodex

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/nvidia-nemo/datadesigner/commit
Any agent
npx skills add NVIDIA-NeMo/DataDesigner --skill commit
Clone the repo
git clone --depth 1 https://github.com/NVIDIA-NeMo/DataDesigner

Made for: Claude Code, Codex.

Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 787 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.00011 $0.00787
Opus 5 $0.00005 $0.00394
Sonnet 5 $0.00002 $0.00157
Haiku 4.5 $0.00001 $0.00079

Measured yesterday against content hash f4d88974c7d8, 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 yesterday.

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.

.agents/skills/commit/SKILL.md · 113 lines

How it starts

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

Commit Changes

Commit the current staged/unstaged changes with a well-crafted commit message.

Arguments

$ARGUMENTS can be used for special instructions, such as:

  • Guiding the message: "emphasize the breaking change"
  • Adding context: "this fixes issue #123"
  • Requesting amend: "amend the previous commit"

Step 1: Gather Information

Run these commands in parallel to understand the changes:

  1. Git status: git status --porcelain (check for staged/unstaged changes)
  2. Staged diff: git diff --cached (what will be committed if there are staged changes)
  3. Unstaged diff: git diff (what's modified but not staged)
  4. Recent commits: git log -5 --oneline (to match existing commit style)

Important checks:

  • If no changes exist (nothing staged or unstaged), inform the user there's nothing to commit
  • If there are unstaged changes but nothing staged, stage all changes with git add -A (or ask user if they want to selectively stage)
  • If there are both staged and unstaged changes, ask user if they want to include unstaged changes

Step 2: Analyze Changes

Review the diff to understand:

  • What changed (files, functions, features)
  • Why it changed (bug fix, new feature, refactor, etc.)
  • Impact (breaking changes, dependencies, configuration)

Step 3: Generate Commit Message

Message Guidelines

  1. Subject line:

    • Use imperative mood ("add feature" not "added feature")
    • Keep under 50 characters (hard limit: 72)
    • Don't end with a period
    • Use lowercase for the first letter
  2. Body (if needed for complex changes):

    • Separate from subject with blank line
    • Wrap at 72 characters
    • Explain what and why, not how
    • Use bullet points for multiple items
  3. Footer (if needed):

    • Reference issues: Fixes #123, Closes #456

Examples

Simple change:

add user authentication endpoint

Change with body:

add rate limiting to public endpoints

- Implement token bucket algorithm
- Add configurable limits per endpoint
- Include rate limit headers in responses

Closes #234

Read the full file on GitHub · 113 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. yesterday First seen · 113 lines · 11 tokens per session scan A f4d88974c7d8

Subscribe to this mod's changes

commit is a skill published in the GitHub repository NVIDIA-NeMo/DataDesigner (2,194 stars, last pushed 2d ago), licensed Apache-2.0. It adds 11 tokens to every session and 787 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.

Related

Other skills, from other repositories