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.
npx agentmods add skills/rockarhymellc/claude-code-skills/smart-commitnpx skills add RockaRhymeLLC/claude-code-skills --skill smart-commitgit clone --depth 1 https://github.com/RockaRhymeLLC/claude-code-skillsWrote 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.
[](https://agentmods.dev/skills/rockarhymellc/claude-code-skills/smart-commit)<a href="https://agentmods.dev/skills/rockarhymellc/claude-code-skills/smart-commit"><img src="https://agentmods.dev/badge/skills/rockarhymellc/claude-code-skills/smart-commit.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00059 | $0.01235 |
| Opus 5 | $0.00030 | $0.00617 |
| Sonnet 5 | $0.00012 | $0.00247 |
| Haiku 4.5 | $0.00006 | $0.00123 |
Grade A, and why
smart-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.
How it starts
The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Smart Commit Message Generator
Generate clear, well-structured commit messages by analyzing your staged changes.
When to Activate
- User asks to commit with a good message
- User says
/smart-commitor "commit this" or "write a commit message" - User has staged changes and wants help describing them
Instructions
Step 1: Check Staged Changes
# What's staged?
git diff --cached --stat
# Detailed diff of staged changes
git diff --cached
# Any unstaged changes the user might want to include?
git diff --stat
If nothing is staged:
- Show unstaged changes with
git diff --stat - Ask the user what to stage, or suggest
git add -pfor selective staging - Stop until changes are staged
Step 2: Analyze the Diff
Read the staged diff and determine:
-
Type: What kind of change is this?
feat— New functionalityfix— Bug repairrefactor— Restructuring without behavior changeperf— Performance improvementtest— Adding or fixing testsdocs— Documentation onlychore— Build, CI, dependencies, configstyle— Formatting, whitespace (no logic change)
-
Scope (optional): What area of the codebase?
- Module name, component, feature area
- Only include if the project uses scoped commits
-
Subject: One line summarizing the change
- Imperative mood: "Add feature" not "Added feature"
- Under 50 characters (hard limit: 72)
- Lowercase first word (after type prefix)
- No period at the end
-
Body (if needed): Explain WHY, not WHAT
- The diff shows WHAT changed — the message should explain WHY
- Include motivation, context, or trade-offs
- Wrap at 72 characters
- Separate from subject with blank line
-
Footer (if applicable):
BREAKING CHANGE:for breaking changesCloses #123for issue referencesCo-authored-by:for pair programming
Step 3: Check Recent History
# Match the project's commit style
git log --oneline -10
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.
- 3d ago First seen · 169 lines · 59 tokens per session scan A 511a6ad025c7
smart-commit is a skill published in the GitHub repository RockaRhymeLLC/claude-code-skills (1 stars, last pushed 6mo ago), licensed MIT. It adds 59 tokens to every session and 1,235 once invoked, about $0.0003 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.
Other skills, from other repositories
aif-commit
Create conventional commit messages by analyzing staged changes. Generates semantic commit messages following the Conventional Commits specification. Use when user says "commit", "save changes", or "create commit".
git-commit
Run git commit using Angular conventional commit format. Use when the user asks to commit, create a commit, /git-commit, or save changes to git. Also trigger on "snapshot this", "save my work", "check in changes", "wrap up", "ship this locally", or whenever the user finishes a logical unit of work and the tree is…
github
Manages all git operations (commit, push, branch management, PR creation) in a standardized, safe, and consistent way. Automatically runs the code-review skill before any commit. Enforces Conventional Commits standard. Handles the full lifecycle: branch → review → commit → push → PR.
git-conventions
The Lossless Group's git commit message conventions — structured headers with action verbs and effort groupings, paragraph-spaced bodies that explain impact before implementation, and "Also included" riders for minor changes. Use when writing commit messages, reviewing commits, or when the user mentions "commit…
hello-commit
Custom commit workflow that replaces the built-in aif-commit. Demonstrates the skill replacement feature of the extension system.
iso-commit
Write a commit message and commit. Conventional Commits subject (type(scope): message), body is a plain dot list of what the work does — only when the subject doesn't already cover it. No Co-Authored-By, no AI attribution, no LLM filler. Stages everything by default; --staged commits the index only. Use when invoked…