ワンクリックで
ralph
Persistence loop until task completion. Use when work must be verified complete.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Persistence loop until task completion. Use when work must be verified complete.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Multi-agent orchestration for PI: team coordination, autonomous execution, persistence loops, and requirements gathering. USE FOR: multi-agent development, parallel execution, code implementation, architecture design, security review, test automation, project planning. Commands: /skill:team, /skill:autopilot, /skill:ralph, /skill:deep-interview, /skill:plan, /skill:verify
Reactive team orchestration. Spawn workers, monitor completions, dynamically spawn newly unblocked tasks until all complete.
Full autonomous execution from idea to working code. Use when you want end-to-end autonomous development.
Cancel active execution modes and clean up state.
Socratic requirements gathering with ambiguity scoring. Use for clarifying vague ideas before building.
tmux-based multi-agent orchestration using pi-team CLI. Spawn multiple AI agents (PI, Claude, Codex, Gemini) in parallel tmux sessions. USE FOR: parallel implementation, multi-provider coordination, large-scale tasks, distributed work. Commands: /skill:pi-team spawn N:provider "task", /skill:pi-team status, /skill:pi-team aggregate, /skill:pi-team shutdown
| name | ralph |
| description | Persistence loop until task completion. Use when work must be verified complete. |
| argument-hint | <task description> |
| level | 4 |
Keep working until ALL acceptance criteria are verified. PRD-driven persistence loop.
/skill:ralph "fix all TypeScript errors"
/skill:ralph "implement user authentication"
/skill:ralph "complete the API endpoints"
RALPH ITERATION 1/10
↓
Create/Read PRD (prd.json)
↓
Pick next incomplete story
↓
Implement + Verify
↓
Story passes? → Mark complete → Next story?
↓
No → Fix → Re-verify → Loop
↓
All stories pass → Architect verification → Done
Create .omp/prd.json:
{
"title": "Implement user authentication",
"stories": [
{
"id": "AUTH-001",
"description": "User can register",
"acceptance_criteria": [
"POST /auth/register accepts email/password",
"Password is hashed with bcrypt",
"Returns JWT token",
"Validates email format",
"Returns 400 for invalid input"
],
"passes": false
},
{
"id": "AUTH-002",
"description": "User can login",
"acceptance_criteria": [
"POST /auth/login accepts valid credentials",
"Returns JWT token",
"Returns 401 for invalid credentials"
],
"passes": false
}
]
}
{
"active": true,
"iteration": 1,
"max_iterations": 10,
"started_at": "2024-01-15T10:00:00Z",
"current_phase": "implementing",
"current_story": "AUTH-001"
}
Read prd.json, find first story with "passes": false.
Delegate to executor:
Task(subagent_type="oh-my-pi:executor", model="sonnet", prompt="Implement AUTH-001: User registration per acceptance criteria")
For each acceptance criterion:
When ALL criteria pass:
{
"id": "AUTH-001",
"passes": true,
"verified_at": "2024-01-15T10:30:00Z",
"evidence": ["tests pass", "verified manually"]
}
Read prd.json:
passes: true? → Go to Step 7Task(subagent_type="oh-my-pi:architect", model="opus", prompt="Review implementation against acceptance criteria")
If approved → Complete If rejected → Fix and re-verify
// Wrong - no verification
"Implementation complete, should work correctly"
// Right - actual verification
"Test results: 12/12 pass"
"Verified: POST /auth/register with valid input returns 200 + JWT"
Update .omp/state/ralph-progress.json:
{
"active": true,
"iteration": 2,
"current_story": "AUTH-002",
"completed_stories": ["AUTH-001"],
"pending_stories": ["AUTH-002", "AUTH-003"],
"errors_encountered": [],
"iterations_with_no_progress": 0
}
passes: true/skill:cancel
Stops ralph and cleans up state.