auto-review-loop
Fungsinya
Overlay ini menjalankan loop tinjauan riset otomatis dengan Gemini sebagai reviewer, bukan agent Codex kedua. Skill ini untuk pengguna Codex yang menginginkan keluarga model berbeda menilai pekerjaan mereka.
Kapan dipakai
- โSaat Anda memakai Codex dan ingin Gemini meninjau riset Anda berulang kali.
- โSaat Anda ingin perbaikan diterapkan di antara tinjauan sampai reviewer puas atau batas tercapai.
- โSaat Anda ingin tinjauan dicatat sebagai lintas keluarga dan diterima.
Link skill
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex-gemini-review/auto-review-loop/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya ingin Gemini meninjau riset saya dalam loop, menerapkan perbaikan di antara putaran sampai reviewer puas.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mengirim pekerjaan ke reviewer Gemini melalui jembatan lokal, menerapkan perbaikan yang disarankan, dan meminta tinjauan lagi. Loop berhenti setelah vonis positif atau setelah empat putaran.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Override for Codex users who want Gemini, not a second Codex agent, to act as the reviewer. Install this package after
skills/skills-codex/*.
Auto Review Loop: Autonomous Research Improvement
Gemini overlay assurance:
review_independence: cross-familyandacceptance_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.mdfor legacy projects) - OUTPUT_DIR =
review-stage/โ Directory for review output files. - REVIEWER_MODEL =
gemini-reviewโ Gemini reviewer invoked through the localgemini-reviewMCP bridge. SetGEMINI_REVIEW_MODELif you need a specific Gemini model override. - 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.
๐ก Override:
/auto-review-loop "topic" โ human checkpoint: true
State Persistence (Compact Recovery)
Long-running loops may hit the context window limit, triggering automatic compaction. To survive this, persist state to review-stage/REVIEW_STATE.json after each round:
{
"round": 2,
"thread_id": "019cd392-...",
"status": "in_progress",
"last_score": 5.0,
"last_verdict": "not ready",
"pending_experiments": ["screen_name_1"],
"timestamp": "2026-03-13T21:00:00"
}
Write this file at the end of every Phase E (after documenting the round). Overwrite each time โ only the latest state matters.
On completion (positive assessment or max rounds), set "status": "completed" so future invocations don't accidentally resume a finished loop.
Workflow
Initialization
- Check for
review-stage/REVIEW_STATE.json(fall back to./REVIEW_STATE.jsonif not found โ legacy path):- If neither path exists: fresh start (normal case, identical to behavior before this feature existed)
- If it exists AND
statusis"completed": fresh start (previous loop finished normally) - If it exists AND
statusis"in_progress"ANDtimestampis older than 24 hours: fresh start (stale state from a killed/abandoned run โ delete the file and start over) - If it exists AND
statusis"in_progress"ANDtimestampis within 24 hours: resume- Read the state file to recover
round,thread_id,last_score,pending_experiments - Read
review-stage/AUTO_REVIEW.mdto restore full context of prior rounds (fall back to./AUTO_REVIEW.md) - If
pending_experimentsis non-empty, check if they have completed (e.g., check screen sessions) - Resume from the next round (round = saved round + 1)
- Log: "Recovered from context compaction. Resuming at Round N."
- Read the state file to recover
- Read project narrative documents, memory files, and any prior review documents
- Read recent experiment results (check output directories, logs)
- Identify current weaknesses and open TODOs from prior reviews
- Initialize round counter = 1 (unless recovered from state file)
- Create/update
review-stage/AUTO_REVIEW.mdwith header and timestamp
Loop (repeat up to MAX_ROUNDS)
Phase A: Review
Send comprehensive context to the external reviewer:
mcp__gemini-review__review_start:
prompt: |
[Round N/MAX_ROUNDS of autonomous review loop]
[Full research context: claims, methods, results, known weaknesses]
[Changes since last round, if any]
Please act as a senior ML reviewer (NeurIPS/ICML level).
1. Score this work 1-10 for a top venue
2. List remaining critical weaknesses (ranked by severity)
3. For each weakness, specify the MINIMUM fix (experiment, analysis, or reframing)
4. State clearly: is this READY for submission? Yes/No/Almost
Be brutally honest. If the work is ready, say so clearly.
=== SCOPE LIMITS (these bound
Pertanyaan umum
Apa yang perlu disiapkan?
Pasang skill dasar Codex lebih dulu, lalu overlay ini, dan daftarkan jembatan gemini-review.
Berapa putaran yang dijalankan?
Hingga empat putaran, dan berhenti lebih awal jika reviewer memberi vonis positif.
Bisakah saya mengganti model Gemini?
Bisa. Anda bisa mengatur GEMINI_REVIEW_MODEL untuk memakai model Gemini tertentu.
Detail
Deskripsi asli dari pembuat
Autonomous multi-round research review loop. Repeatedly reviews using Gemini via gemini-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.
Popularitas
- Bintang GitHub
- 18k
- Peringkat
- #10596
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
ablation-planner
18kMembantu agent Anda merencanakan studi ablasi untuk sebuah makalah, memilih uji yang kemungkinan diminta reviewer setelah hasil utama terlihat baik.
alphaxiv
18kMemungkinkan agent Anda membaca satu makalah riset dengan cepat memakai ringkasan AlphaXiv, dengan teks lengkap atau sumber LaTeX sebagai cadangan, dari tautan arXiv atau ID.
analyze-results
18kMembantu agent Anda menganalisis hasil eksperimen machine learning, membandingkan jalankan dengan baseline, dan mengubah angka-angka itu menjadi temuan serta langkah berikutnya yang jelas.
arxiv
18kMemungkinkan agent Anda mencari makalah akademik di arXiv, membaca detailnya, dan menyimpan PDF ke perpustakaan Anda untuk topik riset.
Skill serupa
graincrawl
394kMemungkinkan agent Anda mencari catatan dan transkrip rapat Granola yang tersimpan, memeriksa seberapa baru datanya, dan menghitungnya dalam periode tertentu.
notcrawl
394kMemungkinkan agent Anda mencari salinan tersimpan dari ruang kerja Notion, mencari halaman dan database, serta mengekspor halaman ke file Markdown.
knowledge-entities
394kMembantu agent Anda mengidentifikasi orang, perusahaan, dan proyek, lalu menulis halaman profil berisi sumber untuk mereka di Knowledge vault Anda.