git-commit

git-commit is a skill for Codex from cdskill/qalma. It costs 46 tokens per session (943 once invoked), scanned A, original, MIT.

A tool for creating a Git commit from changes that have already been staged. Git is a system for tracking code changes, and staged changes are the specific changes selected for the next commit.

In plain words
What is it for?
Use it after staging changes when you invoke `/git-commit`, `/commit`, or ask to create a commit.
Why use it?
It prevents empty or incorrectly formatted commits and ensures the commit message includes the repository’s required category and scope.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents).

Good fit Use it after staging changes when you invoke /git-commit, /commit, or ask to create a commit.

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

Made for: Codex.

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 git-commit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cdskill/qalma/git-commit"><img src="https://agentmods.dev/badge/skills/cdskill/qalma/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 943 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.00046 $0.00943
Opus 5.5 $0.00018 $0.00377
Sonnet 5.5 $0.00009 $0.00189
Haiku 4.5 $0.00005 $0.00094

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

Security

Grade A, and why

git-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 1mo 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.

.agents/skills/git-commit/SKILL.md · 99 lines

How it starts

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

Git Commit

Create a focused conventional commit from the changes that are already staged. Every commit in this repository MUST carry a type(scope): description header — a commit without a scope is invalid here.

Workflow

  1. Run git status --short to understand staged, unstaged, and untracked files.
  2. Run git diff --staged and analyze only staged changes.
  3. If nothing is staged, stop and ask the user to stage changes first.
  4. Pick the type and a required scope from the tables below, based on the staged paths. If the diff legitimately spans several scopes, either split it into separate commits or use the broadest accurate scope (e.g. repo).
  5. Generate a conventional commit message that reflects the staged diff.
  6. Validate before committing: the subject line MUST match ^(feat|fix|docs|style|refactor|perf|test|build|ci|chore)\([a-z0-9-]+\)!?: .+. If it does not (e.g. the scope is missing), fix the message — never commit without a scope.
  7. Create the commit with git commit using the validated multi-line message.
  8. Report the commit hash and message summary.

Commit Format

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

[optional body]

[optional footer]

The (<scope>) segment is not optional in this repository.

Types

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation changes
  • style: Code style or formatting changes
  • refactor: Code restructuring without behavior changes
  • perf: Performance improvement
  • test: Adding or modifying tests
  • build: Build system, dependencies, or packaging
  • ci: CI/CD pipeline changes
  • chore: Maintenance tasks

Scopes (required — pick the most specific match)

Scope Use for changes under…
editor libs/editor — the @qalma/editor library
docs apps/docs / apps/docs-e2e — the documentation site
sandbox apps/sandbox / apps/sandbox-e2e — the demo app
bench bench/** — benchmarks (e.g. bundle-size)
infra infra/** — Terraform/OpenTofu, hosting, CDN
skills .agents/skills / .claude/skills
agents .agents agent configuration (non-skill)
release Version bumps and release publishing
repo Repo-wide tooling, root config, or genuinely cross-cutting changes

Read the full file on GitHub · 99 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. 1mo ago First seen · 99 lines · 46 tokens per session scan A 1bab41cf1543

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository cdskill/qalma (10 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 943 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.