grade-iterate
ما الذي تفعله
تفحص هذه المهارة عمل وكيل Claude مُدار وفق معيار تقييم، وتحسّنه عند الحاجة. وهي لمن يريدون نتائج موثوقة من وكيلهم.
متى تستخدمها
- ✓عندما تريد تقييم مخرجات وكيل مُدار وفق معيار كتبته.
- ✓عندما تريد أن يحسّن الوكيل عمله بعد فشل فحص.
- ✓عندما تريد تشغيل اختبارات محجوزة لترى إن كان الوكيل جيدًا بما يكفي.
رابط المهارة
https://github.com/alirezarezvani/claude-skills/blob/main/agent-launcher/skills/grade-iterate/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“قيّم آخر تقرير كتبه وكيلي وفق معياري، وأخبرني هل هو جاهز للإطلاق.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تحدد المهارة حدًا ثابتًا لعدد الجولات، وتقرأ كل حكم، وتوصي بالإطلاق أو التحسين أو التصعيد بحسب ما فشل.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Phase 3 — Grade → Iterate (the bounded loop)
This is the plugin's loop: CMA's outcome primitive self-grades the agent's
work in an isolated context and feeds failing verdicts back for the next attempt.
It is always bounded by max_iterations (1..20) — never "improve forever".
See ../../references/loops-and-workflows.md
and the outcome section of
../../references/cma-primitives.md.
Workflow
- Define the outcome.
The rubric is required;python3 scripts/outcome_builder.py \ --sheet ./my-agent/build-sheet.json --max-iterations 5 \ --out ./my-agent/payloads/outcome.jsonmax_iterationsis clamped to 1..20. Send the payload as auser.define_outcomeevent (append to the running session). - Read every verdict first.
Tables the rubric outcome and recommends: SHIP (python3 scripts/verdict_reader.py --result ./my-agent/last-verdict.jsonsatisfied), SHARPEN then re-run (needs_revision), ESCALATE (max_iterations_reached/failed), RESUME (interrupted). With ≤1 iteration left it flips to "make the single highest-value fix or escalate now". - Loop invariant. Each iteration must move ≥1 rubric line fail→pass, or the run halts at the cap and escalates. Don't burn the budget on cosmetic edits.
- Once a version passes, run held-back eval.
Held-back cases (never seen during iteration) run in parallel, capped at the 25-thread CMA ceiling, each graded against the same rubric.python3 scripts/eval_scaffold.py \ --sheet ./my-agent/build-sheet.json --out ./my-agent/eval.json --concurrency 5 - Decide. SHIP as v0, or promote to a scheduled deployment (Phase 4). Record
the verdict on the goal:
goal_state.py set --phase run-without-you.
Hard rules
- Bounded, always. No outcome without a
max_iterationscap. - Read the verdict before acting. The grader's explanation drives the next move.
- Held-back cases are held back. Never grade generalization on cases the agent already iterated against.
Forcing-question library (recommend + cite)
- "What are the 3–5 rubric lines?" Recommend: grounded, checkable criteria. Cite: cma-primitives.md (rubric required).
- "How many iterations before you'd rather look yourself?" Recommend: 3–5. Cite: loops-and-workflows.md (bounded loop).
- "On a fail, sharpen the prompt or the tools?" Recommend: whichever rubric line failed points to. Cite: verdict_reader next-move table.
- "Which cases did the agent NOT see?" Recommend: hold back ≥3 for generalization. Cite: this SKILL (held-back eval).
Tools
scripts/outcome_builder.py— user.define_outcome payload (rubric required, cap 1..20).scripts/verdict_reader.py— grader result → next move.scripts/eval_scaffold.py— held-back cases + parallel run plan (≤25 threads).
الأسئلة الشائعة
هل يستطيع الوكيل أن يواصل التحسين إلى الأبد؟
لا. تضع المهارة دائمًا حدًا أقصى لعدد الجولات، وتتوقف وتصعّد عند هذا الحد.
ما المعيار؟
قائمة فحوص تحدد ما تعنيه النتيجة الجيدة، وتشترطها المهارة.
ماذا يحدث إذا لم تُحرز جولة أي تقدم؟
تتوقف المهارة عن التشغيل وتصعّد الأمر، حتى تقرر أنت الخطوة التالية.
التفاصيل
الوصف الأصلي من المؤلف
Use when a launched managed agent needs grading against a rubric and improving ('grade my agent', 'is it good enough'). Builds the outcome with outcome_builder.py, reads verdicts with verdict_reader.py and runs held-back evals from eval_scaffold.py.
الشعبية
- نجوم GitHub
- 29k
- الترتيب
- #9381
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-launcher-orchestrator
29kيساعد وكيلك على تخطيط وبناء واختبار وجدولة وكيل Claude مُدار في حسابك الخاص، خطوة بخطوة، انطلاقًا من هدف واضح واحد.
interview
29kيتيح لوكيلك أن يجري معك مقابلة حول فكرة وكيل ذكاء اصطناعي، ثم يحوّل إجاباتك إلى خطة بناء بسيطة قبل إطلاق أي شيء.
run-without-you
29kيساعد وكيلك على إعداد وكيل Claude مُدار ليعمل وفق جدول زمني أو عند حدوث حدث، مع فحص توقيت التشغيل قبل الإطلاق.
stage-launch
29kيساعد وكيلك على تحويل خطة وكيل مكتملة إلى ملفات إعداد جاهزة للتشغيل، وسكربت إطلاق يستخدم مفتاح API الخاص بك، وتشغّله أنت بنفسك.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.