auto-review-loop
できること
この自動レビューループの版は、既定では新しいCodexのレビュアーを使い、選べばGemini、Grok、Claude Codeも使えます。研究について、繰り返しの独立したレビューがほしいCodexユーザー向けです。
使う場面
- ✓新しいレビュアーに研究を何度も確認させ、修正を提案させたいとき。
- ✓レビュアーとして、Gemini、Grok、Claude Codeを選びたいとき。
- ✓肯定的な評価または、ラウンドの上限でループを止めたいとき。
スキルのリンク
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/auto-review-loop/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“新しいレビュアーで研究の自動レビューループを実行し、レビュアーが満足するまで問題を修正してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、選んだレビュアーに批評を依頼し、修正を適用して、作業を送り返します。既定のレビュアーは新しいCodexエージェントで、肯定的な暫定判定が出るとループが終わることがあります。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Auto Review Loop: Autonomous Research Improvement
Codex assurance: the default same-family reviewer result records
review_independence: same-familyandacceptance_status: provisionalin its trace/state artifact. A positive provisional verdict may drive fixes and stop the loop, but is never cross-family accepted. A selected reviewer earns cross-family acceptance only from its actual models and completed in-scope positive review. Reviewer failure emits BLOCKED.
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 =
gpt-6-astra— Model used via a secondary Codex agent. Must be an OpenAI model (e.g.,gpt-6-astra,gpt-6.1-sol) - REVIEWER_BACKEND =
codex— Default: a fresh Codex reviewer at xhigh. Resolve— reviewer:, project.aris/reviewer.json, then this default usingreviewer_route.py(--host codex --tier regular), per reviewer-backends.md. Gemini/Antigravity, Grok, and Claude Code use that contract at every review slot below. Legacyoracle-prorules remain inreviewer-routing.md. - 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 normal Codex xhigh review throughspawn_agent/send_input;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 this converts the existing traced review without adding another verdict. Setfalseto skip.
💡 Override:
/auto-review-loop "topic" — compact: true, human checkpoint: true, difficulty: hard
Claude-Aligned Reviewer Memory and Debate
Use the resolved reviewer for the initial review, continuation, rebuttal, and
fresh nightmare review. Existing spawn_agent / send_input blocks below are
the default Codex examples; keep their substantive prompts for other routes.
Check completion and primary-file coverage on every call. Missing tools or
unreadable required evidence gives REVIEW_UNAVAILABLE, never self-review.
Forward invocation reviewer/model/effort directives to child review skills.
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.
よくある質問
既定のレビュアーは別のモデルのファミリーですか?
いいえ。既定の新しいCodexのレビュアーは同じファミリーなので、その結果は暫定として記録され、クロスファミリーの採択とはされません。
何ラウンド実行しますか?
判定が肯定的でなければ、最大4ラウンドです。
別のレビュアーを選べますか?
はい。レビュアーの設定で、Gemini、Grok、Claude Codeを選べます。
詳細
作者による元の説明
Autonomous multi-round research review loop. Uses a fresh Codex agent or selected Gemini, Grok, or Claude Code reviewer, 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
- ランキング
- #10601
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
ablation-planner
18kエージェントが論文のアブレーション研究を計画し、主要な結果が良好に見えた後に、査読者が求めそうな試験を選ぶよう支援します。
alphaxiv
18kエージェントが、AlphaXivの要約を使って1本の研究論文を素早く読めるよう支援します。arXivのリンクやIDから読み込みます。
analyze-results
18kエージェントが機械学習の実験結果を分析し、実行結果をベースラインと比較して、数値を明確な所見と次の作業につなげるよう支援します。
arxiv
18kエージェントが、arXivで学術論文を検索し、詳細を読んで、研究テーマに合わせてPDFをライブラリに保存できるよう支援します。