commit

commit is a skill for Claude Code from marcoguillermaz/Tierward. It costs 31 tokens per session (986 once invoked), scanned A, original, MIT.

A workflow that examines staged Git changes, writes a Conventional Commit message, and creates the commit. Git is a tool for tracking code changes, and staged changes are the files selected for the next commit.

In plain words
What is it for?
Use it after implementation work to commit source changes, tests, documentation, configuration, or refactoring with an appropriate commit type and scope.
Why use it?
It removes the need to classify changes and compose the commit message by hand. It also stops when there are no staged files to commit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the tierward plugin — 29 skills, 1 command, 1 hook, 1 MCP server shipped together

Good fit Use it after implementation work to commit source changes, tests, documentation, configuration, or refactoring with an appropriate commit type and scope.

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

Made for: Claude Code.

Or install tierward, the plugin that ships this one along with the rest of its 29 skills, 1 command, 1 hook, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcoguillermaz/tierward/commit"><img src="https://agentmods.dev/badge/skills/marcoguillermaz/tierward/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 986 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.00031 $0.00986
Opus 5.5 $0.00012 $0.00394
Sonnet 5.5 $0.00006 $0.00197
Haiku 4.5 $0.00003 $0.00099

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

Security

Grade A, and why

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 8d 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.

packages/cli/templates/tier-l/.claude/skills/commit/SKILL.md · 97 lines

How it starts

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

When invoked, immediately execute Steps 1-6 below against the currently staged changes — do not ask what to work on, do not wait for a further instruction, do not treat this as reference material. Your job is to commit the already-staged work now. If nothing is staged, stop with the Step 1 message.

Step 1 - Read staged changes

Run:

git diff --cached --stat && git diff --cached

If the output is empty (nothing staged): respond "No staged files. Run git add <files> first." and stop.

Step 2 - Determine commit type

Classify based on staged files:

Staged files Type
Source code correcting broken behaviour fix
Test files only (__tests__/, e2e/, tests/, test_*.py, *_test.go, *Tests.swift, *Test.kt, *Test.java, src/test/) test
Docs only (docs/, README.md) docs
Context/config files (.claude/, CLAUDE.md, MEMORY.md, pipeline, skills, settings) chore
Restructuring without behaviour change refactor

When code + tests are staged together, type follows the code change (feat or fix).

BREAKING CHANGE: if a migration drops a column, renames a table, removes an API field, or changes a response shape - append ! after type/scope AND add a BREAKING CHANGE: footer line explaining the impact.

Step 3 - Determine scope

Derive from the primary functional area of the staged changes:

  • Infrastructure: auth · proxy · db · api · email
  • Horizontal: ui (UI-only, no domain logic) · context (pipeline.md, CLAUDE.md, skills, rules)
  • Omit scope if changes span >3 unrelated areas or are truly cross-cutting

Step 4 - Write description

Rules:

  • Always write the commit message (subject and body) in English, regardless of the conversation or repository language
  • Imperative mood: add, fix, update, remove - never past tense
  • Max 72 characters total including type(scope):
  • No period at end

Step 5 - Body (include when useful)

Include a body when:

  • The reason for the change is non-obvious
  • A BREAKING CHANGE needs explanation
  • Phase 8 docs commit: list which doc files were updated and why

Read the full file on GitHub · 97 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. 8d ago Changed · +1 lines a788fd778cd5
  2. 1mo ago First seen · 96 lines · 31 tokens per session scan A 78bdbfdc62b7

Subscribe to this mod's changes

commit is a skill published in the GitHub repository marcoguillermaz/Tierward (4 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 986 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.