شعار Human In The Loop Design

Human In The Loop Design

المجتمعشائع
mohitagw15856
human-in-the-loop-design

صمّم آلية موافقة بشرية لنظام وكيل ذكاء اصطناعي: حدّد الإجراءات التي تتطلب موافقة، وكيفية تجميع الموافقات دون أن تصبح مجرد إجراء شكلي، وما يجب أن يتضمنه سجل التدقيق. استخدمه عند طلب إضافة إشراف بشري إلى وكيل، أو تصميم مسارات موافقة لإجراءات الذكاء الاصطناعي، أو تحديد ما يمكن للوكيل تنفيذه باستقلالية، أو معالجة إرهاق الموافقات في مسار قائم. ينتج سياسة تصنيف للإجراءات حسب مستوى المخاطر، ومواصفات لتجربة الموافقة، وقواعد للتصعيد، ومتطلبات لسجل التدقيق. لتحديد مواصفات الوكيل بالكامل، استخدم agent-spec؛ أما بوابات التنفيذ الخاصة بكل مهارة، فراجع نمط Execution-block في SKILLSPEC §5.

Add to TypingMind

نظرة عامة

الناشرmohitagw15856
المستودعpm-claude-skills
اسم المهارةhuman-in-the-loop-design
النجوم
1.4K
التفريعات
257
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/mohitagw15856/pm-claude-skills/tree/main/plugins/pm-agentnative/skills/human-in-the-loop-design
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills.git /tmp/pm-claude-skills
mkdir -p .claude/skills
cp -r /tmp/pm-claude-skills/plugins/pm-agentnative/skills/human-in-the-loop-design .claude/skills/human-in-the-loop-design
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Human-in-the-Loop Design Skill

The failure mode of agent oversight isn't too little review — it's review that decays into a rubber stamp. Forty approval prompts a day trains the human to click yes; then the one that mattered goes through with the rest. This skill designs the loop so human attention lands exactly where it changes the outcome, and nowhere else.

What This Skill Produces

  • An action-tier policy: every agent action classified auto / notify / approve / forbidden
  • An approval UX spec: what the human sees, batching rules, and the anti-rubber-stamp mechanics
  • Escalation & fallback rules: timeouts, absent approvers, disagreement
  • Audit-trail requirements: what gets recorded so any decision is reconstructable

Required Inputs

Ask for (if not already provided):

  • The agent and its action inventory — everything it can do (from its tool list, not its marketing)
  • Blast radius per action: reversible? outward-facing? money/data/permissions involved?
  • Volume estimates: how many times per day each action fires (approval load is a design constraint, not an afterthought)
  • Who approves — role, how many people, what else competes for their attention

Design Method

  1. Tier every action by consequence, not by feel. Two axes decide the tier: reversibility (undo in one step ↔ irreversible) and reach (internal draft ↔ external/financial/permanent). Then:
    • Auto — reversible + internal (drafts, reads, internal scratch writes). Log only.
    • Notify — reversible + modest reach (filed a ticket, updated a record). Do it, tell the human, easy undo.
    • Approve — hard to reverse OR outward-facing (send, publish, pay, delete, grant). Blocks until a human decides.
    • Forbidden — irreversible + high reach where the org has decided no automation belongs (auth changes, legal commitments). Not gated — absent from the toolset.
  2. Budget the approvals. Multiply approve-tier actions by daily volume. If the number exceeds ~10-15 meaningful decisions per approver per day, the design is broken before launch: move volume down-tier by adding reversibility (drafts, holds, delayed sends) rather than by lowering the bar.
  3. Design the approval moment against rubber-stamping.
    • Show the decision, not the transcript: what will happen, to whom, why the agent believes it's right, and what's unusual about this one.
    • Surface anomaly, hide routine: same-as-last-50 approvals batch into one digest; the outlier renders differently and alone.
    • Require typed engagement for the highest stakes (type the amount, name the recipient) — friction proportional to consequence.
    • Track approval latency and edit rate per approver: 100% instant approvals is a broken loop, not a good agent — say so in the metrics section.
  4. Write the escalation rules. Approver silent for [X]: action expires safely (never auto-proceeds). Approver rejects: agent gets the reason as context, may revise once, then stops. Two approvers disagree: named tiebreaker. After-hours urgent: the on-call path, or an honest "waits until morning".
  5. Spec the audit trail. Per gated action: what the agent proposed (verbatim), the evidence it showed, who decided, what shipped (diff vs proposal), timestamps. The reconstruction test: six months later, "why did this go out?" is answerable from the trail alone.
  6. Plan the tier reviews. Tiers loosen with evidence, not with comfort: an action moves down a tier after [N] consecutive approvals with zero edits and a human review of a sample. Tightening is immediate on any incident.

