git_commit_message

git_commit_message is a skill for Claude Code, Codex from ahmadrrrtx/xr. It costs 0 tokens per session (77 once invoked), scanned A, original, MIT.

A workflow for reading the staged part of a Git change and writing a Conventional Commit message. Git is a tool for tracking code changes, and a staged change is one selected for the next commit.

In plain words
What is it for?
Use it to create a commit message with a type, optional scope, summary, and body from staged changes.
Why use it?
It saves you from composing the commit wording manually and bases the message on the changes prepared for committing. Reading the staged diff is approval-gated and read-only.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create a commit message with a type, optional scope, summary, and body from staged changes.

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

Made for: Claude Code, 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_message

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ahmadrrrtx/xr/git_commit_message"><img src="https://agentmods.dev/badge/skills/ahmadrrrtx/xr/git_commit_message.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 77 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.00000 $0.00077
Opus 5.5 $0.00000 $0.00031
Sonnet 5.5 $0.00000 $0.00015
Haiku 4.5 $0.00000 $0.00008

Measured 1mo ago against content hash e00ad96266ff, 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_message 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.

skills/git_commit_message/SKILL.md · 12 lines

What it actually says

Git Commit Message

  1. shell run git diff --staged (approval-gated, read-only diff).
  2. Write a conventional-commit message (type(scope): summary + body).
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 · 12 lines · 0 tokens per session scan A e00ad96266ff

Subscribe to this mod's changes

git_commit_message is a skill published in the GitHub repository ahmadrrrtx/xr (6 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 77 tokens. 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

semantic-commit

Draft a Conventional Commits 1.0.0 message for the AI Atelie repo. Use whenever the user asks to commit, or after staging changes in this repo. Enforces the closed scope set (api|web|mcp|skills|repo|deps), imperative subjects, and a body that reads well in the auto-generated CHANGELOG.md (changelogen + bumpp pipeline).

aiatelie/ai-atelie · 84 tokens

diff-review

Render the patch-edit run's accumulated changes as a reviewable diff, surface it through a GenUI choice surface, and persist the user's accept / reject decision into the artifact manifest.

nexu-io/open-design · 39 tokens

commit-pr

Mandatory Codex/Copilot publication adapter for opencode-swarm. Use for every GitHub issue assignment that results in code changes, commits, pushes, draft PRs, PR body edits, PR readying, release notes, or CI closeout. Must be loaded before git push, gh pr create, gh pr edit, or gh pr ready. Routes to the single…

ZaxbyHub/opencode-swarm · 100 tokens

git-workflow

Git operations: commits, branches, PRs, and conflict resolution.

vstorm-co/pydantic-deepagents · 17 tokens

contributing

Codex adapter for the opencode-swarm contribution checklist. Use when preparing user-visible changes, release note fragments, local validation, branch hygiene, PR checklist items, or contribution-policy compliance before publishing work.

ZaxbyHub/opencode-swarm · 44 tokens

git-analysis

Answer questions from repository history, including what changed, when, by whom, why a line exists, which commits touched an area, where a regression entered, and how branches relate. Use for blame, bisect-style narrowing, changelog drafting, and release diffs.

autohandai/code-cli · 57 tokens