prp-implement

prp-implement is a command for Claude Code from mturac/everything-openai-codex. It costs 8 tokens per session (2,369 once invoked), scanned A, original, MIT.

An implementation runner that follows a saved plan one step at a time and checks the project after each change.

In plain words
What is it for?
It helps carry out planned features, detect the project's package manager, and run its type checks, linting, tests, and build checks.
Why use it?
It catches broken code early instead of letting errors build up across many changes.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Codex.

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 commands/mturac/everything-openai-codex/prp-implement
Clone the repo
git clone --depth 1 https://github.com/mturac/everything-openai-codex

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/mturac/everything-openai-codex/prp-implement.svg)](https://agentmods.dev/commands/mturac/everything-openai-codex/prp-implement)
Your own site
<a href="https://agentmods.dev/commands/mturac/everything-openai-codex/prp-implement"><img src="https://agentmods.dev/badge/commands/mturac/everything-openai-codex/prp-implement.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,369 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.1 $0.00008 $0.02369
Opus 5 $0.00004 $0.01184
Sonnet 5 $0.00002 $0.00474
Haiku 4.5 $0.00001 $0.00237

Measured 2d ago against content hash b39186e99ac0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

prp-implement scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

if curl -sf http://localhost:PORT/health >/dev/null 2>&1; then
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

commands/prp-implement.md · 386 lines

How it starts

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

Adapted from PRPs-agentic-eng by Wirasm. Part of the PRP workflow series.

PRP Implement

Execute a plan file step-by-step with continuous validation. Every change is verified immediately — never accumulate broken state.

Core Philosophy: Validation loops catch mistakes early. Run checks after every change. Fix issues immediately.

Golden Rule: If a validation fails, fix it before moving on. Never accumulate broken state.


Phase 0 — DETECT

Package Manager Detection

File Exists Package Manager Runner
bun.lockb bun bun run
pnpm-lock.yaml pnpm pnpm run
yarn.lock yarn yarn
package-lock.json npm npm run
pyproject.toml or requirements.txt uv / pip uv run or python -m
Cargo.toml cargo cargo
go.mod go go

Validation Scripts

Check package.json (or equivalent) for available scripts:

# For Node.js projects
cat package.json | grep -A 20 '"scripts"'

Note available commands for: type-check, lint, test, build.


Phase 1 — LOAD

Read the plan file:

cat "$ARGUMENTS"

Extract these sections from the plan:

  • Summary — What is being built
  • Patterns to Mirror — Code conventions to follow
  • Files to Change — What to create or modify
  • Step-by-Step Tasks — Implementation sequence
  • Validation Commands — How to verify correctness
  • Acceptance Criteria — Definition of done

If the file doesn't exist or isn't a valid plan:

Error: Plan file not found or invalid.
Run /prp-plan <feature-description> to create a plan first.

CHECKPOINT: Plan loaded. All sections identified. Tasks extracted.


Phase 2 — PREPARE

Git State

git branch --show-current
git status --porcelain

Branch Decision

Current State Action
On feature branch Use current branch
On main, clean working tree Create feature branch: git checkout -b feat/{plan-name}
On main, dirty working tree STOP — Ask user to stash or commit first
In a git worktree for this feature Use the worktree

Read the full file on GitHub · 386 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. 2d ago First seen · 386 lines · 8 tokens per session scan A b39186e99ac0

Subscribe to this mod's changes

prp-implement is a command published in the GitHub repository mturac/everything-openai-codex (89 stars, last pushed 12d ago), licensed MIT. It adds 8 tokens to every session and 2,369 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.