global-commit

global-commit is a skill for Claude Code from rgomezcasas/dotfiles. It costs 13 tokens per session (1,223 once invoked), scanned A, original, MIT.

A Git commit workflow based on Conventional Commits, a standard format for describing changes such as features, fixes, tests, and documentation.

In plain words
What is it for?
Use it to inspect staged and unstaged changes, choose an appropriate commit type and scope, and create a correctly formatted commit.
Why use it?
It makes commit messages consistent and helps tools and teammates understand what each commit changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to inspect staged and unstaged changes, choose an appropriate commit type and scope, and create a correctly formatted commit.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rgomezcasas/dotfiles/global-commit"><img src="https://agentmods.dev/badge/skills/rgomezcasas/dotfiles/global-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,223 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00013 $0.01223
Opus 5.5 $0.00005 $0.00489
Sonnet 5.5 $0.00003 $0.00245
Haiku 4.5 $0.00001 $0.00122

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

Security

Grade A, and why

global-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.

config/agents/global_skills/global-commit/SKILL.md · 120 lines

How it starts

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

Context

  • Current git status: !git status
  • Staged changes: !git diff --cached
  • Unstaged changes: !git diff
  • Current branch: !git branch --show-current
  • Recent commits: !git log --oneline -10
  • Repository root path: !git rev-parse --show-toplevel

Conventional Commits

We use Conventional Commits specification for all commit messages.

Format

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Types

Type Description
feat A new feature
fix A bug fix
docs Documentation only changes
style Changes that do not affect the meaning of the code (white-space, formatting, etc)
refactor A code change that neither fixes a bug nor adds a feature
perf A code change that improves performance
test Adding missing tests or correcting existing tests
build Changes that affect the build system or external dependencies
ci Changes to CI configuration files and scripts
chore Other changes that don't modify src or test files
revert Reverts a previous commit

Rules

  1. The description MUST be in lowercase and start with a verb in imperative mood (add, fix, change, etc.)
  2. The description MUST NOT end with a period
  3. Use scope to provide additional context (e.g., feat(auth): add login endpoint)
  4. Breaking changes MUST be indicated by ! after type/scope or BREAKING CHANGE: in footer
  5. Keep the first line under 72 characters

Read the full file on GitHub · 120 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. 1mo ago First seen · 120 lines · 13 tokens per session scan A 55c217ee55ee

Subscribe to this mod's changes

global-commit is a skill published in the GitHub repository rgomezcasas/dotfiles (363 stars, last pushed 10d ago), licensed MIT. It adds 13 tokens to every session and 1,223 once invoked, about $0.0001 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-30.