auto-review-loop
What it does
This version of the automatic review loop uses a fresh Codex reviewer by default, and can use Gemini, Grok, or Claude Code if you select one. It is for Codex users who want repeated, independent review of their research.
When to use it
- βWhen you want a fresh reviewer to check your research and suggest fixes repeatedly.
- βWhen you want to choose Gemini, Grok, or Claude Code as the reviewer.
- βWhen you want the loop to stop after a positive assessment or the round limit.
Skill link
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/auto-review-loop/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
βI want an automatic review loop on my research with a fresh reviewer, fixing issues until the reviewer is satisfied.β
5 new skills a week. 1 minute to read.
How it works
The agent asks the chosen reviewer for a critique, applies fixes, and sends the work back. The default reviewer is a fresh Codex agent, and a positive provisional verdict can end the loop.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
FAQ
Is the default reviewer from a different model family?
No. The default fresh Codex reviewer is the same family, so its result is recorded as provisional rather than cross-family accepted.
How many rounds does it run?
Up to four rounds, unless the verdict is positive earlier.
Can I choose a different reviewer?
Yes. You can select Gemini, Grok, or Claude Code through the reviewer settings.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 18k
- Ranking position
- #10601
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
ablation-planner
18kHelps your agent plan ablation studies for a paper, choosing the tests reviewers are likely to ask for once the main results look good.
alphaxiv
18kLets your agent quickly read one research paper using AlphaXiv summaries, with full text or LaTeX source as backup, from an arXiv link or ID.
analyze-results
18kHelps your agent analyze machine learning experiment results, compare runs against a baseline, and turn the numbers into clear findings and next steps.
arxiv
18kLets your agent search arXiv for academic papers, read their details, and save PDFs to your library for a research topic.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.