incremental-commits

incremental-commits is a skill for Claude Code, Codex from makifbaysal/tasktrooper. It costs 31 tokens per session (832 once invoked), scanned A, original, Apache-2.0.

A guide to splitting work into small Git commits, with each commit representing one logical change and a clear message.

In plain words
What is it for?
Use it to plan commit boundaries, write imperative commit messages and keep tests, implementation and unrelated edits separated.
Why use it?
Small commits make changes easier to review, undo and locate when something goes wrong.

Skill for Claude CodeCodex

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

Good fit Use it to plan commit boundaries, write imperative commit messages and keep tests, implementation and unrelated edits separated.

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

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 incremental-commits

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/incremental-commits"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/incremental-commits.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 832 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.00832
Opus 5.5 $0.00012 $0.00333
Sonnet 5.5 $0.00006 $0.00166
Haiku 4.5 $0.00003 $0.00083

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

Security

Grade A, and why

incremental-commits 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.

catalog/agents/backend-developer/skills/incremental-commits/SKILL.md · 68 lines

How it starts

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

Incremental Commits

Overview

Work in bite-sized steps, not one large change. Small commits keep each step reversible and make revisions cheap to localize.

The Process

  1. Before coding, turn the task into a short ordered list of steps. Each step is ONE action worth 2–5 minutes:
    • "Write the failing test" — a step
    • "Run it and watch it fail" — a step
    • "Write minimal code to pass" — a step
    • "Run the tests, all green" — a step
    • "Commit" — a step
  2. Commit locally after each green step on your task branch: run_terminal with git add -A && git commit -m "<type>: <imperative summary>". Do not push, and do not call commit_task_changes mid-run — the system commits and pushes your run's final state and opens the pull request at hand-off; a mid-run commit of your own is never the one that ships.
  3. Each commit is one logical change: the test and the code that satisfies it belong together; unrelated changes never share a commit.
  4. Commit message: imperative summary line; explain WHY in the body when it is not obvious from the diff.

Rules of Thumb

  • Never accumulate a large uncommitted change — if the diff is hard to describe in one sentence, you missed a commit point.
  • A step should end with an independently verifiable state (test green, build passing).
  • Setup/scaffolding folds into the step whose deliverable needs it; don't commit empty skeletons.
  • If a step balloons mid-way, stop, commit what is green, and re-slice the rest.

Quick Reference

Situation Commit boundary
Test + code that satisfies it One commit together
Two unrelated behaviors Two commits
Refactor + behavior change Separate commits (refactor first, while green)
Setup/scaffolding Folded into the step that needs it — no empty-skeleton commits
Formatting-only change Its own commit, never mixed with logic

Worked Example

Task: add a priority field to task creation. A good branch history:

feat: add priority column migration
test: expect create to persist priority
feat: persist priority in create handler
test: default priority to "medium" when omitted
feat: default omitted priority to medium

Read the full file on GitHub · 68 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 First seen · 68 lines · 31 tokens per session scan A a553ecedf113

Subscribe to this mod's changes

incremental-commits is a skill published in the GitHub repository makifbaysal/tasktrooper (113 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 832 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-10-05.

Related

Other skills, from other repositories