write-commit

write-commit is a skill for Claude Code from matheusPavaneli/workbench. It costs 42 tokens per session (637 once invoked), scanned A, original, MIT.

A commit-message writer that learns the repository’s existing style and saves a checked message to `.workflow/commit.txt`.

In plain words
What is it for?
Use it to write or correct a message from the current code changes, including the reason for the change and any ticket key the repository expects.
Why use it?
It avoids inconsistent, vague commit messages and keeps the user in control of whether anything is committed.

Skill for Claude Code

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

Part of the workbench plugin — 10 skills, 2 hooks shipped together

Good fit Use it to write or correct a message from the current code changes, including the reason for the change and any ticket key the repository expects.

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

Made for: Claude Code.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/matheuspavaneli/workbench/write-commit"><img src="https://agentmods.dev/badge/skills/matheuspavaneli/workbench/write-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 637 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.00042 $0.00637
Opus 5.5 $0.00017 $0.00255
Sonnet 5.5 $0.00008 $0.00127
Haiku 4.5 $0.00004 $0.00064

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

Security

Grade A, and why

write-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 19d 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/write-commit/SKILL.md · 57 lines

How it starts

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

write-commit

wb <args>    # wb not on PATH: python <this skill's directory>/../../lib/wb.py <args>

This skill writes the message. Committing stays the user's call: the CLI prints the command and runs it only for an explicit --execute.

Steps

  1. Learn the house style. commit convention. It reports what this repo already does — conventional commits, ticket-prefixed subjects, or free-form — from its own history, plus the author identity and whether it matches the context. Follow it; a message in a different style is noise in the log forever. If it reports free-form and the team has decided to adopt a style, record it once with commit convention --set <style> — do not impose one silently.

  2. See what changed. git diff for the files, review context if you need the zones. If a plan exists: sdd get <KEY> --section summary gives the objective in one line.

  3. Write it.

    • Subject: imperative, specific, under 72 characters, no trailing period. "fix expired coupon charging the card" — not "fixes" and not "bug fix".
    • Body, when the change is not self-evident: why, not what. The diff already says what. Wrap at 72.
    • Reference the ticket key if the repo's history does.
    • BREAKING CHANGE: in the body if a contract changed.
  4. Check it. Write the draft to a file, then commit check --file <path> --key <KEY>. On pass with a key it is saved to .workflow/<KEY>/commit.txt; on failure nothing is saved and the reasons are listed. Fix the message, not the check.

  5. Hand it over. Show the message. git commit <KEY> prints the exact commit command, carrying the saved message and the author the context expects; add --execute only if the user asked you to commit. It refuses on a protected branch and with nothing staged — choosing what goes in a commit stays theirs.

Rules

  • One logical change per commit. If the subject needs an "and", it is probably two commits.
  • Never describe what you did not do. No "add tests" in the subject when no test file changed.
  • No unfinished markers. wip, fixup! and squash! are rejected.
  • Never put a credential in a message. The check refuses anything that looks like one.

Read the full file on GitHub · 57 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. 19d ago Changed 1025cb880448
  2. 1mo ago First seen · 57 lines · 42 tokens per session scan A eb173e927511

Subscribe to this mod's changes

write-commit is a skill published in the GitHub repository matheusPavaneli/workbench (1 stars, last pushed 19d ago), licensed MIT. It adds 42 tokens to every session and 637 once invoked, about $0.0002 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

pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 59 tokens

phx-pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 61 tokens

signing-preflight

Before the first commit of a session, check that commit signing will work — the key is loaded and unlocked — and ask the operator to unlock it once, up front, instead of discovering it after a hundred unsigned commits. Never disables signing silently, never re-signs history without asking. Use at the start of…

avelikiy/great_cto · 105 tokens

pr-review

Review pull requests and Git diffs with Graph-It-Live risk, breaking-change, dependency-impact, cycle, unused-export, and test-candidate evidence. Use when asked to review a PR, inspect a diff, assess merge risk, check a branch before merging, create a Graph-It-Live review gate, or explain review-pr results. Trigger…

magic5644/Graph-It-Live · 132 tokens

loop-gh-pr

A recipe for a scheduled GitHub pull-request watcher. It checks open pull requests for new activity and prepares read-only review drafts without posting comments or merging anything.

restarter/lets-workflow · 118 tokens

review

Structured code review with parallel audit agents, confidence-scored triage, and optional auto-fix. Examines uncommitted changes, staged diffs, commit ranges, or specific paths. Produces a tiered report (MUST-FIX / RECOMMENDED / NIT) backed by evidence, then optionally applies fixes with verification.

greglas75/zuvo · 70 tokens