Skip to content
Skillpedia
Research18k Β· #10523

auto-review-loop

What it does

This skill has an AI agent review a research project, make the fixes, and review again until an independent reviewer approves or a round limit is reached. It is for researchers who want steady improvement.

When to use it

  • βœ“When you want an independent reviewer to check your research and suggest fixes.
  • βœ“When you want the review, fix, and re-review cycle to run without you guiding each step.
  • βœ“When you are ready to improve a project draft and need a repeatable process for it.

Skill link

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/auto-review-loop/SKILL.md

Copy 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

Use this skill to help me: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/auto-review-loop/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œI want you to run the auto review loop on my research project and keep fixing things until the reviewer is happy.”

5 new skills a week. 1 minute to read.

How it works

The agent asks a reviewer for feedback, makes the fixes, and asks again. The reviewer keeps memory across rounds, and the loop stops after a positive assessment or four rounds.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Auto Review Loop: Autonomous Research Improvement

πŸ”’ Do not wrap this skill in /loop, /schedule, or CronCreate. It already loops internally (review β†’ fix β†’ re-review) and the reviewer carries round-to-round memory in one threadId (codex-reply). An external timer re-enters from the top each tick β€” fresh threadId, reviewer memory reset β€” firing the verdict on wall-clock time instead of on artifact change: zero new signal, full token cost. If you want to schedule something, schedule the external wait that precedes it (experiments done β†’ then run this once). See shared-references/external-cadence.md.

Autonomously iterate: review β†’ implement fixes β†’ re-review, until an independent reviewer gives a policy-approved 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. This matches the operative Phase-E STOP CONDITION exactly; the verdict vocabulary is {"ready", "almost", "not ready"} (a high score with a "not ready" verdict does NOT stop the loop). Earlier wording here used or and a stale verdict set ("accept"/"sufficient"/"ready for submission") β€” that was an internal inconsistency; the AND form is authoritative.
  • REVIEW_DOC: review-stage/AUTO_REVIEW.md (cumulative log) (fall back to ./AUTO_REVIEW.md for legacy projects)
  • REVIEWER_MODEL = gpt-6-astra β€” Default model for the Codex backend. Must be an OpenAI model (e.g., gpt-6-astra, gpt-6.1-sol). Manual backend uses a model the user chooses β€” it must be a recognized model from a different family (OpenAI, Anthropic, Google, DeepSeek, Moonshot/Kimi, Qwen).
  • REVIEWER_BACKEND β€” With no inline or project backend selection, start as auto; Step -1 runs exactly one two-call native marker/challenge probe for the first review. A bound Copilot CLI root session uses copilot-native (built-in complementary rubber-duck subagent); an unbound/non-Copilot host keeps the existing codex default. Inline or project selection of codex, antigravity/gemini, grok, claude-code, oracle-pro, agy, or manual bypasses the probe. Explicit β€” reviewer: copilot retains the compatibility copilot --agent drive mode and its later Codex/manual finalizer. The native path gets both actual model IDs from host session events; it never needs COPILOT_CLI or caller-provided --executor-model. See shared-references/reviewer-routing.md.
  • OUTPUT_DIR = review-stage/ β€” All review-stage outputs go here. Create the directory if it doesn't exist.
  • 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 how adversarial the reviewer is. Three levels:
    • medium (default): Current behavior β€” MCP-based review, the executor controls what context the reviewer sees.
    • hard: Adds Reviewer Memory (the reviewer tracks its own suspicions across rounds) + Debate Protocol (the executor can rebut, the reviewer rules).
    • nightmare: Everything in hard + The selected reviewer reads the repo directly (codex exec on the Codex route) (the executor cannot filter what the reviewer sees) + Adversarial Verification (the reviewer independently checks if code matches claims).
  • RENDER_HTML = true β€” When true (default), auto-render review-stage/AUTO_REVIEW.md to HTML on loop termination via /render-html. Uses --no-review (the loop itself IS the cross-model review; the HTML is a structural conversion). Set false to skip, or pass β€” render html: false.

⚠️ Nightmare + Manual incompatibility: If REVIEWER_BACKEND = manual and REVIEWER_DIFFICULTY = nightmare, STOP with: "difficulty: nightmare requires direct repository access and is not compatible with --reviewer: manual. Use difficulty: hard, or select a file-reading reviewer."

πŸ’‘ Override: `/auto-review-loop "topic" β€”

FAQ

Which reviewer does it use?

It uses Codex by default, and you can set another external reviewer in the skill settings.

How many rounds does it run?

It runs up to four rounds and stops early once the reviewer gives an approving verdict.

Should I run it on a timer?

No. The skill says a timer would reset the reviewer memory and add cost without adding new information.

Details

Original description by the author

Autonomous multi-round research review loop. In Copilot CLI it defaults to the native complementary rubber-duck subagent with host-event model evidence; elsewhere it uses Codex, while explicit external reviewer overrides remain available. Implements fixes and re-reviews until a policy-approved positive assessment or max rounds is reached.

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

Popularity

GitHub stars
18k
Ranking position
#10523
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills