ralph

Execute tasks in a persistent self-referential loop with independent verifier checks.

46|2|Updated Mar 23, 2025
One-click install
npx skills add https://github.com/gracefullight/krds --skill ralph-gracefullight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ralph
Source: https://github.com/gracefullight/krds/tree/main/.claude/skills/ralph
Command: npx skills add https://github.com/gracefullight/krds --skill ralph-gracefullight

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ralph helps you run a persistent, self-referential execution loop that repeatedly coordinates task execution while also performing independent verification, reducing the risk of unnoticed failures.

Core Features & Use Cases

  • Persistent execution loop: Keeps working through repeated iterations rather than a single pass when refining or validating outcomes.
  • Independent verification: Runs an additional verifier step so results can be checked against the intended behavior.
  • Workflow-driven operation: Follows the step-by-step process defined in the repository workflow file to ensure consistent execution.

Quick Start

Use the ralph skill to follow the workflow in .agents/workflows/ralph.md step by step and drive the looped execute-and-verify process.

Frequently Asked Questions about ralph

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

FAQPage Schema
How do I set up a persistent execution loop for iterative task verification?

Persistent execution loops for iterative task verification run by wrapping ultrawork inside a self-referential loop, reading instructions from `.agents/workflows/ralph.md`, and applying independent verifier checks to gate correctness across multiple rounds.

What is a self-referential execution loop and when do I need it for workflow automation?

A self-referential execution loop for workflow automation is a persistent process that repeatedly coordinates task execution and verification across iterations, needed when refining deliverables or debugging agent behaviors where outputs must be validated across multiple rounds.

Can I use independent verifier checks to gate task execution in an automated workflow?

Independent verifier checks can gate task execution by running them inside a persistent self-referential loop that wraps ultrawork, validating results against intended behavior before proceeding to the next iteration.

Does workflow-driven execution with verifier checks require model invocation?

Workflow-driven execution with verifier checks requires model invocation to be disabled, relying on a deterministic process defined in the repository workflow file to ensure consistent correctness gating across iterative automation scenarios.

What are the limitations of using a self-referential loop for iterative automation?

Limitations of a self-referential loop for iterative automation include the requirement to disable model invocation and the need for a deterministic workflow file at `.agents/workflows/ralph.md` to drive execution, making it unsuitable for non-deterministic or ad-hoc tasks.

How do I debug agent behaviors using an iterative execute-and-verify process?

Debugging agent behaviors using an iterative execute-and-verify process involves running the agent inside a persistent loop that performs independent verification checks on outputs across multiple rounds, applying correctness gating until the intended behavior is achieved.