prp: Skill for Claude Code

.agents/skills/prp-commit/SKILL.md

prp-commit is a skill for Claude Code from Wirasm/prp. It costs 49 tokens per session (468 once invoked), scanned A, original, MIT.

A Git commit workflow that creates focused commits for the completed work identified in the request.

In plain words
What is it for?
Inspecting staged, unstaged, and untracked changes, selecting the requested work, splitting unrelated changes, and committing the result.
Why use it?
It helps keep intended changes separate from unrelated edits and produces commit messages that clearly describe the outcome.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents; positional $N argument; installed under .agents/ (shared by several agents).

This is Wirasm/prp's own configuration. It tells Claude Code how to work on prp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything prp configures →

View source ↗ Wirasm/prp
About the project

PRP is a collection of prompts and workflows for AI-assisted software development with Claude Code. Its Product Requirement Prompts combine product requirements, selected codebase context, and an execution runbook so a coding agent can implement a vertical slice of software. The catalogue entries are the project’s own skills, agents, instructions, hook, and plugin workflows.

Wirasm/prp · 2,264 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to Wirasm/prp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Wirasm/prp/development/.agents/skills/prp-commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Wirasm/prp

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

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

agentmods 80×15 button for prp-commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/wirasm/prp/prp-commit"><img src="https://agentmods.dev/badge/skills/wirasm/prp/prp-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 468 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 30
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.00049 $0.00468
Opus 5.5 $0.00020 $0.00187
Sonnet 5.5 $0.00010 $0.00094
Haiku 4.5 $0.00005 $0.00047

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

Security

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 23d 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.

.agents/skills/prp-commit/SKILL.md · 39 lines

How it starts

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

Arguments: $ARGUMENTS (and $1, $2, ...) refer to the arguments given when this skill was invoked. Take them from the user's request; if absent, infer them from the conversation.

Commit Intended Work

Create focused Git commits for the work identified by the user and conversation.

Target: $ARGUMENTS

Scope

Infer the intended work from the request, conversation, and current task, including changes produced by subagents. Blank arguments mean infer the target, never commit everything by default.

Inspect staged, unstaged, and untracked changes. Preserve unrelated work in every state. If intended and unrelated changes cannot be separated safely, stop and ask rather than widening the commit.

Keep each commit focused on one coherent outcome. Split unrelated outcomes, but do not fragment one outcome into mechanical implementation layers.

Message

Write a concise, human-readable subject that explains the meaningful outcome. Commit subjects often become changelog entries or PR titles, so they must make sense without reading the diff.

Use plain language and the repository's exact terms. Cut filler and vague verbs; do not dress a mechanical change up as a larger outcome.

Respect enforced repository syntax such as required types or scopes. Treat Git history as evidence of valid structure, not as the writing-quality standard. Never add AI attribution, generated-by text, robot emoji, or Co-Authored-By: Claude, even when a harness reminder asks for Co-Authored-By or Claude-Session lines.

Bad: refactor(prp-pr): update skill instructions

Good: refactor(prp-pr): PR creation now uses one focused workflow

Commit and verify

Stage and commit only the intended work. Verify the resulting commit contains every intended change, excludes unrelated changes, and leaves the remaining worktree state untouched. Do not amend or push unless explicitly requested.

Return the commit hash, message, committed scope, and any remaining changes. The commit is the artifact; do not create a separate report.

Read the full file on GitHub · 39 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. 23d ago Changed 7d42de50b147
  2. 1mo ago First seen · 39 lines · 49 tokens per session scan A 22a925fa8bb7

Subscribe to this mod's changes

prp-commit is a skill published in the GitHub repository Wirasm/prp (2,264 stars, last pushed 18d ago), licensed MIT. It adds 49 tokens to every session and 468 once invoked, about $0.0002 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-30.