git-commit

git-commit is a skill for Claude Code, Codex from woliveiras/geremmyas. It costs 38 tokens per session (931 once invoked), scanned A, original, MIT.

A workflow for making a local Git commit safely using Conventional Commits, a standard format such as `fix(auth): handle expired tokens`. It covers reviewing changes, staging them, checking tests and documentation, and choosing a commit type.

In plain words
What is it for?
Use it when committing completed changes or reviewing staged changes. It helps create commits for features, fixes, tests, documentation, refactoring, maintenance, formatting, and performance work.
Why use it?
It helps keep commits focused, consistently named, and based on reviewed changes. It also avoids using this workflow for history rewriting or interactive rebasing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it when committing completed changes or reviewing staged changes. It helps create commits for features, fixes, tests, documentation, refactoring, maintenance, formatting, and performance work.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/woliveiras/geremmyas/git-commit/github.svg)](https://agentmods.dev/skills/woliveiras/geremmyas/git-commit)
Your own site
<a href="https://agentmods.dev/skills/woliveiras/geremmyas/git-commit"><img src="https://agentmods.dev/badge/skills/woliveiras/geremmyas/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/woliveiras/geremmyas/git-commit"><img src="https://agentmods.dev/badge/skills/woliveiras/geremmyas/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 931 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.00038 $0.00931
Opus 5.5 $0.00015 $0.00372
Sonnet 5.5 $0.00008 $0.00186
Haiku 4.5 $0.00004 $0.00093

Measured 2mo ago against content hash 4d07fae84ac2, 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 2mo 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.

content/skills/git-commit/SKILL.md · 85 lines

How it starts

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

Git Commit

Local commits are the default after a coherent task-owned slice passes fresh tests, docs reconciliation, and independent review. This slice evidence is not the feature lifecycle state Verified; a feature may remain In Progress across several atomic commits. The primary agent owns staging and commits for integrated work; subagents do not run Git.

Format

type(scope): description

Types

  • feat — new feature or capability
  • fix — bug fix
  • docs — documentation changes only
  • test — adding or updating tests
  • refactor — code change that neither fixes a bug nor adds a feature
  • chore — maintenance tasks (deps, CI, configs)
  • style — formatting, whitespace (no code logic change)
  • perf — performance improvement

Rules

  • Use lowercase for type and description
  • Scope is optional but recommended (e.g., feat(auth): add login)
  • Description is imperative mood: "add", not "added" or "adds"
  • Keep the first line under 72 characters
  • Breaking changes: add ! after type — feat!: remove legacy API

Procedure

  1. Inspect staged and unstaged state separately with git status --short, git diff --cached, and git diff before touching the index. Record whether pre-existing staged state exists.
  2. Identify the exact task-owned files or hunks for the implementation, tests, documentation, and artifacts that form one verified slice. Exclude unrelated or ambiguous changes without asking the user to select them.
  3. Stage clean task-owned paths explicitly. For a mixed-hunk file, build and inspect a task-owned patch and apply only it with git apply --cached; never stage the whole path.
  4. If pre-existing staged state is unrelated or overlaps the slice, do not mutate or unstage it. Move the task-owned patch to an isolated worktree with its own branch and index, then verify the original index remains unchanged. An alternate index may prepare or inspect the patch, but must not advance the current branch while the original index is staged. If safe isolation is unavailable, leave the index untouched and report the blocker. Never use git add . or another repository-wide shortcut.
  5. Re-read git status --short, git diff --cached --stat, and git diff --cached after staging. Remove any unrelated, generated, local, secret-bearing, or unsafe change that this procedure staged without discarding working-tree content. Never unstage user-owned state.
  6. Derive the Conventional Commit type, scope, subject, and optional body from the complete cached diff. Re-read the cached diff after deriving the message and confirm the message still describes every staged change.
  7. Commit without asking the user to approve files, hunks, or the message.
  8. Show the created commit with git rev-parse --short HEAD and git show --stat --oneline --no-renames HEAD.
  9. If the commit fails, report the failure and leave the reviewed files staged safely for diagnosis. Do not broaden scope or mutate history to recover.

Read the full file on GitHub · 85 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. 2mo ago First seen · 85 lines · 38 tokens per session scan A 4d07fae84ac2

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository woliveiras/geremmyas (10 stars, last pushed 3mo ago), licensed MIT. It adds 38 tokens to every session and 931 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

git-commit compared with skills from other repositories

git-commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-commitwoliveiras/geremmyasSkill103mo agoMITA38Claude Code, Codex
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex
repo-syncdavidondrej/skillsSkill4.3k3d agoMITA25Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill9.3kyesterdayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill3.9kyesterdayApache-2.0A25Claude Code
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k2d agoMITA53Claude Code, Codex