auto-review-loop
Skill by wanshuiyin
Auto-review-loop runs an autonomous review cycle for research work. It sends the work to Gemini through the gemini-review MCP bridge, applies the suggested fixes, and re-reviews until the reviewer is positive or the round limit is reached.
Install auto-review-loop
Built from the published package, never by AI.
git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/skills-codex-gemini-review/auto-review-loop ~/.claude/skills/auto-review-loopRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/skills-codex-gemini-review/auto-review-loop ~/.gemini/antigravity-cli/skills/auto-review-loopAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
auto-review-loop is an agent skill for research projects. It sends the project context to Gemini through the gemini-review MCP bridge, reads back a score and verdict, implements the suggested fixes, and reviews again. The loop stops when the score is at least 6/10 and the verdict is "ready" or "almost", or when MAX_ROUNDS (4 by default) is reached.
The skill saves state to review-stage/REVIEW_STATE.json and logs each round in review-stage/AUTO_REVIEW.md, so a run can resume after context compaction. An optional human checkpoint can pause after each review for approval. The source describes it as an override for Codex users who want Gemini, not a second Codex agent, to act as the reviewer.
Written from the project's SKILL.md and checked against it.
What it can do
- mcp__gemini-review__review_startStarts a Gemini review job with the research context and returns a job ID.
- mcp__gemini-review__review_statusPolls a review job until it is done and returns the reviewer response and thread ID.
- mcp__gemini-review__review_reply_startSends a follow-up review round on the saved thread to keep continuity.
- Iterative review loopRepeats review, fix, and re-review until a positive assessment or the round limit.
- State persistenceWrites round, score, verdict, and pending experiments to REVIEW_STATE.json for recovery.
- Human checkpointOptionally pauses after each review so the user can approve, edit, skip, or stop fixes.
- Round loggingAppends each round's summary and full raw reviewer response to AUTO_REVIEW.md.
What you need
- gemini-review MCP bridge
- Gemini access through the gemini-review bridge
- skills/skills-codex package installed first
Try asking
- Run an auto review loop on my paper draft until it passes
- Review this project with Gemini and fix the weaknesses until ready
- Start an auto review loop with human checkpoint enabled
Good to know
- Default limit is 4 review rounds (MAX_ROUNDS = 4).
- Written for Codex users; install it after skills/skills-codex.
- Saved state is only resumed if it is less than 24 hours old.
- Human checkpoint is off by default, so the loop runs unattended.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/skills-codex-gemini-review/auto-review-loop/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md15 KB
Alternatives to auto-review-loop
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
auto-review-loop: common questions
When does the auto review loop stop?
It stops when the score is at least 6/10 and the verdict is "ready" or "almost", or when MAX_ROUNDS (4 by default) is reached.
Can it resume after context compaction?
Yes. It reads review-stage/REVIEW_STATE.json and resumes at the next round if the saved state is in progress and less than 24 hours old.
Who is the reviewer in this skill?
The reviewer is Gemini, called through the gemini-review MCP bridge. The source says it is an override for Codex users who want Gemini instead of a second Codex agent.
How do I install auto-review-loop?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is auto-review-loop free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is auto-review-loop safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to auto-review-loop?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
