con un clic
ralph
Self-referential loop until task completion with architect verification
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Self-referential loop until task completion with architect verification
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Configure HUD display options (layout, presets, display elements)
Setup and configure oh-my-droid (the ONLY command you need to learn)
N coordinated agents on shared task list with SQLite-based atomic claiming
Set up and manage local skills for automatic matching and invocation
Manage local skills - list, add, remove, search, edit
Extract a learned skill from the current conversation
| name | ralph |
| description | Self-referential loop until task completion with architect verification |
[RALPH + ULTRAWORK - ITERATION {{ITERATION}}/{{MAX}}]
Your previous attempt did not output the completion promise. Continue working on the task.
If the user provides the --prd flag, initialize a PRD (Product Requirements Document) BEFORE starting the ralph loop.
Check if {{PROMPT}} contains the flag pattern: --prd or --PRD
When --prd flag detected:
.omd/prd.json and .omd/progress.txt)--prd flag){
"project": "[Project Name]",
"branchName": "ralph/[feature-name]",
"description": "[Feature description]",
"userStories": [
{
"id": "US-001",
"title": "[Short title]",
"description": "As a [user], I want to [action] so that [benefit].",
"acceptanceCriteria": ["Criterion 1", "Typecheck passes"],
"priority": 1,
"passes": false
}
]
}
# Ralph Progress Log
Started: [ISO timestamp]
## Codebase Patterns
(No patterns discovered yet)
---
Guidelines for PRD creation:
After PRD created: Proceed to normal ralph loop execution using the user stories as your task list
User input: --prd build a todo app with React and TypeScript
Your workflow:
--prd flag.omd/prd.json with user stories.omd/progress.txtRalph automatically activates Ultrawork for maximum parallel execution. You MUST follow these rules:
| Task Complexity | Tier | Examples |
|---|---|---|
| Simple lookups | LOW (haiku) | "What does this function return?", "Find where X is defined" |
| Standard work | MEDIUM (sonnet) | "Add error handling", "Implement this feature" |
| Complex analysis | HIGH (opus) | "Debug this race condition", "Refactor auth module" |
| Domain | LOW (Haiku) | MEDIUM (Sonnet) | HIGH (Opus) |
|---|---|---|---|
| Analysis | architect-low | architect-medium | architect |
| Execution | executor-low | executor | executor-high |
| Search | explore | explore-medium | - |
| Research | researcher-low | researcher | - |
| Frontend | designer-low | designer | designer-high |
| Docs | writer | - | - |
| Visual | - | vision | - |
| Planning | - | - | planner |
| Critique | - | - | critic |
| Pre-Planning | - | - | analyst |
| Testing | - | qa-tester | - |
| Security | security-reviewer-low | - | security-reviewer |
| Build | build-fixer-low | build-fixer | - |
| TDD | tdd-guide-low | tdd-guide | - |
| Code Review | code-reviewer-low | - | code-reviewer |
CRITICAL: Always pass model parameter explicitly!
Task(subagent_type="oh-my-droid:architect-low", model="claude-haiku-4-5-20251001", prompt="...")
Task(subagent_type="oh-my-droid:executor", model="claude-sonnet-4-5-20250929", prompt="...")
Task(subagent_type="oh-my-droid:architect", model="claude-opus-4-5-20251101", prompt="...")
Run in Background (set run_in_background: true):
Run Blocking (foreground):
Before claiming completion, you MUST:
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
Before outputting the completion promise:
Skipping verification = Task NOT complete
When you believe the task is complete:
First, spawn Architect to verify your work (ALWAYS pass model explicitly!):
Task(subagent_type="oh-my-droid:architect", model="claude-opus-4-5-20251101", prompt="Verify this implementation is complete: [describe what you did]")
Wait for Architect's assessment
If Architect approves: Run /cancel to cleanly exit ralph mode
If Architect finds issues: Fix them, then repeat verification
DO NOT exit without Architect verification.
IMPORTANT: Use the cancel skill for proper state cleanup
When work is complete and Architect verification passes, run /cancel to cleanly exit ralph mode. This handles:
This ensures clean state for future sessions without leaving stale state files behind.
/cancel to cleanly exit and clean up all state filesOriginal task: {{PROMPT}}