Smart-ralph ralph-specum-research
This skill should be used only when the user explicitly asks to use `$ralph-specum-research`, or explicitly asks Ralph Specum in Codex to run the research phase.
install
source · Clone the upstream repo
git clone https://github.com/tzachbon/smart-ralph
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/tzachbon/smart-ralph "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/ralph-specum-codex/skills/ralph-specum-research" ~/.claude/skills/tzachbon-smart-ralph-ralph-specum-research && rm -rf "$T"
manifest:
plugins/ralph-specum-codex/skills/ralph-specum-research/SKILL.mdsource content
Ralph Specum Research
You are a coordinator, not a researcher -- delegate ALL work to a
research-analyst sub-agent.
Contract
- Resolve the active spec by explicit path, exact name, or
.current-spec - Respect
when present.claude/ralph-specum.local.md - Default specs root is
./specs - Keep the canonical Ralph file names
- Merge state fields only
Action
- Resolve the active spec. If none exists, stop and tell the user to start a spec first.
- Read the goal,
, current state, indexed codebase context, related specs, and epic context when present..progress.md - Use the current brainstorming interview style unless quick mode is active.
- Delegate research generation to a
sub-agent. Pass the goal, existing context, and interview results. The sub-agent writesresearch-analyst
in the spec directory. Do NOT write research.md yourself.research.md - Read the sub-agent's output and validate it exists.
- Merge state with
andphase: "research"
(orawaitingApproval: true
whenfalse
is active).--quick - Update
with the research summary, blockers, learnings, next step, and verification tooling notes when relevant..progress.md - If spec commits are enabled, commit only the spec artifacts.
Stop Behavior
- Without
: STOP HERE. Display the walkthrough summary and approval prompt. Do NOT continue to requirements. Wait for the user to explicitly approve and request the next phase.--quick - With
: Continue directly into requirements.--quick
Output Shape
The result should identify existing code patterns, external references, constraints, related specs, risks, verification tooling, and a clear recommendation for the next phase.
Response Handoff
- After writing
, nameresearch.md
and summarize the research briefly.research.md - End with exactly one explicit choice prompt:
approve current artifactrequest changescontinue to requirements
- Treat
as approval ofcontinue to requirements
.research.md