ralplan

Runs consensus planning with Planner, Architect, and Critic agents until approval.

Updated Feb 1, 2024
One-click install
npx skills add https://github.com/ogiboy/portfolio-app --skill ralplan-ogiboy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ralplan
Source: https://github.com/ogiboy/portfolio-app/tree/main/.codex/skills/ralplan
Command: npx skills add https://github.com/ogiboy/portfolio-app --skill ralplan-ogiboy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Vague or underspecified requests sent directly to execution agents waste cycles on scope discovery and produce misaligned work. Ralplan intercepts these requests and routes them through a structured consensus planning workflow so execution starts with a clear PRD, testable acceptance criteria, and an approved architecture. ## Core Features & Use Cases - Consensus Planning Loop: Iterates Planner, Architect, and Critic subagents (up to 5 rounds) until the Critic approves, producing a durable consensus artifact with ADR, risks, and verification steps. - RALPLAN-DR Deliberation: Generates a structured summary of principles, decision drivers, and viable options, with a deliberate mode adding pre-mortem scenarios and expanded test plans for high-risk work like auth, migrations, or compliance changes. - Pre-Execution Gate: Detects underspecified execution prompts (e.g., "ralph add authentication") and redirects them into planning, while letting concrete prompts with file paths, issue numbers, or acceptance criteria pass through. - Use Case: A user types "autopilot build the app"; the gate redirects to ralplan, which drafts a PRD and test spec, runs Architect and Critic reviews, and hands off the approved plan to $ultragoal or $team for execution. ## Quick Start Ask the assistant to run $ralplan with a task description, optionally adding --interactive for approval prompts or --deliberate for high-risk work.

Frequently Asked Questions about ralplan

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

FAQPage Schema
How do I run consensus planning before executing a coding task?

Invoke $ralplan with a task description to start the Planner, Architect, and Critic loop. Add --interactive to review the draft plan and approve the final version, or --deliberate for high-risk work requiring pre-mortem analysis.

What is the difference between ralplan and ralph for task execution?

Ralplan is a planning-only mode that produces an approved PRD and test spec without editing code. Ralph is an execution lane for persistent single-owner implementation; ralplan hands off approved plans to ralph, ultragoal, or team.

When does the pre-execution gate redirect prompts to ralplan?

The gate fires on execution keywords like ralph or autopilot combined with vague prompts lacking file paths, issue numbers, function names, or acceptance criteria. Prefix with force: or ! to bypass the redirect.

Can ralplan modify code directly during planning?

No. Ralplan may only inspect the repository and write planning artifacts under .omx/context, .omx/plans, .omx/specs, and .omx/state. Implementation requires an explicit handoff to an execution lane after consensus.

What happens if the Critic never approves the plan?

The re-review loop runs a maximum of five iterations, revising the plan through Planner, Architect, and Critic each round. If no approval is reached, the best version is presented to the user for a decision.