tzachbon/smart-ralph / plugins/ralph-specum-codex/skills/ralph-specum-prototype
ralph-specum-prototype
VerifiedThis skill should be used only when the user explicitly invokes `$ralph-specum-prototype`, or explicitly asks Ralph Specum in Codex to run, resume, quick-run, or cancel an optional prototype.
Ralph Specum Prototype
Coordinate one optional prototype overlay. Delegate source work to a child agent and keep the main Ralph phase unchanged until the recorded handoff.
Load the contract
Derive RALPH_CODEX_PLUGIN_ROOT from this loaded skill: take the directory containing SKILL.md, then its parent skills directory, then the next parent. Never derive the plugin root from the project working directory.
Read ../../references/prototype-coordinator.md from this skill directory completely before any prototype mutation. Treat it as the source of truth for direct, suggested, resume, quick, cancel, isolation, review, publication, and handoff behavior.
Route the request
- Resolve an explicit path, exact spec name, or
.current-specwith"$RALPH_CODEX_PLUGIN_ROOT/scripts/resolve_spec_paths.py". Use only the returnedbasePath,specRoot, settings, and warnings. - Parse one mode: direct by default, suggested with a return phase, resume by ID, quick, or cancel by ID.
- Reconcile candidate and final records before reserving, resuming, reviewing, or publishing.
- Use only these mechanics:
"$RALPH_CODEX_PLUGIN_ROOT/scripts/locked_state.py"foractivePrototypesand every state mutation"$RALPH_CODEX_PLUGIN_ROOT/scripts/prototype_records.py"for exact candidate bytes, review receipts, immutable publication, reconciliation, and downstream selection"$RALPH_CODEX_PLUGIN_ROOT/scripts/prototype_harness.py"for deterministic control outcomes and retry metadata
- Spawn internal builders with child-agent tools. Store only the returned
agentId; wait withwait_agentand stop withinterrupt_agent. Never usecreate_threador athreadIdfor an internal builder. - Keep normal capture, dirty-path transfer, verdict, handoff, deletion, and remote actions under explicit user control. Let quick mode own its bounded choices and continue to design after every terminal outcome.
Completion gate
Finish only after the coordinator contract verifies the immutable final bytes, removes the active entry through the locked helper, applies stale and handoff gates, and reports the local source disposition. Keep every remote pointer pending until the user authorizes that exact remote write.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 467k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |