work-unit-commits

work-unit-commits is a skill for Claude Code, Codex from Gentleman-Programming/gentle-ai. It costs 33 tokens per session (867 once invoked), scanned A, original, MIT.

A method for splitting software changes into clear, reviewable commits. Each commit represents one complete piece of work, with its related tests and documentation.

In plain words
What is it for?
Planning commits for features, fixes, migrations, or documentation changes, especially when a task is large.
Why use it?
It makes code history easier to review, understand, and use for separate pull requests.

Skill for Claude CodeCodex

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

Good fit Planning commits for features, fixes, migrations, or documentation changes, especially when a task is large.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gentleman-programming/gentle-ai/work-unit-commits
About the project

Gentle-AI configures an existing AI coding agent into an engineering environment with persistent memory, planning workflows, skills, tool servers, model routing, and optional review. Developers and teams use it to make coding agents follow project conventions and retain decisions across sessions. The catalogue entries are its skills, commands, agents, and instruction.

Gentleman-Programming/gentle-ai · 7,940 stars · on GitHub · gentlemanprogramming.com

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 Gentleman-Programming/gentle-ai --skill work-unit-commits
Clone the repo
git clone --depth 1 https://github.com/Gentleman-Programming/gentle-ai

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 work-unit-commits

README.md
[![agentmods](https://agentmods.dev/badge/skills/gentleman-programming/gentle-ai/work-unit-commits/github.svg)](https://agentmods.dev/skills/gentleman-programming/gentle-ai/work-unit-commits)
Your own site
<a href="https://agentmods.dev/skills/gentleman-programming/gentle-ai/work-unit-commits"><img src="https://agentmods.dev/badge/skills/gentleman-programming/gentle-ai/work-unit-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 work-unit-commits

Your own site · 80×15
<a href="https://agentmods.dev/skills/gentleman-programming/gentle-ai/work-unit-commits"><img src="https://agentmods.dev/badge/skills/gentleman-programming/gentle-ai/work-unit-commits.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 867 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.00033 $0.00867
Opus 5.5 $0.00013 $0.00347
Sonnet 5.5 $0.00007 $0.00173
Haiku 4.5 $0.00003 $0.00087

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

Security

Grade A, and why

work-unit-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 7d 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.

internal/assets/skills/work-unit-commits/SKILL.md · 84 lines

How it starts

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

When to Use

Load this skill when deciding what belongs in each commit or PR.

Use it for:

  • Splitting a feature into reviewable work.
  • Preparing commits before opening a PR.
  • Turning a large change into chained or stacked PRs.
  • Keeping reviewer cognitive load healthy.
  • Committing ODD work units in reviewable slices.

Critical Rules

Rule Requirement
Commit by work unit A commit represents a deliverable behavior, fix, migration, or docs unit.
Do not commit by file type Avoid models, then services, then tests if none works alone.
Keep tests with code Tests belong in the same commit as the behavior they verify.
Keep docs with the user-visible change Docs belong with the feature or workflow they explain.
Tell a story A reviewer should understand why each commit exists from its diff and message.
Future PR-ready Each commit should be a candidate chained PR when the change grows.
Budget is not code-golf Never shrink a diff by deleting comments, blank lines, docs, or tests, or by compressing code, to fit the review budget (400 by default, or the session review_budget_lines). Slice by work unit or report the overage.

Work Unit Checklist

Before committing, confirm:

  • The commit has one clear purpose.
  • The repo still makes sense after applying only this commit.
  • Tests or docs for this unit are included when relevant.
  • Rollback is reasonable without reverting unrelated work.
  • Focused test command and exact result are recorded.
  • Runtime harness command/scenario and exact result are recorded, or explicit N/A explains why no runtime boundary exists.
  • Rollback boundary names the exact files/behavior removable without unrelated work.
  • The commit message explains the outcome, not the file list.

Split Examples

Weak split Better work-unit split
add models feat(auth): add token validation domain model and tests
add services feat(auth): wire token validation into login flow
add tests Tests included with each behavior commit
update docs Docs included with the user-facing change they explain

Read the full file on GitHub · 84 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. 7d ago Changed d1f25b154dc0
  2. 27d ago Changed · -26 lines 7704f3ae8cb3
  3. 1mo ago Changed · +10 lines 5c2d94572eec
  4. 1mo ago Changed · +2 lines f4aef73aaece
  5. 1mo ago First seen · 98 lines · 33 tokens per session scan A 9b4e9914d612

Subscribe to this mod's changes

work-unit-commits is a skill published in the GitHub repository Gentleman-Programming/gentle-ai (7,940 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 867 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.