Skillpedia
البحث18k · #10593

auto-review-loop

ما الذي تفعله

هذه نسخة Codex من حلقة المراجعة التلقائية، حيث يعمل Claude Code كمحكّم. وهي لمستخدمي Codex الذين يريدون أن يحكم نموذج من عائلة أخرى على عملهم البحثي.

متى تستخدمها

  • ✓عندما تستخدم Codex وتريد أن يراجع Claude Code عملك البحثي.
  • ✓عندما تريد أن تعمل حلقة المراجعة والإصلاح حتى يصبح المحكّم إيجابياً أو يُبلغ حد الجولات.
  • ✓عندما تريد تسجيل مراجعة عابرة للعائلات مع النتائج.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex-claude-review/auto-review-loop/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أريد أن يراجع Claude Code عملي البحثي في حلقة، ويُصلح المشكلات حتى يرضى المحكّم.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يرسل الوكيل العمل إلى محكّم Claude عبر جسر محلي، ويطبّق الإصلاحات، ثم يعيده. تتوقف الحلقة عندما يكون الحكم إيجابياً أو بعد أربع جولات.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Override for Codex users who want Claude Code, not a second Codex agent, to act as the reviewer. Install this package after skills/skills-codex/*.

This reviewer is a different model family from the Codex executor. Every overlay trace/audit records:

review_independence: cross-family
acceptance_status: accepted

Auto Review Loop: Autonomous Research Improvement

Claude overlay assurance: this route is a different model family from the Codex executor and records review_independence: cross-family plus acceptance_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.md for legacy projects)
  • OUTPUT_DIR = review-stage/ — All review-stage outputs go here. Create the directory if it doesn't exist.
  • REVIEWER_MODEL = claude-review — Claude reviewer invoked through the local claude-review MCP bridge. Set CLAUDE_REVIEW_MODEL if you need a specific Claude model override.
  • REVIEWER_BACKEND = claude-review — reviews route through the claude-review MCP (Claude family; cross-family for a Codex executor).
  • 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 adversarial depth: medium uses a normal high-rigor Claude review through mcp__claude-review__review_start / mcp__claude-review__review_reply_start; hard adds Reviewer Memory and Debate Protocol; nightmare adds direct repository-reading adversarial verification by an independent reviewer.
  • RENDER_HTML = true — When true (default), auto-render review-stage/AUTO_REVIEW.md to HTML on loop termination via /render-html. Uses --no-review because the loop already performed a traced cross-family accepted Claude review. Set false to skip.

💡 Override: /auto-review-loop "topic" — compact: true, human checkpoint: true, difficulty: hard

Claude-Aligned Reviewer Memory and Debate

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.md contents under ## Your Reviewer Memory (persistent across rounds).
  • Tell the reviewer to check whether prior suspicions were genuinely addressed or merely sidestepped.
  • Require a Memory update section in the reviewer response.
  • After Phase B, copy the Memory update into REVIEWER_MEMORY.md before writing REVIEW_STATE.json.
  • For difficulty: hard and difficulty: 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 read NARRATIVE_REPORT.md or review-stage/AUTO_REVIEW.md for the author's claims, then verify those claims against code, logs, result files, and paper drafts instead of trusting executor summaries.

Instructions

In hard and nightmare modes, the reviewer must actively look for omissions, unsupported claims, cherry-picked evidence, metric mistakes, and weaknesses the executor may have downplayed.

For difficulty: hard and nightmare, use the Debate Protocol after a critical review:

  1. Codex writes a concise rebuttal with evidence, not spin.
  2. Send the rebuttal to the same reviewer via mcp__claude-review__review_reply_start.
  3. The reviewer rules which objections are resolved, unresolved, or newly discovered.
  4. Only mark a conce
الأسئلة الشائعة

كم جولة تشغّل؟

حتى أربع جولات، ما لم يرضَ المحكّم مبكراً.

هل تحتاج إلى المهارات الأساسية؟

نعم. ثبّت المهارات الأساسية لـ Codex أولاً، ثم أضف هذه النسخة فوقها.

أين يُحفظ سجل المراجعة؟

يُحفظ سجل مراجعة تراكمي في مجلد مرحلة المراجعة.

التفاصيل

الوصف الأصلي من المؤلف

Autonomous multi-round research review loop. Repeatedly reviews using Claude Code via claude-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.

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

الشعبية

نجوم GitHub
18k
الترتيب
#10593
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة