pith-commit

A one-time helper for writing Git commit messages in Conventional Commits format, a standard style such as `fix(auth): correct expiry check`.

In plain words
What is it for?
Use it when you need a commit subject of 50 characters or fewer and an optional explanation of why the change was made.
Why use it?
It turns staged changes into a consistent, short commit message without saving anything.

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/abhisekjha/pith/pith-commit
Any agent
npx skills add abhisekjha/pith --skill pith-commit
Clone the repo
git clone --depth 1 https://github.com/abhisekjha/pith

Made for: Claude Code, Codex.

Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 400 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.00036 $0.00400
Opus 5 $0.00018 $0.00200
Sonnet 5 $0.00007 $0.00080
Haiku 4.5 $0.00004 $0.00040

Measured 3d ago against content hash 4eb02e563050, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pith-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 3d 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/pith-commit/SKILL.md · 60 lines

What it actually says

Conventional Commits. Subject ≤50 chars. Imperative mood.

type(scope): subject

Why: [reason, only when non-obvious from the diff]

Types

Type When
feat new capability
fix bug correction
refactor restructure without behavior change
perf measurable performance improvement
test add or fix tests only
docs documentation only
chore tooling, deps, config — no prod code
ci CI/CD pipeline changes
build build system changes

Rules

  • Subject: imperative. "add" not "added" or "adds". ≤50 chars. Hard limit.
  • Scope: component or file affected. Optional but preferred. Lowercase.
  • Body (Why:): only when the reason is non-obvious from subject + diff. Skip for trivial changes.
  • Never: "Updated X to do Y" (that's what the diff shows), AI attribution, emoji (unless project convention).
  • Breaking changes: add ! after type. feat(api)!: change response shape

Examples

Good:

fix(auth): correct token expiry unit comparison
Why: exp is Unix seconds, Date.now() is ms — check always evaluated false
feat(payments): add Stripe webhook signature verification
refactor(db): extract query builders into repository layer

Bad:

Fixed the authentication middleware to properly handle token expiration by comparing the values in the correct units so that users can actually log in now

One-shot. Does not persist.

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. 3d ago First seen · 60 lines · 36 tokens per session scan A 4eb02e563050

Subscribe to this mod's changes

pith-commit is a skill published in the GitHub repository abhisekjha/pith (98 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 400 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-08-30.

Related

Other skills, from other repositories

git-wrapup

Land working-tree changes as logical commits — the work grouped by concern, topped by a release commit (version bump, changelog, regenerated artifacts) and an annotated tag. Verify, commit, tag. Stops at "committed and tagged locally" — no push, no publish. The release-and-publish skill picks up from here. Distilled…

cyanheads/pubchem-mcp-server · 82 tokens

git-wrapup

Land working-tree changes as logical commits — the work grouped by concern, topped by a release commit (version bump, changelog, regenerated artifacts) and an annotated tag. Verify, commit, tag. Stops at "committed and tagged locally" — no push, no publish. The release-and-publish skill picks up from here. Distilled…

cyanheads/brapi-mcp-server · 82 tokens

git-wrapup

Land working-tree changes as logical commits — the work grouped by concern, topped by a release commit (version bump, changelog, regenerated artifacts) and an annotated tag. Verify, commit, tag. Stops at "committed and tagged locally" — no push, no publish. The release-and-publish skill picks up from here. Distilled…

cyanheads/cyanheads-mcp-server · 82 tokens

git-workflow-and-versioning

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump…

addyosmani/agent-skills · 74 tokens

terraform-skill

Use when working with Terraform or OpenTofu - creating modules, writing tests (native test framework, Terratest), setting up CI/CD pipelines, reviewing configurations, choosing between testing approaches, debugging state issues, implementing security scanning (trivy, checkov), or making infrastructure-as-code…

agentscope-ai/QwenPaw · 62 tokens

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens