prp-ralph-loop

Executes iterative Ralph loop plans with validation and progress tracking in PRP projects.

1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/TeddyBennett/MOV --skill prp-ralph-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prp-ralph-loop
Source: https://github.com/TeddyBennett/MOV/tree/main/PRPs-agentic-eng/plugins/prp-core/skills/prp-ralph-loop
Command: npx skills add https://github.com/TeddyBennett/MOV --skill prp-ralph-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a formal guide for running Ralph loop iterations, enabling automated, repeatable plan execution with strict validation and progress tracking in PRP projects.

Core Features & Use Cases

  • Iterative execution: Orchestrates plan execution across multiple iterations using a persistent state file to track progress.
  • Validation enforcement: Ensures all validations (e.g., type-check, lint, tests, build) are run and evaluated before completion.
  • Progress logging: Maintains a structured progress log and learnings to inform future iterations and pattern discovery.
  • Use Case: When a Ralph loop must run autonomously until all validations pass and tasks are completed.

Quick Start

Start an active Ralph loop using the controlling tool to initialize state and begin iterative execution.

Frequently Asked Questions about prp-ralph-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate plan execution with validation and progress tracking?

Automated plan execution requires a persistent state file to orchestrate iterative cycles, running type-check, lint, test, and build validations until all tasks complete and pass. This enforces deterministic iteration behavior across multiple loops.

What is a Ralph loop iteration in agentic engineering?

A Ralph loop iteration is an operational protocol for autonomous plan execution that reads a state file, interprets the plan, executes validations, and logs progress across multiple cycles until a final completion condition is met.

How do I run autonomous iterations until all validations pass?

To run autonomous iterations, initialize a state file using the controlling tool to begin iterative execution. The loop progresses through plan execution, validation enforcement, and progress updates until all validations pass and tasks are completed.

Can I use this iteration protocol for PRP projects without manual intervention?

Yes, this protocol is designed for autonomous execution in PRP projects. It requires a state file to exist and enforces strict validation execution and progress logging, ensuring deterministic iteration behavior without manual intervention.

What's the best way to maintain state and learnings across multiple execution cycles?

Maintain state and learnings across cycles by using a persistent state file that tracks progress and logs structured learnings. This informs future iterations and supports pattern discovery throughout the execution loops.

Why does my iteration loop not progress to completion?

An iteration loop may stall if the state file is missing or if validations such as type-check, lint, tests, or build fail. The loop requires reading the state, interpreting the plan, and passing all validations before the final completion condition triggers.