semantic-commit

A guide for writing semantic commit messages in the Conventional Commits format, such as feat, fix, docs, or refactor followed by a project scope.

In plain words
What is it for?
Use it when creating a commit, reviewing staged changes, or choosing a message for an agentconfig.org change.
Why use it?
It makes the purpose of each change clear and keeps the repository's commit history consistent and easier to review.

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

Made for: Claude Code, Codex.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 824 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.00037 $0.00824
Opus 5 $0.00018 $0.00412
Sonnet 5 $0.00007 $0.00165
Haiku 4.5 $0.00004 $0.00082

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

.github/skills/semantic-commit/SKILL.md · 123 lines

How it starts

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

Semantic Commit

Create clean, semantic git commits following strict commit discipline.

Commit Format

<type>(<scope>): <description>

[optional body]

[optional footer(s)]

Types

Type When to Use
feat New feature or functionality
fix Bug fix
docs Documentation changes only
style Formatting, whitespace (no code logic change)
refactor Code restructuring without behavior change
test Adding or updating tests
chore Maintenance, configs, dependencies

Scopes (Project-Specific)

Common scopes for agentconfig.org:

  • file-tree - FileTree component/visualization
  • cards - PrimitiveCards component
  • comparison - ProviderComparison component
  • hero - Hero section
  • navigation - Navigation component
  • theme - ThemeProvider, ThemeToggle, dark/light mode
  • data - Data files in site/src/data/
  • e2e - Playwright tests
  • skills - Skill files in .github/skills/

Rules

1. Atomic Commits

Each commit must represent ONE logical change. If you're tempted to use "and" in your description, split it into multiple commits.

# Bad
feat(ui): add file tree component and update navigation

# Good - Two separate commits
feat(file-tree): add collapsible tree node component
fix(navigation): update scroll offset for new header

2. Minimize Files

Prefer multiple small commits over one large commit. Ask: "Can this be split further?"

3. Clear Descriptions

The description should complete: "This commit will..."

  • Use imperative mood: "add", "fix", "update" (not "added", "fixes")
  • Be specific but concise
  • No period at the end

4. Pre-Commit Verification

Before committing, verify:

  1. bun run lint passes
  2. bun run typecheck passes
  3. bun run test passes
  4. Only intended files are staged
  5. No debug code or console.logs (unless intentional)

Workflow

When asked to commit:

  1. Review changes with git status and git diff --staged
  2. Assess scope - Determine if this should be one or multiple commits
  3. Unstage if needed - If changes span multiple features, commit separately
  4. Write message following the format
  5. Verify - Run lint, typecheck, and tests
  6. Commit only after verification passes

Read the full file on GitHub · 123 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 · 123 lines · 37 tokens per session scan A 6d44002ea5fc

Subscribe to this mod's changes

semantic-commit is a skill published in the GitHub repository agentconfig/agentconfig.org (7 stars, last pushed 4d ago), licensed ISC. It adds 37 tokens to every session and 824 once invoked, about $0.0002 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

clinical-reports

Write comprehensive clinical reports including case reports (CARE guidelines), diagnostic reports (radiology/pathology/lab), clinical trial reports (ICH-E3, SAE, CSR), and patient documentation (SOAP, H&P, discharge summaries). Full support with templates, regulatory compliance (HIPAA, FDA, ICH-GCP), and validation…

synthetic-sciences/openscience · 71 tokens

clinical-decision-support

Generate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading…

synthetic-sciences/openscience · 97 tokens

molecular-cloning

Molecular cloning simulation and design. PCR amplicon prediction, restriction enzyme digestion, Golden Gate and Gibson assembly simulation, primer design, CRISPR sgRNA design, and plasmid annotation. For protein-level sequence analysis use biopython or esm; for database lookups use gene-database or ensembl-database.

synthetic-sciences/openscience · 70 tokens

bioimage-analysis

Microscopy image analysis for cell biology. Cell segmentation (Cellpose, watershed), object tracking (trackpy), morphology quantification, colony counting, colocalization analysis, and cytoskeleton characterization. For pathology WSI use pathml; for flow cytometry use flow-cytometry-analysis.

synthetic-sciences/openscience · 63 tokens

flow-cytometry-analysis

Complete flow cytometry analysis pipeline. FCS file handling, compensation, manual/automated gating, immunophenotyping, CFSE proliferation analysis, cell cycle analysis (Dean-Jett-Fox), and apoptosis assays. Extends flowio with analytical workflows. For raw FCS parsing only use flowio.

synthetic-sciences/openscience · 67 tokens

immunology-assays

Computational analysis of immunology experimental data. ATAC-seq differential accessibility, immune cell tracking from microscopy, ELISA data processing with 4-parameter logistic fitting, immunohistochemistry quantification, antibody titer analysis, and cell cycle phase duration estimation. For flow cytometry use…

synthetic-sciences/openscience · 79 tokens