شعار Meta Loop

Meta Loop

المجتمع
liqiongyu
meta-loop

Judge whether any iterative loop is well-designed — a verification loop, review loop, maker/checker loop, evaluator-optimizer, or agent self-improvement loop — or design a new one from scratch. Provides a 10-dimension quality rubric (Mode A) and a 9-step build guide (Mode B) grounded in TDD, Reflexion, LLM-as-judge, process-supervision, and agentic-workflow research. Use when asked "is this loop good enough", "review/critique this loop", "design a loop to catch X", "what should a verification loop cover", or whenever you are designing, modifying, or evaluating the mechanics of a produce → check → fix → re-check cycle — even if the word "loop" is never said. Do NOT use for executing an existing concrete loop (run that loop itself), one-shot scripts, or plain Q&A.

نظرة عامة

الناشرliqiongyu
المستودعmy-agents
اسم المهارةmeta-loop
النجوم
29
التفريعات
3
الملفات المرفقة
4
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 4

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها liqiongyu على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Meta Loop في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/liqiongyu/my-agents/tree/main/skills/meta-loop
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/liqiongyu/my-agents.git /tmp/my-agents
mkdir -p .claude/skills
cp -r /tmp/my-agents/skills/meta-loop .claude/skills/meta-loop
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Meta Loop في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Meta Loop تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Meta Loop بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Meta-Loop

A loop here is any bounded produce → independent check → fix → re-check cycle: a verification loop, review loop, maker/checker pair, evaluator-optimizer, or agent self-refinement loop. This skill does two things, and is grounded in established methodology (TDD, Self-Refine, Reflexion, Constitutional AI, LLM-as-judge research, process supervision, agentic workflow patterns — see references/):

  • Mode A — evaluate any loop against a 10-dimension quality rubric.
  • Mode B — build a new loop in 9 steps.

The four blind spots (read this first)

Even strong agents, asked cold to evaluate or design a loop, systematically miss the same four dimensions. In baseline testing for this skill, two independent agents each enumerated ~30 design dimensions yet omitted all four below — and produced mutually inconsistent lists, because without a shared rubric each invents its own ad-hoc checklist. These four are why the skill exists:

  • Trigger reliability — they assume the loop "gets called," and never ask whether it gets silently skipped at the moment it matters. A perfectly-designed loop that never fires is worth zero. This is the #1 blind spot.
  • Cross-run memory + a kill criterion — they log a single run at most; they never ask whether the loop still earns its cost over time (if it stops catching anything, retire it), and rarely carry lessons across runs (Reflexion-style).
  • Cost as a skip incentive — they order checks "cheapest first" but set no per-run cost ceiling, and never connect too expensive → quietly switched off → trigger defeated.
  • Same-model self-preference — they treat "dispatched a sub-agent" as independence, ignoring that a same-model maker+judge carries self-preference bias; no order/length debiasing.

When To Use

  • Judging whether a loop (already built or proposed) is good enough, or what it is missing.
  • Designing a new loop (verification / review / maker-checker / iterative refinement).
  • Auditing or comparing loop designs.

When Not To Use

  • Tasks with no "check-and-fix iteration" structure; one-shot scripts; plain Q&A.
  • Executing an existing concrete loop — run that loop itself. This is the meta layer.

Mode A — evaluate a loop (10-dimension rubric)

Score each pass / partial / gap. Dimensions 2, 6, 8, 9 are the four blind spots — scrutinize them hardest. Full criteria (what-good-looks-like / failure-if-missing / basis) and a worked example are in references/rubric.md.

#DimensionOne line: what "good" looks like
1Setpoint / definition-of-doneStop target is a severity floor, not "until clean" (which never converges); an oracle (executable test for code, decomposed rubric for text) exists before/independent of the artifact; passing it is necessary-not-sufficient
2Checker independence + judge debiasing(A) fresh context + adversarial prompt + does not continue the maker's reasoning chain [binary]; (B) order-swap / length-neutralized / cross-model or panel [graded, high-stakes only]
3Bounded iteration + defined exitSmall hard cap; the last round's fix is final; on exhaustion escalate to a human, never "ship anyway"
4Severity-graded gatingPer-finding, step-level grades; only a blocking band iterates; each finding gets an explicit disposition; no silent drops
5Divergence / regression escalationEscalate a finding whose signature repeats an unresolved prior one; also track resolved signatures, so a re-appearing (regressed / whack-a-mole) finding is flagged
6Cross-run memoryIn-run (unresolved signatures + closing memo) + cross-run (a catch-rate log feeding a kill criterion); ratchet recurring findings into permanent checks where possible
7Separation from declaring "done" (ceiling)Name the authority ceiling (e.g. quality-only: never declares done, never merges); "loop passed" ≠ "work complete"; fail-open, not fail-through
8Trigger reliabilityAnchor the trigger to a detectable hard action at the completion milestone (e.g. a pre-commit / pre-PR hook) + a conscious acknowledgement; audit skip-rate; name un-hookable milestones honestly
9Cost / latency ceilingEach round lighter than the closing gate; set an explicit per-run budget cap / circuit breaker (not just logging); justify each extra round/critic against a cheaper alternative
10Observability / auditabilityA structured closing memo + an append-only log; critiques are challengeable, rubric-grounded arguments — not black-box scores; surface residual risk up front

