autoresearch
它能做什么
这个技能会运行一个重复进行的研究任务,直到输出通过检查为止。适合需要可衡量、可验证研究结果的人。
适用场景
- ✓当研究成果必须先通过明确检查才算完成的时候。
- ✓当你希望研究持续进行,直到有清楚的证据表明已经完成的时候。
- ✓当你想预先选择基于脚本或基于审阅的验证方法的时候。
技能链接
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/autoresearch/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我持续研究这个主题,直到报告通过验证器的检查,并为每一条结论提供证据。”
每周 5 个新技能,1 分钟读完。
工作原理
开始时它会选定一种验证方法,可以是脚本,也可以是基于提示的成果审阅。然后它会重复研究和检查,直到验证器确认结果。
技术内容(原始 SKILL.md)
作者在 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.
常见问题
它适合普通的背景研究吗?
不适合。对于一般的最佳实践检查,另一个研究技能更合适。
之后可以更改验证方法吗?
验证方法在开始时就已选定,所以检查结果的方式由初始设置决定。
它会保存什么?
它把状态保存在一个文件里,因此循环可以接着继续。
详情
作者的原始描述
Stateful validator-gated research loop with native-hook persistence
repo: Yeachan-Heo/oh-my-codex
热度
- GitHub 星标
- 34k
- 排名
- #8413
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …