commit-changes-to-git

commit-changes-to-git is a skill for Claude Code from yegor256/courier. It costs 28 tokens per session (307 once invoked), scanned A, original, MIT.

A set of rules for committing changes to the current Git repository.

In plain words
What is it for?
Use it when committing selected or all requested changes, choosing a Conventional Commit message, reviewing staged files, and creating one local commit.
Why use it?
It helps keep commits focused, avoids accidentally including secrets or unrelated files, and preserves normal repository checks.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the courier plugin — 2 skills shipped together

Good fit Use it when committing selected or all requested changes, choosing a Conventional Commit message, reviewing staged files, and creating one local commit.

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

Made for: Claude Code.

Or install courier, the plugin that ships this one along with the rest of its 2 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yegor256/courier/commit-changes-to-git"><img src="https://agentmods.dev/badge/skills/yegor256/courier/commit-changes-to-git.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 307 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.00028 $0.00307
Opus 5.5 $0.00011 $0.00123
Sonnet 5.5 $0.00006 $0.00061
Haiku 4.5 $0.00003 $0.00031

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

Security

Grade A, and why

commit-changes-to-git 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/commit-changes-to-git/SKILL.md · 57 lines

What it actually says

Scope

Operate on Git repository in current working directory. Refuse to bundle unrelated changes into one commit.

Boundaries

Commit files untouched, never reformatting, linting, testing, or building. Honor hooks and signing unless user asked to bypass them. Land one local commit, never amending, rebasing, force-pushing, or pushing.

Staging

Stage only paths user named, or everything when user said so. Refuse to stage secrets. Warn user about skipped secrets instead.

Message

Respect Conventional Commits standard. Prepend ticket number to description with # when user named issue. Derive message from diff and conversation, never from branch name.

Format

Shape commit as type: summary subject, then optional body.

Review

List staged files for user before committing. Show commit subject to user before committing.

Authorship

Limit message to its description. Skip Co-authored-by: trailers, promotional lines, signatures, and emoji. Preserve configured author and committer identity.

Example

User fixes typo in README.md and says "commit it". Stage README.md alone. Write subject docs: fix typo in README. Land one commit carrying that subject.

Done

Confirm one new commit appears after run. Stop after single commit lands.

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 · 57 lines · 28 tokens per session scan A 2abfd23b4b12

Subscribe to this mod's changes

commit-changes-to-git is a skill published in the GitHub repository yegor256/courier (3 stars, last pushed 2d ago), licensed MIT. It adds 28 tokens to every session and 307 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-31.

Related

Other skills, from other repositories

github-pr-best-practices

Best practices for creating GitHub pull requests including conventional commits, PR formatting, and multi-language support (en/ja). Use when creating PRs, writing PR descriptions, or formatting commit messages.

aiskillstore/marketplace · 46 tokens

implementer

Implements one issue inside its own git worktree (.worktrees/issue-N on agent/issue-N), makes the smallest change that satisfies the acceptance criteria, self-checks with the repo's own test/lint/typecheck commands, commits, and prints a JSON report for the orchestrator. Use when the orchestrator launches you with…

aiskillstore/marketplace · 93 tokens

git-workflow

Enhanced git operations using lazygit, gh (GitHub CLI), and delta. Triggers on: stage changes, create PR, review PR, check issues, git diff, commit interactively, GitHub operations, rebase, stash, bisect.

aiskillstore/marketplace · 55 tokens

git-commit

Use this skill when user asks to "commit changes", "create a commit", "stage and commit", or wants help with git commit workflow.

aiskillstore/marketplace · 33 tokens

commit

Helps write conventional commit messages, create atomic commits, and follow git best practices. Use when the agent needs to help with git commits, commit message writing, or git workflow guidance.

aiskillstore/marketplace · 39 tokens

implementing-code

Implements code changes and creates commits. Triggered when: implementation tasks, code changes, feature additions, bug fixes.

aiskillstore/marketplace · 28 tokens