codument: Skill for Claude Code

.agents/skills/commit-work/SKILL.md

commit-work is a skill for Claude Code, Codex from jakubsuplicki/codument. It costs 17 tokens per session (913 once invoked), scanned A, original, Apache-2.0.

A skill for checking, staging, and committing a reviewed coding work step with a focused conventional commit.

In plain words
What is it for?
It helps finalize approved changes, run required checks, stage only relevant files, and create a properly labelled Git commit.
Why use it?
It prevents unfinished plans, unresolved review findings, stale documentation, or unrelated files from being committed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is jakubsuplicki/codument's own configuration. It tells Claude Code and Codex how to work on codument itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codument configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jakubsuplicki/codument. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jakubsuplicki/codument/main/.agents/skills/commit-work/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jakubsuplicki/codument

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 commit-work

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jakubsuplicki/codument/commit-work"><img src="https://agentmods.dev/badge/skills/jakubsuplicki/codument/commit-work.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 913 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.00017 $0.00913
Opus 5.5 $0.00007 $0.00365
Sonnet 5.5 $0.00003 $0.00183
Haiku 4.5 $0.00002 $0.00091

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

Security

Grade A, and why

commit-work 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 23d 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.

.agents/skills/commit-work/SKILL.md · 49 lines

How it starts

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

Commit Work

Use this after review-work is clean, or after safe contracted fixes and user-approved fixes are resolved and the user has explicitly deferred any remaining finding.

Workflow

  1. Check the active plan step is complete, using its recovery copy at .codument/pending-plans/<repo-relative-plan-path> after final-step compaction. For the final step, confirm the original doc's ## Delivery Plan block has been compacted out (plan-with-docs → Compaction on ship) — a shipped feature doc must not commit with a stale delivery checklist still in it.

  2. Check that review-work is clean, or that every finding was fixed or explicitly deferred by the user.

  3. Check git status --short and git diff --cached.

  4. Confirm codument work status --json shows the reviewed step ready and the already-staged, verified boundary unchanged; do not stage here. If it changed, return to review and verification. Respect an explicit no-commit request: leave the step ready and stop.

  5. Commit that boundary with a conventional commit prefix. The managed pre-commit hook runs codument verify; when the staged boundary, approval, review policy and review evidence remain current, it reuses the exact receipt instead of repeating the review:

    • feat:
    • fix:
    • docs:
    • test:
    • refactor:
    • chore:

    A routine hook failure returns to diagnosis, correction and exact staged review within the approved contract. Never bypass the hook or commit a red boundary; pause only if repair needs an unapproved decision, external input or genuinely irreversible action, or the user has requested a pause.

  6. If that was the plan's last step, remove only this plan's recovery copy after confirming the commit succeeded, then run codument doctor --strict once and report what it says. If interrupted before cleanup, reconcile the copy with the committed boundary before resuming; a leftover copy does not authorize repeating completed work. Doctor reports; it does not gate — a plan must not be blocked by an adopting repo's pre-existing debt. This is the only moment the loop looks at repo-wide health: staged verify answers whether this change is ready, doctor answers whether the knowledge base is still worth reading. Once per plan, not once per step.

  7. After the successful commit, run codument work finish to reconcile delivery, then read codument steps --plan <active-plan> --json if the Delivery Plan remains. Name the next step and continue to work-step unless gated or single-step mode requires stopping. Completed local state must agree with committed delivery; a missing checklist alone is not completion. In gated mode, fill the next-step gate from that readback:

Read the full file on GitHub · 49 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. 23d ago Changed · +3 lines d31f8d566331
  2. 1mo ago Changed · -3 lines · -4 tokens per session 15e615877ab0
  3. 1mo ago First seen · 49 lines · 21 tokens per session scan A cca1c41bebc9

Subscribe to this mod's changes

commit-work is a skill published in the GitHub repository jakubsuplicki/codument (48 stars, last pushed 23d ago), licensed Apache-2.0. It adds 17 tokens to every session and 913 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.