commit-workflow

commit-workflow is a skill for Claude Code, Codex from drvoss/everything-copilot-cli. It costs 33 tokens per session (1,536 once invoked), scanned A, original, MIT.

A Git commit workflow that prepares changes, separates unrelated work, and writes Conventional Commit messages, a shared format for describing changes in version history.

In plain words
What is it for?
Use it before committing to inspect staged files, split changes into focused commits, run optional checks, and format commit messages.
Why use it?
It keeps mixed changes easier to review and makes the project's commit history more consistent.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/drvoss/everything-copilot-cli/commit-workflow
Any agent
npx skills add drvoss/everything-copilot-cli --skill commit-workflow
Clone the repo
git clone --depth 1 https://github.com/drvoss/everything-copilot-cli

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/commit-workflow.svg)](https://agentmods.dev/skills/drvoss/everything-copilot-cli/commit-workflow)
Your own site
<a href="https://agentmods.dev/skills/drvoss/everything-copilot-cli/commit-workflow"><img src="https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/commit-workflow.svg" alt="Measured on agentmods" 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 1,536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.01536
Opus 5 $0.00016 $0.00768
Sonnet 5 $0.00007 $0.00307
Haiku 4.5 $0.00003 $0.00154

Measured yesterday against content hash 79388c08138f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

commit-workflow 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 yesterday.

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/workflow/commit-workflow/SKILL.md · 196 lines

How it starts

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

Commit Workflow

When to Use

  • Before every commit — to enforce conventional commit format consistently
  • When a diff mixes multiple logical concerns (feat + refactor + docs)
  • When you want emoji-annotated commits for visual git history
  • In teams that enforce Conventional Commits via CI

Prerequisites

  • Changes staged or present as unstaged modifications
  • Optional: pre-commit hooks configured (husky, pre-commit, or similar)

Workflow

1. Stage and Inspect

If nothing is staged, stage everything and inspect what changed:

# Check current state
git --no-pager status --short

# Stage all if nothing is staged
$staged = git --no-pager diff --cached --name-only
if (-not $staged) { git add -A }

# Review the diff
git --no-pager diff --cached --stat

2. Run Pre-Commit Checks (Optional)

# Node.js projects
npm run lint && npm run build

# Python projects
ruff check . && pytest --tb=short -q

# Generic pre-commit hooks
pre-commit run --all-files

Skip with --no-verify flag on the final commit if checks are handled externally.

3. Analyze the Diff for Atomic Splits

git --no-pager diff --cached

Ask: Do these changes serve more than one logical purpose?

Split when changes involve:

  • Different concerns (e.g., new feature and bug fix)
  • Different file types (e.g., source code and documentation)
  • Different modules with no dependency between them

If splitting, use git add -p to stage partial hunks:

git add -p   # interactive hunk selection

4. Write the Commit Message

Format: <emoji> <type>(<scope>): <imperative description>

Type → Emoji mapping (most common):

Type Emoji Use for
feat New feature
fix 🐛 Bug fix
fix 🚑️ Critical hotfix
docs 📝 Documentation only
style 💄 Formatting, no logic change
refactor ♻️ Code change without feat/fix
perf ⚡️ Performance improvement
test Adding or fixing tests
chore 🔧 Build, tooling, config
ci 👷 CI/CD changes
revert ⏪️ Reverting a change
wip 🚧 Work in progress
security 🔒️ Security fix
breaking 💥 Breaking change
deps Add dependency
deps Remove dependency

Read the full file on GitHub · 196 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. yesterday First seen · 196 lines · 33 tokens per session scan A 79388c08138f

Subscribe to this mod's changes

commit-workflow is a skill published in the GitHub repository drvoss/everything-copilot-cli (45 stars, last pushed 8d ago), licensed MIT. It adds 33 tokens to every session and 1,536 once invoked, about $0.0002 per session on Opus 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.