auto-review-loop
它能做什么
这是自动审阅循环的 Codex 覆盖版本,由 Claude Code 担任审阅者。适合希望由第二个模型系列来评判其研究的 Codex 用户。
适用场景
- ✓当你使用 Codex,并希望由 Claude Code 审阅你的研究工作时。
- ✓当你希望审阅和修复循环一直运行,直到审阅者给出正面结论或达到轮次上限时。
- ✓当你希望把跨系列审阅连同结果一起记录下来时。
技能链接
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex-claude-review/auto-review-loop/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我希望 Claude Code 循环审阅我的研究工作,直到审阅者满意为止,期间修复所发现的问题。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会通过本地桥接把工作发送给 Claude 审阅者,应用修复,然后再发回审阅。当结论为正面,或达到四轮之后,循环停止。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Override for Codex users who want Claude Code, not a second Codex agent, to act as the reviewer. Install this package after
skills/skills-codex/*.This reviewer is a different model family from the Codex executor. Every overlay trace/audit records:
review_independence: cross-family acceptance_status: accepted
Auto Review Loop: Autonomous Research Improvement
Claude overlay assurance: this route is a different model family from the Codex executor and records
review_independence: cross-familyplusacceptance_status: accepted.
Autonomously iterate: review → implement fixes → re-review, until the external reviewer gives a positive assessment or MAX_ROUNDS is reached.
Context: $ARGUMENTS
Constants
- MAX_ROUNDS = 4
- POSITIVE_THRESHOLD: score >= 6/10 AND verdict ∈ {"ready", "almost"} — both must hold, matching the operative STOP CONDITION below. Verdict vocabulary is {"ready", "almost", "not ready"}. (Earlier wording used "or" + a stale verdict set; the AND form is authoritative.)
- REVIEW_DOC:
review-stage/AUTO_REVIEW.md(cumulative log) (fall back to./AUTO_REVIEW.mdfor legacy projects) - OUTPUT_DIR =
review-stage/— All review-stage outputs go here. Create the directory if it doesn't exist. - REVIEWER_MODEL =
claude-review— Claude reviewer invoked through the localclaude-reviewMCP bridge. SetCLAUDE_REVIEW_MODELif you need a specific Claude model override. - REVIEWER_BACKEND =
claude-review— reviews route through the claude-review MCP (Claude family; cross-family for a Codex executor). - HUMAN_CHECKPOINT = false — When
true, pause after each round's review (Phase B) and present the score + weaknesses to the user. Wait for user input before proceeding to Phase C. The user can: approve the suggested fixes, provide custom modification instructions, skip specific fixes, or stop the loop early. Whenfalse(default), the loop runs fully autonomously. - COMPACT = false — When
true, (1) readEXPERIMENT_LOG.mdandfindings.mdinstead of parsing full logs on session recovery, (2) append key findings tofindings.mdafter each round. - REVIEWER_DIFFICULTY = medium — Controls adversarial depth:
mediumuses a normal high-rigor Claude review throughmcp__claude-review__review_start/mcp__claude-review__review_reply_start;hardadds Reviewer Memory and Debate Protocol;nightmareadds direct repository-reading adversarial verification by an independent reviewer. - RENDER_HTML = true — When
true(default), auto-renderreview-stage/AUTO_REVIEW.mdto HTML on loop termination via/render-html. Uses--no-reviewbecause the loop already performed a traced cross-family accepted Claude review. Setfalseto skip.
💡 Override:
/auto-review-loop "topic" — compact: true, human checkpoint: true, difficulty: hard
Claude-Aligned Reviewer Memory and Debate
Maintain review-stage/REVIEWER_MEMORY.md in all difficulty modes. Phase B.5 appends the reviewer's raw response and memory update regardless of REVIEWER_DIFFICULTY.
- Before each reviewer call, prepend the full
REVIEWER_MEMORY.mdcontents under## Your Reviewer Memory (persistent across rounds). - Tell the reviewer to check whether prior suspicions were genuinely addressed or merely sidestepped.
- Require a
Memory updatesection in the reviewer response. - After Phase B, copy the
Memory updateintoREVIEWER_MEMORY.mdbefore writingREVIEW_STATE.json. - For
difficulty: hardanddifficulty: nightmare, additionally use the Debate Protocol after a critical review. - In
nightmare, launch an additional fresh adversarial reviewer with direct repository/file-reading instructions. It should readNARRATIVE_REPORT.mdorreview-stage/AUTO_REVIEW.mdfor the author's claims, then verify those claims against code, logs, result files, and paper drafts instead of trusting executor summaries.
Instructions
In hard and nightmare modes, the reviewer must actively look for omissions, unsupported claims, cherry-picked evidence, metric mistakes, and weaknesses the executor may have downplayed.
For difficulty: hard and nightmare, use the Debate Protocol after a critical review:
- Codex writes a concise rebuttal with evidence, not spin.
- Send the rebuttal to the same reviewer via
mcp__claude-review__review_reply_start. - The reviewer rules which objections are resolved, unresolved, or newly discovered.
- Only mark a conce
常见问题
它运行多少轮?
最多四轮,除非审阅者更早表示满意。
它需要基础技能吗?
需要。先安装基础 Codex 技能,然后再添加此覆盖层。
审阅记录保存在哪里?
累计的审阅记录保存在审阅阶段的文件夹中。
详情
作者的原始描述
Autonomous multi-round research review loop. Repeatedly reviews using Claude Code via claude-review MCP, implements fixes, and re-reviews until positive assessment or max rounds reached. Use when user says \"auto review loop\", \"review until it passes\", or wants autonomous iterative improvement.
热度
- GitHub 星标
- 18k
- 排名
- #10593
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
ablation-planner
18k帮你的智能体为论文规划消融实验,在主要结果看起来不错之后,选出审稿人很可能会要求的测试。
alphaxiv
18k让你的智能体借助 AlphaXiv 摘要快速阅读一篇研究论文,并以完整文本或 LaTeX 源文件作为备用,只需提供 arXiv 链接或编号。
analyze-results
18k帮你的智能体分析机器学习实验结果,将各次运行与基线进行比较,并把数字整理成清晰的发现和后续步骤。
arxiv
18k让你的智能体在 arXiv 上搜索学术论文、阅读论文详情,并把 PDF 保存到你的文库中,用于某个研究主题。