Output Format

HITL Design: [agent system]

Action-tier policy

ActionReversibilityReachTierVolume/dayNotes

Approval load: [decisions/day/approver at launch — and the redesign applied if it exceeded budget]

The approval moment: [what renders; batching rules; anomaly surfacing; typed-engagement thresholds]

Escalation: [timeout → outcome · rejection → protocol · disagreement → tiebreaker · after-hours → path]

Audit trail: [fields recorded; retention; who can query]

Tier evolution: [down-tier evidence bar · instant up-tier triggers · review cadence]

Health metrics: [approval latency, edit rate, override rate — with the "100% instant approvals means the loop is dead" alarm]

Quality Checks

  • Every action in the agent's toolset appears in the tier table — none defaulted silently
  • The approval budget is computed, and the launch design fits inside it
  • Timeout behaviour is safe-by-default (expire, never auto-proceed)
  • The forbidden tier removes capabilities from the toolset rather than gating them
  • Health metrics detect rubber-stamping, not just agent errors

Anti-Patterns

  • Do not gate everything — undifferentiated approval load is how the important one slips through
  • Do not show raw transcripts as the approval artifact — humans approve decisions, not logs
  • Do not let unanswered approvals auto-proceed on timeout "to keep things moving"
  • Do not loosen tiers on gut feel — the down-tier bar is written evidence, the up-tier trigger is any incident
  • Do not measure only agent mistakes — an approver who edits nothing for a month is the riskier signal

Example Trigger Phrases

  • "Design approval workflows for AI actions."
  • "Decide what an agent may do autonomously."
  • "Fix approval fatigue in an existing loop."

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

ماذا تفعل مهارة الذكاء الاصطناعي Human In The Loop Design؟

صمّم آلية موافقة بشرية لنظام وكيل ذكاء اصطناعي: حدّد الإجراءات التي تتطلب موافقة، وكيفية تجميع الموافقات دون أن تصبح مجرد إجراء شكلي، وما يجب أن يتضمنه سجل التدقيق. استخدمه عند طلب إضافة إشراف بشري إلى وكيل، أو تصميم مسارات موافقة لإجراءات الذكاء الاصطناعي، أو تحديد ما يمكن للوكيل تنفيذه باستقلالية، أو معالجة إرهاق الموافقات في مسار قائم. ينتج سياسة تصنيف للإجراءات حسب مستوى المخاطر، ومواصفات لتجربة الموافقة، وقواعد للتصعيد، ومتطلبات لسجل التدقيق. لتحديد مواصفات الوكيل بالكامل، استخدم agent-spec؛ أما بوابات التنفيذ الخاصة بكل مهارة، فراجع نمط Execution-block في SKILLSPEC §5.

لماذا تستخدم Human In The Loop Design على TypingMind؟

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

كيف أثبّت Human In The Loop Design في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/mohitagw15856/pm-claude-skills/tree/main/plugins/pm-agentnative/skills/human-in-the-loop-design. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Human In The Loop Design؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Human In The Loop Design؟

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

هل مهارة الذكاء الاصطناعي Human In The Loop Design مجانية؟

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

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

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

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

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

عرض الكل

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

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