semantic-commit

semantic-commit is a skill for Claude Code from AndrewDongminYoo/cc-agents-kit. It costs 50 tokens per session (3,622 once invoked), scanned A, original, Apache-2.0.

A Git workflow for splitting mixed code changes into separate conventional commits. Conventional commits use a predictable format such as feat, fix, or test to describe each change.

In plain words
What is it for?
Use it to inspect a full Git diff, group files by purpose, and create clean commits after a multi-part coding session.
Why use it?
It prevents unrelated edits from being bundled into one hard-to-review commit. It also helps preserve staged work and checks the changes before each commit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the repo-gate plugin — 6 skills shipped together

Good fit Use it to inspect a full Git diff, group files by purpose, and create clean commits after a multi-part coding session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andrewdongminyoo/cc-agents-kit/semantic-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 AndrewDongminYoo/cc-agents-kit --skill semantic-commit
Clone the repo
git clone --depth 1 https://github.com/AndrewDongminYoo/cc-agents-kit

Made for: Claude Code.

Or install repo-gate, the plugin that ships this one along with the rest of its 6 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 semantic-commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrewdongminyoo/cc-agents-kit/semantic-commit/github.svg)](https://agentmods.dev/skills/andrewdongminyoo/cc-agents-kit/semantic-commit)
Your own site
<a href="https://agentmods.dev/skills/andrewdongminyoo/cc-agents-kit/semantic-commit"><img src="https://agentmods.dev/badge/skills/andrewdongminyoo/cc-agents-kit/semantic-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 semantic-commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrewdongminyoo/cc-agents-kit/semantic-commit"><img src="https://agentmods.dev/badge/skills/andrewdongminyoo/cc-agents-kit/semantic-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,622 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.00050 $0.03622
Opus 5.5 $0.00020 $0.01449
Sonnet 5.5 $0.00010 $0.00724
Haiku 4.5 $0.00005 $0.00362

Measured 10d ago against content hash f68dfdc2684e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

semantic-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 10d 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/repo-gate/skills/semantic-commit/SKILL.md · 250 lines

How it starts

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

Semantic Commit

Split work-in-progress changes into clean, reviewable conventional commits, verifying before each commit.

Applicability

Use when:

  • Multiple unrelated changes are unstaged/staged together
  • User asks for "semantic commits", "logical commits", or "커밋 분리"
  • After a multi-item implementation session before pushing

Skip when:

  • There is only one logical change (just commit it directly)
  • User explicitly asks for a single combined commit

Steps

1. Understand the Full Diff

Run in parallel:

git status
git diff HEAD
git diff --cached

Read each changed file if the diff alone is insufficient to determine intent. Treat the existing index as owned work. Do not reset, unstage, or replace it without explicit approval.

Save the change you are about to split as one patch, so Step 4 can tell your hunks from anyone else's:

git diff HEAD --binary --no-textconv > <scratch>/planned.patch
git diff --cached --binary --no-textconv > <scratch>/staged.patch          # HEAD to the index as found
git diff --binary --no-textconv > <scratch>/unstaged.patch                 # the index as found to the working tree
git status --porcelain --untracked-files=all                               # lists every untracked file, also inside new directories
git diff --no-index --binary --no-textconv /dev/null <untracked-file> >> <scratch>/planned.patch   # once per untracked file; exits 1 by design

git diff HEAD compares HEAD with the working tree, so a line that was staged and later changed back in the working tree is in the index but not in planned.patch, and committing the index first leaves a later group to stage the reversal. staged.patch and unstaged.patch record both steps from HEAD through the index to the working tree, so every line a group can stage appears in one of the three patches, and all three count as planned in Step 4. git diff HEAD also leaves untracked files out, and plain git status --porcelain shows a new directory as one ?? dir/ line; the --no-index form records each untracked file with its content and mode. Every patch in this skill is built with --binary --no-textconv: without --binary a changed binary file reads only Binary files differ, and a repository's textconv driver replaces the real bytes with converted text that git apply rejects.

Read the full file on GitHub · 250 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. 10d ago Changed f68dfdc2684e
  2. 1mo ago Changed · +2 lines 0b11442bace8
  3. 1mo ago Changed · +49 lines 163b19819e46
  4. 3mo ago First seen · 199 lines · 50 tokens per session scan A 2fa8375c791f

Subscribe to this mod's changes

semantic-commit is a skill published in the GitHub repository AndrewDongminYoo/cc-agents-kit (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 50 tokens to every session and 3,622 once invoked, about $0.0002 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

semantic-commit compared with skills from other repositories

semantic-commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
semantic-commitAndrewDongminYoo/cc-agents-kitSkill3yesterdayApache-2.0A50Claude Code
claude-code-bash-patternssecondsky/claude-skillsSkill2573d agoMITB52Claude Code
codex-adapterwrg32786/aigent-osSkill26yesterdayMITA38Claude Code
reviewArcticFox2029/chamnanSkill928d agoMITA51Claude Code
branch-and-worktree-workflowcbrock84/headcountSkill2.6k2d agoMITA70Claude Code
improve-loopdaveebbelaar/bamaSkill2.0k28d agoMITA75Claude Code, Codex
commitparcadei/Continuous-Claude-v3Skill4.0k17d agoMITA12Claude Code