一键导入
omg-ralplan
Plan consensus FSM for oh-my-grok (plan → critic → revise → verifier). Use when user says ralplan, plan consensus, or steelman the plan before coding.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plan consensus FSM for oh-my-grok (plan → critic → revise → verifier). Use when user says ralplan, plan consensus, or steelman the plan before coding.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
In-session end-to-end coordinator for oh-my-grok. Use when the user says autopilot, auto pilot, full auto, autonomous, build me, create me, make me, handle it all, or wants idea→working code with interview/plan/implement/review/QA/accept. CLI owns phase state and verified; this skill is the session playbook.
In-session durable multi-story goal ledger for oh-my-grok. Use when user says ultragoal, goal ledger, multi-story durable, durable goals, resume goal, omg goal, hash-chained stories, or needs multi-story work that survives process and run boundaries. CLI owns snapshot/ledger and verified; this skill is the session playbook (Grok has no host /goal).
Bootstrap router for oh-my-grok. Use when user says omg, setup omg, how to use oh-my-grok, which skill, ulw vs ralph vs ralplan vs autopilot vs ultragoal, or first-time install.
Deterministic, resumable requirements convergence before planning or implementation.
Bounded adversarial QA repair loop — freeze scenarios, diagnose, retest; never sets verified.
Parallel execution via Grok spawn_subagent only. Use when user says ulw, ultrawork, parallel agents for oh-my-grok.
| name | omg-ralplan |
| description | Plan consensus FSM for oh-my-grok (plan → critic → revise → verifier). Use when user says ralplan, plan consensus, or steelman the plan before coding. |
Finite-state planning loop that produces a consensus plan before any code execution mode (ulw/ralph). Implementation is out of scope for this skill.
spawn_subagent (depth=1; children must NOT spawn).capability_mode=read-only. If spawn DENIED for capability_mode: RETRY IMMEDIATELY same turn — do not abandon multi-agent.ralplan, plan consensus, critic the plan, steelman plan.omg-ultrawork or omg-ralph.omg-cancel.CLI-owned state machine (omg_cli/ralplan.py). Artifacts + transitions live
under .omg/state/runs/<id>/ralplan.json and stages/.
draft → critic → revise → verifier → (accept | revise)* → accepted | failed
max_rounds default 3
| State | Actor | Writes? | Notes |
|---|---|---|---|
| draft | Leader (or plan / omg-orchestrator) | Yes — plan draft under run stages/ + .omg/artifacts/ | Goals, constraints, steps, risks, acceptance |
| critic | spawn_subagent read-only | Proposals/notes only | Attack assumptions, missing tests, scope holes |
| revise | Leader | Yes — update plan artifact | Address critic findings; no product code |
| verifier | spawn_subagent read-only | Notes only | Check plan is coherent, testable, scoped; no code |
| accepted | omg CLI only | ralplan.json status | Only if verifier artifact contains whole-word APPROVE |
| failed | omg CLI only | ralplan.json status | After max_rounds without APPROVE |
| Role | Prefer capability_mode | Notes |
|---|---|---|
| draft / revise (leader) | read-write only for plan artifacts under run stages/ + .omg/artifacts/ | No product implementation |
| critic / verifier | read-only (or permissionMode plan) | Cannot edit the repo |
| implementer agents | Do not spawn in ralplan | Implementation is out of scope |
| Shell / acceptance | N/A in ralplan | Product tests run later via omg accept / ulw/ralph only |
When spawning critic or verifier, MUST set capability_mode=read-only (or equivalent) so they cannot edit the repo. They may only:
read_file, grep, list_dir.omg/artifacts/ if the host allows write to that path; prefer returning findings to the leader who writesPreToolUse is a soft-gate and may not cover all subagent children — read-only capability is the primary control for critic/verifier. See docs/research/subagent-pretooluse-spike.md.
omg ulw / omg ralph for execution.stages/draft-01.md or .omg/artifacts/plan-draft.md): problem, goals, non-goals, steps, risks, acceptance criteria.spawn_subagent with read-only capability; prompt to find blind spots (security, migration, test theatre, contract mismatch). Depth=1; Grok-native types only (explore, plan, omg-critic, general-purpose in read-only).spawn_subagent read-only; pass/fail against: clarity, testability, scope, risk coverage. Emit explicit APPROVE | REQUEST CHANGES | FAILED into the verifier stage artifact.APPROVE (or JSON "verdict":"APPROVE") → accepted. Else revise again until max_rounds → failed. Do not start coding here.omg ralplan "goal or problem statement"
omg ralplan "goal" --max-iter 3 --dry-run # max_rounds=3; record FSM only
State file: .omg/state/runs/<id>/ralplan.json. Stage prompts/artifacts under stages/.
omg ask if present).