work-commit

work-commit is a skill for Claude Code from christopherlouet/claude-base. It costs 34 tokens per session (560 once invoked), scanned A, original, MIT.

A helper for writing Git commit messages in Conventional Commits format, a shared style such as `fix(api): handle timeout`.

In plain words
What is it for?
Use it to inspect a diff, choose a commit type and scope, and produce a concise commit message.
Why use it?
It removes guesswork when naming changes and makes commit history easier to scan and use in release workflows.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to inspect a diff, choose a commit type and scope, and produce a concise commit message.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/christopherlouet/claude-base/work-commit"><img src="https://agentmods.dev/badge/skills/christopherlouet/claude-base/work-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 560 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.00034 $0.00560
Opus 5.5 $0.00014 $0.00224
Sonnet 5.5 $0.00007 $0.00112
Haiku 4.5 $0.00003 $0.00056

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

Security

Grade A, and why

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

.claude/skills/work-commit/SKILL.md · 103 lines

How it starts

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

Commit Message Generation

Conventional Commits Format

type(scope): short description (< 50 characters)

[optional body - details on the "what" and "why"]

[optional footer - issue references, breaking changes]

Instructions

1. Analyze the changes

# View modified files
git status --short

# View detailed diff
git diff --staged

# If nothing is staged, view non-staged changes
git diff

2. Determine the type

Type Usage
feat New feature
fix Bug fix
refactor Refactoring without functional change
test Adding or modifying tests
docs Documentation only
style Formatting, no code change
chore Maintenance, dependencies
perf Performance improvement

3. Identify the scope

The scope indicates the part of the code affected:

  • Module name: auth, api, ui
  • Component name: button, modal
  • Feature: login, checkout

4. Write the description

  • Imperative present: "add" not "added" or "adds"
  • Lowercase: no capital at the start
  • No trailing period
  • < 50 characters

5. Commit

git add [files]
git commit -m "type(scope): description"

Or with body:

git commit -m "type(scope): description

- Detail 1
- Detail 2

Refs: #123"

Rules

  • ONE commit = ONE logical change
  • Clear message for someone unfamiliar with the context
  • Explain the WHY, not the HOW (the code shows the how)
  • Reference issues if applicable

Examples

Good messages

feat(auth): add OAuth2 login support
fix(api): handle null response from external service
refactor(utils): extract date formatting to separate module
test(cart): add unit tests for price calculation
docs(readme): update installation instructions

Bad messages

❌ "fix bug"                    → Too vague
❌ "Update code"                → Not informative
❌ "WIP"                        → Don't commit WIP
❌ "feat: Add new feature..."   → Redundant

Read the full file on GitHub · 103 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 28d ago Changed · -2 lines e397525ef514
  2. 29d ago Changed · -3 lines 5141aa8a7c3a
  3. 1mo ago Changed · -1 lines 4e0ff170bb7a
  4. 1mo ago First seen · 109 lines · 34 tokens per session scan A ee5b21972888

Subscribe to this mod's changes

work-commit is a skill published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 560 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-09-03.

Related

Other skills, from other repositories

core-workflow

Detailed development workflow patterns, checklists, and standards. Auto-loads for complex tasks, planning, debugging, or when explicit patterns are needed. Contains session protocols, git conventions, security checklists, review-based validation, and communication standards.

travisjneuman/.claude · 52 tokens

git-commit-generator

Generate Conventional Commits from staged git diff. Analyzes changes and produces commit messages following the Conventional Commits spec (feat, fix, refactor, etc.). Triggers on "generate commit", "write commit message", "conventional commit".

luqiang-code/claude-code-skills · 55 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

wshobson/agents · 35 tokens

block-no-verify-hook

Configure a PreToolUse hook to prevent AI agents from skipping git pre-commit hooks with --no-verify and other bypass flags. Use when setting up Claude Code projects that enforce commit quality gates.

wshobson/agents · 46 tokens

git-workflow

Use when naming or scoping a branch, writing or fixing a commit message, picking the gitmoji for a commit, untangling history (rebase versus merge versus squash), or cutting a versioned release — the portable git-convention layer for any repo. Covers gitmoji + Conventional Commits, SemVer tags, branch hygiene…

ericrisco/rsc-harness · 127 tokens

git-workflow

Git conventions and workflow guidelines using Conventional Commits, branching strategies, and best practices for version control.

Mindrally/skills · 23 tokens