auto-review-loop
Skill này làm gì
Phiên bản này của vòng phản biện tự động dùng một người phản biện Codex mới theo mặc định, và có thể dùng Gemini, Grok hoặc Claude Code nếu bạn chọn. Nó dành cho người dùng Codex muốn phản biện lặp lại, độc lập về nghiên cứu của mình.
Khi nào nên dùng
- ✓Khi bạn muốn một người phản biện mới kiểm tra nghiên cứu và đề xuất sửa lỗi nhiều lần.
- ✓Khi bạn muốn chọn Gemini, Grok hoặc Claude Code làm người phản biện.
- ✓Khi bạn muốn vòng lặp dừng sau một đánh giá tích cực hoặc khi hết số vòng.
Liên kết skill
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/auto-review-loop/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn một vòng phản biện tự động cho nghiên cứu của mình với một người phản biện mới, sửa vấn đề cho đến khi người phản biện hài lòng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent yêu cầu người phản biện đã chọn đưa ra phê bình, áp dụng sửa đổi và gửi công việc trở lại. Người phản biện Codex mới là mặc định, và kết luận tạm thời tích cực có thể kết thúc vòng lặp.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Người phản biện mặc định có thuộc họ model khác không?
Không. Người phản biện Codex mới mặc định cùng họ model, nên kết quả được ghi là tạm thời chứ không phải đã chấp nhận xuyên họ.
Nó chạy bao nhiêu vòng?
Tối đa bốn vòng, trừ khi kết luận tích cực đến sớm hơn.
Tôi có thể chọn người phản biện khác không?
Có. Bạn có thể chọn Gemini, Grok hoặc Claude Code qua phần cài đặt người phản biện.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 18k
- Vị trí xếp hạng
- #10601
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
ablation-planner
18kGiúp agent của bạn lên kế hoạch thí nghiệm ablation cho một bài báo, chọn các thí nghiệm mà người phản biện có khả năng yêu cầu khi kết quả chính đã ổn.
alphaxiv
18kCho phép agent của bạn đọc nhanh một bài báo nghiên cứu bằng các bản tóm tắt AlphaXiv, với toàn văn hoặc mã LaTeX dự phòng, từ liên kết arXiv hoặc ID.
analyze-results
18kGiúp agent của bạn phân tích kết quả thí nghiệm học máy, so sánh các lần chạy với một baseline, và biến các con số thành phát hiện rõ ràng và bước tiếp theo.
arxiv
18kCho phép agent của bạn tìm bài báo trên arXiv, đọc chi tiết của chúng và lưu PDF vào thư viện của bạn theo một chủ đề nghiên cứu.
Skill tương tự
graincrawl
394kCho phép agent của bạn tìm trong ghi chú cuộc họp và bản chép lời Granola đã lưu, kiểm tra độ mới và đếm số cuộc họp trong một khoảng thời gian.
notcrawl
394kCho phép agent của bạn tìm trong bản sao đã lưu của workspace Notion, tra cứu trang và database, rồi xuất trang ra file Markdown.
knowledge-entities
394kGiúp agent của bạn xác định người, công ty và dự án, rồi viết trang hồ sơ có nguồn cho họ trong kho Knowledge của bạn.