autoresearch
What it does
This skill runs a research task that repeats until its output passes a check. It is for people who need a measured, verifiable research result.
When to use it
- ✓When a research deliverable must pass an explicit check before it counts as done.
- ✓When you want research to keep going until there is clear evidence of completion.
- ✓When you want to choose a script-based or review-based validation method up front.
Skill link
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/autoresearch/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Keep researching this topic until the report passes the validator, and show me the evidence for each claim.”
5 new skills a week. 1 minute to read.
How it works
At the start it picks one validation method, either a script or a prompt-based review of an artifact. It then repeats the research and checks until the validator confirms the result.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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:
{
"status": "passed",
"passed": true,
"summary": "metric improved beyond baseline"
}
prompt-architect-artifact
The 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
$deep-interview --autoresearchto clarify mission + evaluator. - Materialize
.omx/specs/autoresearch-{slug}/mission.md,sandbox.md, andresult.json. - Start
$autoresearchwith the chosen validation mode stored in mode state. - 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
omx autoresearchis hard-deprecated.- No direct CLI launch.
- No tmux split-pane launch.
- No noop-count completion gate.
FAQ
Is it for ordinary background research?
No. For general best-practice checks, a separate research skill is the better fit.
Can I change the validation method later?
The method is chosen at the start, so the setup decides how results are checked.
What does it store?
It keeps its state in a file, so the loop can resume.
Details
Original description by the author
Stateful validator-gated research loop with native-hook persistence
repo: Yeachan-Heo/oh-my-codex
Popularity
- GitHub stars
- 34k
- Ranking position
- #8413
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
ai-slop-cleaner
34kHelps your agent clean up bloated, repetitive, or AI-generated code by removing dead code and needless wrappers, while keeping behavior intact.
analyze
34kLets your agent answer a question about a codebase by reading the relevant code and reporting ranked explanations with evidence, without making changes.
ask
34kLets your agent ask a locally installed Claude or Gemini command line tool for a second opinion or review, and saves the answer as a file.
autopilot
34kRuns a full, hands-off project from an idea through requirements, planning, and execution, pausing only for real blockers.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.