commit

commit is a skill for Claude Code, Codex from testzugang/pi-plugins. It costs 32 tokens per session (1,135 once invoked), scanned A, original, MIT.

A guided workflow for creating a Git commit, which records selected repository changes as one version-controlled unit, using a gitmoji-style message.

In plain words
What is it for?
Use it when you need to inspect, stage, and commit changes or prepare a gitmoji commit message; the workflow requires confirmation before committing.
Why use it?
It helps ensure the staged changes are understood, unrelated work is noticed, and the commit message accurately describes the change before anything is committed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when you need to inspect, stage, and commit changes or prepare a gitmoji commit message; the workflow requires confirmation before committing.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/testzugang/pi-plugins/commit"><img src="https://agentmods.dev/badge/skills/testzugang/pi-plugins/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,135 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.00032 $0.01135
Opus 5.5 $0.00013 $0.00454
Sonnet 5.5 $0.00006 $0.00227
Haiku 4.5 $0.00003 $0.00113

Measured 1mo ago against content hash 0f45c8eb7f33, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 1mo 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.

packages/pi-commit/skills/commit/SKILL.md · 138 lines

How it starts

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

Commit

Goal

Create a git commit using a disciplined gitmoji workflow: inspect staged changes, understand the motivation, propose a message, confirm with the user, then commit.

Do not commit without explicit confirmation.

Workflow

  1. Inspect repository state:
    • git status --short
    • git diff --cached --stat
    • git diff --cached
    • git log --oneline -10
  2. Decide path:
    • If files are already staged: use fast-path (no staging questions).
    • If nothing is staged and user requested staging/commit all: show candidate files once and ask once before staging.
    • If nothing is staged and recent assistant work produced unstaged/untracked changes: treat the commit request as implicit staging intent. Show candidate files once, including any unstaged/untracked files so unrelated leftovers are visible, and ask once before staging.
    • If nothing is staged and there is no explicit staging request or recent assistant work context: stop and tell the user no staged changes.
    • After any staging step: rerun git status --short, git diff --cached --stat, and git diff --cached before drafting the commit.
  3. Check whether staged changes contain multiple unrelated concerns.
    • If yes, recommend separate commits and ask how to proceed.
  4. Gather message inputs with minimal churn:
    • Ask for motivation once.
    • Gitmoji selection only if not already specified by the user.
  5. Draft a commit message with subject and body.
  6. Ask exactly one final confirmation (user_select) with full message + file list.
  7. Run git commit only after final confirmation.
  8. Run git status --short after the commit and report the result.

Gitmoji Reference

Emoji Use when
✨ adding a feature or new capability
🐛 fixing a bug
🔧 changing configuration, tooling, or package setup
♻️ refactoring without behavior change
✅ adding or updating tests
📝 changing documentation
🎨 formatting or code style only
⚡ improving performance
🔥 removing code or files
🔖 release commits

Read the full file on GitHub · 138 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. 1mo ago First seen · 138 lines · 32 tokens per session scan A 0f45c8eb7f33

Subscribe to this mod's changes

commit is a skill published in the GitHub repository testzugang/pi-plugins (3 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 1,135 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-31.