Mode B — build a loop (9 steps)

Full detail — including the canonical control skeleton (the mechanical spine + output schema that pin down the points prose leaves ambiguous) — plus methodology basis and open design questions, in references/building-a-loop.md.

  1. Name the one core artifact + its oracle, first. Code → executable oracle; write the failing test first (TDD). Text (doc/plan) → a decomposed rubric authored before/independent of the artifact (passing it = necessary-not-sufficient). Don't refuse to build a loop just because there's no executable oracle — a fixed rubric is a valid, weaker oracle.
  2. Choose the maker/checker structure and enforce independence. Default to a separated evaluator-optimizer; run the checker in fresh context with an adversarial prompt; judge against an independently-generated reference where ground truth exists; escalate to cross-model / a small panel only for high-stakes cases; bake in order/length debiasing.
  3. Set the setpoint and severity gating. Done = a severity floor, not "until clean"; bind severities to a shared scale; decide the blocking band vs. the carry-list; force a per-finding disposition with no silent drops.
  4. Set iteration bounds + divergence/regression escalation. Small hard cap; last round's fix is final; escalate stuck (repeating-unresolved-signature) findings and regressions (re-appearing resolved signatures) without voiding the round's other fixes.
  5. Choose the trigger and make it reliable. Anchor to a hard action at the completion milestone + a conscious ack; name un-hookable milestones and cover them with prose + a skip-rate audit. A loop that doesn't fire is worthless.
  6. Decide memory: in-run vs cross-run. In-run working memory; a cross-run catch-rate log feeding a kill criterion; record explicitly whether you also want Reflexion-style cross-artifact learning (most loops deliberately don't).
  7. Set the authority ceiling. Default: quality-only — never declares done, never merges, always hands off; completion is a separate gate; fail-open, not fail-through.
  8. Set the cost ceiling and cadence. Per round, run only targeted checks; reserve the heavy matrix for the close; set a per-run budget cap; justify extra rounds/critics against cheaper alternatives. Too-expensive loops get skipped — defeating step 5.
  9. Decide how the loop verifies itself. Define the closing-memo schema + log line; dogfood it on its own design first; record what you deliberately won't machine-check; wire in the kill criterion from day one (with a minimum sample size before any keep/cut decision).

Common mistakes

  • Treating "all machine checks green" or "I dispatched a sub-agent" as "independently reviewed" — same-model self-preference remains (blind spot 4 → dimension 2).
  • Designing the loop but never ensuring it gets triggered (blind spot 1 → dimension 8) — most common, highest cost.
  • Setting the exit as "until clean" — it never converges (dim 1).
  • No-progress detection that only catches "still failing," missing A→B→A regression (dim 5).
  • Logging cost but capping nothing → the loop becomes too expensive and is quietly switched off (dim 9).

Non-goals

  • Not a substitute for executing any concrete loop — this is the meta layer.
  • Not a CI / cron / hook implementation.
  • The rubric is judgment scaffolding, not an automated gate: pass / partial / gap is a human call.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Meta Loop؟

Judge whether any iterative loop is well-designed — a verification loop, review loop, maker/checker loop, evaluator-optimizer, or agent self-improvement loop — or design a new one from scratch. Provides a 10-dimension quality rubric (Mode A) and a 9-step build guide (Mode B) grounded in TDD, Reflexion, LLM-as-judge, process-supervision, and agentic-workflow research. Use when asked "is this loop good enough", "review/critique this loop", "design a loop to catch X", "what should a verification loop cover", or whenever you are designing, modifying, or evaluating the mechanics of a produce → c...

لماذا تستخدم Meta Loop على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Meta Loop عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Meta Loop في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/liqiongyu/my-agents/tree/main/skills/meta-loop. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Meta Loop؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Meta Loop؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Meta Loop معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Meta Loop مجانية؟

نعم. نشرها liqiongyu على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