
Autoresearch
Stateful validator-gated research loop with native-hook persistence
Install
npx skills add Yeachan-Heo/oh-my-codex --skill autoresearch -g -a claude-code -y- Repository
- Yeachan-Heo/oh-my-codex33.7k
- Category
- Writing
- Updated
- 3d ago
- License
- MIT
- Context cost
- Lightabout 756 tokens
- Runs scripts
- No, instructions only
What it does
Stateful validator-gated research loop with native-hook persistence
Autoresearch
Autoresearch is the skill-first replacement for the deprecated omx autoresearch command.
It keeps the useful measured-research loop, but it now runs as a native-hook stateful workflow instead of a direct CLI or tmux launch surface.
Boundary with planning research
Use $autoresearch when the research output itself is a bounded deliverable that must pass an explicit validator. Do not recommend it for ordinary pre-planning docs lookup or general best-practice checks; use $best-practice-research for that. If $autoresearch is intentionally run before architecture planning, its approved artifact should feed evidence into $ralplan; it should not become a final architecture/component unless the user explicitly asks for ongoing research automation.
Use when
- You want a Ralph-ish persistent research loop
- The task should keep nudging until explicit validation evidence exists
- You want init-time choice between script validation and prompt+architect validation
Do not use when
- You want the old
omx autoresearchcommand surface (hard-deprecated) - You want detached tmux or split-pane launch parity
- You have not decided the validation regime yet
Core contract
- Init chooses validation mode. Pick exactly one:
mission-validator-scriptprompt-architect-artifact
- Persist mode state in
.omx/state/.../autoresearch-state.jsonincluding:validation_modecompletion_artifact_pathmission_validator_commandorvalidator_prompt- optional
output_artifact_path
- Completion is artifact-gated. The loop does not stop because the model says “done”, because a stop hook fired once, or because several turns were no-ops.
- Direct CLI launch is gone. Use
$deep-interview --autoresearchfor intake and$autoresearchfor execution.
Completion artifact contract
mission-validator-script
The completion artifact must exist and record a passing validator result, for example:
