跳到正文
Skillpedia
调研18k · #10593

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex-claude-review/auto-review-loop/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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-family plus acceptance_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.md for 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 local claude-review MCP bridge. Set CLAUDE_REVIEW_MODEL if 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. When false (default), the loop runs fully autonomously.
  • COMPACT = false — When true, (1) read EXPERIMENT_LOG.md and findings.md instead of parsing full logs on session recovery, (2) append key findings to findings.md after each round.
  • REVIEWER_DIFFICULTY = medium — Controls adversarial depth: medium uses a normal high-rigor Claude review through mcp__claude-review__review_start / mcp__claude-review__review_reply_start; hard adds Reviewer Memory and Debate Protocol; nightmare adds direct repository-reading adversarial verification by an independent reviewer.
  • RENDER_HTML = true — When true (default), auto-render review-stage/AUTO_REVIEW.md to HTML on loop termination via /render-html. Uses --no-review because the loop already performed a traced cross-family accepted Claude review. Set false to 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.md contents under ## Your Reviewer Memory (persistent across rounds).
  • Tell the reviewer to check whether prior suspicions were genuinely addressed or merely sidestepped.
  • Require a Memory update section in the reviewer response.
  • After Phase B, copy the Memory update into REVIEWER_MEMORY.md before writing REVIEW_STATE.json.
  • For difficulty: hard and difficulty: 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 read NARRATIVE_REPORT.md or review-stage/AUTO_REVIEW.md for 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:

  1. Codex writes a concise rebuttal with evidence, not spin.
  2. Send the rebuttal to the same reviewer via mcp__claude-review__review_reply_start.
  3. The reviewer rules which objections are resolved, unresolved, or newly discovered.
  4. 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.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

热度

GitHub 星标
18k
排名
#10593
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能