ralph

Loop Claude through PRD tasks until goals are met.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/Mossaka/skills --skill ralph-mossaka
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ralph
Source: https://github.com/Mossaka/skills/tree/main/ralph
Command: npx skills add https://github.com/Mossaka/skills --skill ralph-mossaka

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the repetitive, multi-step task of completing PRDs by running Claude in a controlled loop until the product requirements are fully implemented.

Core Features & Use Cases

  • Iterative task selection: Finds the highest-priority task and implements it in each cycle.
  • Quality checks: Runs tests and type checks to ensure changes are safe.
  • Progress tracking: Updates the PRD and appends progress to a log file, enabling traceability across iterations.
  • Collaboration flow: Supports autonomous execution but requires human oversight if PRD stalls.

Quick Start

Run the Ralph loop with a target number of iterations and the PRD markdown file, optionally providing a progress file path.

Frequently Asked Questions about ralph

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

FAQPage Schema
How do I automate iterative PRD task execution with Claude?

You can automate iterative PRD task execution by running Claude in a controlled loop that selects and implements the highest-priority task each cycle. The loop continues until all product requirements in your PRD markdown file are fully met.

What is the best way to track progress when automating multi-step PRDs?

The best way to track progress when automating multi-step PRDs is to use a progress log file. The automation loop appends incremental updates to this log and updates the PRD markdown, ensuring deterministic state management and traceability across iterations.

Do I need a markdown file to start automating product requirements with Claude?

Yes, you need a PRD markdown file to start automating product requirements with Claude. The iterative loop reads this file to identify tasks, implements changes, and updates the document deterministically as it progresses through each cycle.

How does the automated PRD loop ensure code quality during task implementation?

The automated PRD loop ensures code quality by running tests and type checks during each iteration. These quality checks validate that the incremental changes made to implement product requirements are safe before updating the PRD and progress log.

What happens if the PRD automation stalls during a multi-step iteration?

If the PRD automation stalls during a multi-step iteration, it requires human oversight to intervene. The collaboration flow supports autonomous execution but relies on manual intervention to unblock the process and resume the Claude loop.

Can I set a specific number of iterations for Claude to run on a PRD?

Yes, you can set a target number of iterations for Claude to run on a PRD. When starting the loop, you provide the iteration count alongside the PRD markdown file and an optional progress file path to control the execution scope.