Oh-my-codex autoresearch
Stateful validator-gated research loop with native-hook persistence
install
source · Clone the upstream repo
git clone https://github.com/Yeachan-Heo/oh-my-codex
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Yeachan-Heo/oh-my-codex "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/autoresearch" ~/.claude/skills/yeachan-heo-oh-my-codex-autoresearch && rm -rf "$T"
manifest:
skills/autoresearch/SKILL.mdsource content
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.
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
command surface (hard-deprecated)omx autoresearch - 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
including:.omx/state/.../autoresearch-state.jsonvalidation_modecompletion_artifact_path
ormission_validator_commandvalidator_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
for intake and$deep-interview --autoresearch
for execution.$autoresearch
Completion artifact contract
mission-validator-script
mission-validator-scriptThe completion artifact must exist and record a passing validator result, for example:
{ "status": "passed", "passed": true, "summary": "metric improved beyond baseline" }
prompt-architect-artifact
prompt-architect-artifactThe completion artifact must include both an architect approval verdict and an output artifact path, for example:
{ "validator_prompt": "Review the research output against the mission.", "architect_review": { "verdict": "approved" }, "output_artifact_path": ".omx/specs/autoresearch-demo/report.md" }
Recommended flow
- Run
to clarify mission + evaluator.$deep-interview --autoresearch - Materialize
,.omx/specs/autoresearch-{slug}/mission.md
, andsandbox.md
.result.json - Start
with the chosen validation mode stored in mode state.$autoresearch - Let stop-hook / auto-nudge continue until the completion artifact satisfies the chosen validation mode.
- Finish only after the validator artifact is complete.
Migration note
is hard-deprecated.omx autoresearch- No direct CLI launch.
- No tmux split-pane launch.
- No noop-count completion gate.