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.
git clone --depth 1 https://github.com/Fmarzochi/EGCWrote 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.
[](https://agentmods.dev/commands/fmarzochi/egc/prp-commit)<a href="https://agentmods.dev/commands/fmarzochi/egc/prp-commit"><img src="https://agentmods.dev/badge/commands/fmarzochi/egc/prp-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.
<a href="https://agentmods.dev/commands/fmarzochi/egc/prp-commit"><img src="https://agentmods.dev/badge/commands/fmarzochi/egc/prp-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.00524 |
| Opus 5.5 | $0.00006 | $0.00210 |
| Sonnet 5.5 | $0.00003 | $0.00105 |
| Haiku 4.5 | $0.00002 | $0.00052 |
Grade A, and why
prp-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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Smart Commit
Input: $ARGUMENTS
Turn "commit the parser fix" into the right git add set and a clean conventional commit, without the user naming a single path.
Step 1: Inventory
git status --porcelain
git diff --stat
If there is nothing to commit, say so and stop.
Step 2: Resolve the target
$ARGUMENTS |
Selection |
|---|---|
| Blank | All modified and untracked files |
| Plain-English description | Files whose path, directory, or diff content match the description |
Matching is semantic, not string-based: "the parser fix" selects the files whose diff touches parsing logic, even if no path contains the word "parser". When the description matches nothing, show the changed files and ask; never guess into an empty commit.
Step 3: Split into atomic commits
One commit = one concern. If the selected files mix concerns (a bug fix plus an unrelated rename), propose a split and create the commits in sequence. Never bundle unrelated changes to save a step.
Step 4: Guard
Before staging, scan the selected diff for:
- Secrets: keys, tokens, passwords,
.envcontent. Finding one aborts the commit for that file with a warning. - Debug leftovers:
console.log, commented-out blocks, stray TODO added by this change. Flag them; commit only if the user confirms. - Files that are clearly accidental: lockfile churn without dependency changes, editor artifacts.
Step 5: Commit
Write a conventional commit message derived from the diff, not from the user's phrasing:
{type}({scope}): {what changed, imperative, under 72 chars}
{body only when the diff does not speak for itself: the why, not the what}
Types: feat, fix, docs, refactor, test, chore, ci, perf.
Sign-off: run git commit -s when the repository enforces DCO (a DCO check in CI or a CONTRIBUTING requirement); plain git commit otherwise.
Output
{n} commit(s) created:
{short-hash} {message}
Not committed: {files left out and why, or "nothing"}
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.
- 1mo ago First seen · 63 lines · 15 tokens per session scan A f64ce66e9424
prp-commit is a command published in the GitHub repository Fmarzochi/EGC (67 stars, last pushed 2d ago), licensed Apache-2.0. It adds 15 tokens to every session and 524 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.
Other commands, from other repositories
pr-reviewer
Review a Git branch as a PR against the base branch (auto-resolved — main/master) judged by THIS repo's contract (CLAUDE.md + .claude/skills/). Three-dot diff, route changed paths to skills, verify (eslint/prettier/tsc + tests), tiered report + confidence. Optional gated fix + commit after the report.
pr-package
Prepare a GitHub PR delivery package (branch, commits, PR title and body, reviewer notes) from the real git diff against an explicit base branch, persisted as PRPACKAGE.md, never inventing work outside the diff. Use when scope is done and diff is stable. Do not use mid-implementation, for a branch name (use…
pr-description
Write a pull request description that helps reviewers: what changed, why, and how to verify, from a diff.
remove-deadcode
Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits.
elegant-code-review
Review the current working diff against the elegant-code decision ladder and propose deletions, honoring the negligence floor.
summarize-changes
Summarize recent changes for standup, PR, or documentation.