Next Task Implementation Loop
breaking-brake/cc-wf-studio
Runs one unattended implementation iteration of an autonomous loop: steward the in-flight PR, fix interrupts, or build one queued idea issue and open a PR.
Runs the plan, implement and review pipeline detached in fresh headless sessions, looping review and fix until the pull request is clean.
$ npx skills add Wirasm/prp --skill prp-loop -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Wirasm/prp prp-loop --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Wirasm/prp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/prp-loop .claude/skills/prp-loop && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "prp-loop" agent skill from https://github.com/Wirasm/prp/tree/development/.agents/skills/prp-loop into .claude/skills/prp-loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prp-loop", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Wirasm/prp/tree/development/.agents/skills/prp-loopType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Wirasm/prp --skill prp-loop -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Wirasm/prp prp-loop --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Wirasm/prp.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/prp-loop .agents/skills/prp-loop && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "prp-loop" agent skill from https://github.com/Wirasm/prp/tree/development/.agents/skills/prp-loop into .agents/skills/prp-loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prp-loop", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Wirasm/prp --skill prp-loop -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Wirasm/prp prp-loop --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Wirasm/prp.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/prp-loop .cursor/skills/prp-loop && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "prp-loop" agent skill from https://github.com/Wirasm/prp/tree/development/.agents/skills/prp-loop into .cursor/skills/prp-loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prp-loop", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Wirasm/prp.git --path .agents/skills/prp-loop--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Wirasm/prp --skill prp-loop -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Wirasm/prp prp-loop --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Wirasm/prp.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/prp-loop .gemini/skills/prp-loop && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "prp-loop" agent skill from https://github.com/Wirasm/prp/tree/development/.agents/skills/prp-loop into .gemini/skills/prp-loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prp-loop", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Wirasm/prp prp-loopInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Wirasm/prp --skill prp-loop -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Wirasm/prp.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/prp-loop .github/skills/prp-loop && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "prp-loop" agent skill from https://github.com/Wirasm/prp/tree/development/.agents/skills/prp-loop into .github/skills/prp-loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prp-loop", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Wirasm/prp --skill prp-loop -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Wirasm/prp prp-loop --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Wirasm/prp.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/prp-loop .opencode/skills/prp-loop && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "prp-loop" agent skill from https://github.com/Wirasm/prp/tree/development/.agents/skills/prp-loop into .opencode/skills/prp-loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prp-loop", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
prp-loopRuns the plan, implement and review pipeline detached in fresh headless sessions, looping review and fix until the pull request is clean.
This starts an orchestrator that takes a feature through plan, implement (commit and open a PR) and review, then loops review and fix until the PR review comes back clean or a limit is hit. Each stage runs as a fresh headless codex exec session, and progress is saved in a state file under ~/.prp, so a halted loop can be picked up again with --resume. Defaults are three review-fix cycles and ten implementation iterations with the base branch detected automatically, and a --validate command gives the loop an authoritative pass check.
The stages hand off to sibling skills: prp-plan writes the plan file, prp-implement executes and validates it, commits and opens the PR, prp-pr opens one if an older run did not, and prp-review writes a report and publishes it to GitHub. When fixes are needed, the report, plan and live PR feed a fresh correction pass, a push and a re-review. The --until option halts after a chosen stage. It is for explicit requests such as running detached or across context windows, while prp-issue handles ordinary delivery. The excerpt ends before the safety section.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 4352925. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
uvcodexFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
PRP Loop loads about 894 tokens when it runs. Until then it costs about 107 tokens; SKILL.md has 396 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from Wirasm/prp at commit 4352925, republished under its MIT licence (© Wirasm). 396 words, ~894 tokens.
.claude/skills/prp-loop/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from 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.
Launch the orchestrator that drives plan → implement (commit + PR) → review and loops review → fix until the PR review is clean (or limits are hit). It runs headless codex exec once per stage and tracks progress in ~/.prp/<key>/state/prp-loop.state.json.
Start a new loop with the user's request as the feature argument:
uv run .agents/skills/prp-loop/scripts/prp_loop.py "$ARGUMENTS" --cli codexResume a halted or in-progress loop:
uv run .agents/skills/prp-loop/scripts/prp_loop.py --resume --cli codexDefaults: --max-cycles 3, --max-implement-iterations 10, base branch auto-detected. Pass --validate "<cmd>" to give the loop an authoritative green check (exit 0 = pass).
--until)Pass --until <stage> (plan | implement | pr | review | fix) to halt once that stage completes:
uv run .agents/skills/prp-loop/scripts/prp_loop.py "$ARGUMENTS" --cli codex --until implement--until implement runs plan → implement and stops once validations are green and the implementation skill has committed and opened its PR — no review.
UX note: the retired Ralph loop was single-session and interactive (a Stop-hook fed the prompt back in the same session). prp-loop --until implement is headless instead — it drives fresh codex exec sessions per iteration and you resume/inspect via the state file rather than watching it live.
prp-plan writes the plan under the project's PRP store at $PRP_DIR/plans/<feature>.plan.md.prp-implement executes and validates the plan, commits the work, and opens the PR (bounded by --max-implement-iterations).prp-pr does so once.prp-review runs its current default review, writes the canonical report, and publishes that complete report to GitHub.prp-implement correction pass → push → re-review, up to --max-cycles. Ready to merge → done; review incomplete → halt.--dangerously-skip-permissions). Operates only on the feature branch — it refuses to PR from main/master/development/the base branch.--max-cycles, a fix pass with no new commit (no progress), failed push, or any stage error.~/.prp/<key>/state/prp-loop.state.json.This orchestrator is self-contained and uses no Stop-hook. It owns both loops itself and detects "green" from each stage's VALIDATION: GREEN sentinel (or the --validate command). The PRP skills it calls are invoked verbatim and never modified.
© Wirasm, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in .agents/skills/prp-loop of Wirasm/prp.
Open the folder on GitHubat commit 4352925
PRP Loop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| PRP Loop this skillWirasm/prp | 2.3k | — | ~894 | Automated safety check: Pass | MIT | |
| Next Task Implementation Loopbreaking-brake/cc-wf-studio | 5.4k | — | ~2.1k | Automated safety check: Pass | Custom licence | |
| GitHub Review Iterationprisma/orm | 48k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Cherry Studio PR ReviewCherryHQ/cherry-studio | 52k | — | ~3.9k | Automated safety check: Pass | AGPL-3.0 | |
| PR Reviewjaemk/self_update | 961 | — | ~1.5k | Automated safety check: Notes | MIT | |
| Plannotator Referencebacknotprop/plannotator | 9.2k | — | ~5.7k | Automated safety check: Warn | Apache-2.0 |
breaking-brake/cc-wf-studio
Runs one unattended implementation iteration of an autonomous loop: steward the in-flight PR, fix interrupts, or build one queued idea issue and open a PR.
prisma/orm
Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.
CherryHQ/cherry-studio
Reviews Cherry Studio branches, pull requests, commits, files and docs against the project's own architecture, naming, API-boundary and UI rules, report-only by default.
jaemk/self_update
Targeted, read-only review of a PR or checked-out branch. An agent skill from jaemk/self_update.
backnotprop/plannotator
Reference for picking the right Plannotator tool or command for plan review, code review, annotating files and URLs, archived plan decisions and Guided Reviews.
ZaxbyHub/opencode-swarm
Ingests existing pull request feedback such as review comments and CI failures, verifies each claim, fixes confirmed issues and reports closure status for every item.
Wirasm/prp
Runs a detached, resumable loop that plans, implements, opens a PR, reviews and fixes a feature across headless CLI sessions until the review is clean.
Wirasm/prp
Coordinates several PRP workstreams in isolated Git worktrees from one session, verifying proof, holding merge gates and sequencing the merges.
Wirasm/prp
Turns a PRD, issue or description into an implementation-ready plan grounded in codebase evidence, adding root-cause analysis for bugs and publishing issue plans back to the issue.
Wirasm/prp
Writes an implementation-ready plan for a feature, bug fix, refactor or chore from a PRD, issue or description, grounded in codebase evidence, and can post it back to the source issue.
Wirasm/prp
Settles a feasibility question with the smallest throwaway build that could disprove it, in an isolated worktree, ending in a verdict backed by evidence instead of a PR.
Wirasm/prp
Settles a feasibility or fit question by building the smallest throwaway artifact that could prove it wrong, in an isolated worktree, ending in a PROVEN, DISPROVEN or CONDITIONAL verdict.
Works with
Categories
Runs the plan, implement and review pipeline detached in fresh headless sessions, looping review and fix until the pull request is clean. This starts an orchestrator that takes a feature through plan, implement (commit and open a PR) and review, then loops review and fix until the PR review comes back clean or a limit is hit.prp, so a halted loop can be picked up again with --resume.
PRP Loop fits situations like: asked to run the full PRP loop for a feature; running plan, implementation and review detached from the current session; continuing a long job across context windows; resuming a halted loop from its saved state.
Run `npx skills add Wirasm/prp --skill prp-loop -a claude-code`. Or copy the skill folder (.agents/skills/prp-loop in Wirasm/prp) into .claude/skills/prp-loop in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Wirasm/prp --skill prp-loop -a codex`. Or copy the skill folder (.agents/skills/prp-loop in Wirasm/prp) into .agents/skills/prp-loop in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Wirasm/prp --skill prp-loop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prp-loop, .gemini/skills/prp-loop, .github/skills/prp-loop and .opencode/skills/prp-loop in your project.
Going by SKILL.md and its folder, PRP Loop needs Python for the scripts in its folder and the command-line tools its instructions call (uv and codex). Our summary lists: The codex CLI; uv to run the loop script; GitHub access for the pull request and review report; The prp-plan, prp-implement, prp-pr and prp-review skills.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
PRP Loop is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 894 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with PRP Loop: Next Task Implementation Loop (breaking-brake/cc-wf-studio, 5.4k stars), GitHub Review Iteration (prisma/orm, 48k stars), Cherry Studio PR Review (CherryHQ/cherry-studio, 52k stars) and PR Review (jaemk/self_update, 961 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Wirasm (a GitHub user) maintains it in Wirasm/prp, which has 2,258 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on October 2, 2026.
Source: Wirasm/prp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.