PIV Ralph Orchestrator for Openclaw

An advanced workflow orchestrator that automates the Plan-Implement-Validate (PIV) cycle for systematic, phase-by-phase software development.

smokealot420
v1.0.3
Feb 9, 2026
0
2.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ftw

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ftw using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is PIV Ralph Orchestrator?

The PIV Ralph Orchestrator is a sophisticated skill designed for Openclaw Skills that brings structure to AI-driven development. It implements a rigorous Plan, Implement, Validate (PIV) loop, ensuring that software is built systematically across multiple phases. By acting as a lean orchestrator, it manages context budgets effectively while spawning specialized sub-agents for tasks like codebase analysis, PRD generation, and validation.

This skill is particularly valuable for developers who want to move beyond simple prompts and adopt a more professional, iterative engineering approach. Whether you are starting from a vague idea in Discovery Mode or executing a detailed technical roadmap, this orchestrator ensures every line of code is validated and committed with semantic precision. It bridges the gap between creative vibe coding and disciplined software engineering within the Openclaw Skills ecosystem.

PIV Ralph Orchestrator Use Cases

  • Building complex features phase-by-phase using structured PRPs.
  • Automating the creation of Product Requirements Documents (PRD) from initial ideas.
  • Orchestrating multi-agent workflows where specialized agents handle execution, validation, and debugging.
  • Implementing systematic codebase analysis before starting new development tasks.
  • Maintaining a consistent git history through automated semantic commits after successful validation cycles.

How PIV Ralph Orchestrator Works

  1. Initialization & Parsing: The orchestrator parses input arguments to determine if it is in Execution Mode (using an existing PRD) or Discovery Mode.
  2. Discovery Mode: If no PRD is found, it enters an interactive Q&A session to define the project scope, tech stack, and phases.
  3. Project Setup: It initializes the directory structure, including PRDs, PRPs, and the WORKFLOW.md tracker if they do not exist.
  4. Phase Loop: For each phase, it spawns sub-agents to generate a Project Resource Plan (PRP) based on deep codebase analysis.
  5. Execution & Validation: An Executor sub-agent implements the plan, followed by a Validator sub-agent that verifies all requirements independently.
  6. Debugging & Committing: If gaps are found, a Debugger sub-agent runs up to three iterations to fix root causes. Once validated, it creates a semantic git commit.

PIV Ralph Orchestrator Setup

Ensure you have git installed and configured. To initialize a project with PIV Ralph Orchestrator within Openclaw Skills, run the following commands:

# To start in Discovery Mode (no PRD)
piv .

# To execute a specific PRD with start and end phases
piv PRDs/my-feature.md 1 4

The skill will automatically create the necessary directories including PRDs/, PRPs/templates/, and PRPs/planning/ to manage your project lifecycle.

PIV Ralph Orchestrator Data Schema & Taxonomy

The PIV Ralph Orchestrator maintains a strict file hierarchy to manage project context within Openclaw Skills.

Directory or File Purpose
/PRDs/ Contains Product Requirements Documents (Markdown format).
/PRPs/ Stores Project Resource Plans for each development phase.
/PRPs/planning/ Stores technical analysis and research documents generated by agents.
/PRPs/templates/ Contains the prp_base.md template for consistent planning.
WORKFLOW.md A master log tracking the progress and validation status of every phase.

PIV Ralph Orchestrator Advanced Features

  • Multi-Agent Orchestration: Uses sessions_spawn to run specialized sub-agents with fresh context, preventing context bloat during long sessions.
  • Automated Debug Loop: Supports up to three iterations of automated debugging with root-cause analysis before escalating to the user.
  • Smart Context Management: Allocates only 15% of the context budget to the orchestrator, reserving 100% of the fresh context for active sub-agents.
  • Semantic Git Integration: Automatically generates commits with standardized messaging and First Try Works (FTW) attribution.
  • Interactive Discovery: Conversational UI that proposes tech stacks and phase breakdowns for rapid project scaffolding.

SKILL.md


Loading

Related Openclaw Skills

Featured*