شعار Debug Agent Failures

Debug Agent Failures

المجتمع
bikeread
debug-agent-failures

Use proactively when an agent repeats a failure, loops, or degrades and needs a local root-cause check before redesign.

نظرة عامة

الناشرbikeread
المستودعpromethos
اسم المهارةdebug-agent-failures
النجوم
33
التفريعات
2
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/bikeread/promethos/tree/main/skills/debug-agent-failures
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Goal

Move from a vague symptom to a defensible root-cause hypothesis and a small next fix.

Inputs

  • Failure symptom or transcript
  • Relevant logs, prompts, traces, or outputs
  • Current implementation context

Non-Goals

  • Jumping straight to fixes because they sound plausible
  • Rewriting large parts of the system without isolating the failure mode

Workflow

Trigger signals (for proactive recognition)

  • The same tool call fails more than once
  • The agent loops back to a step it already tried
  • The user says "又出错了" or "it broke again"
  • The user says "it keeps looping", "it got worse after the change", or "the same failure keeps coming back"
  • Output quality degrades after a change
  • A hallucination appears in tool-calling arguments

1. Reproduce and classify the symptom

State what went wrong, under what conditions it happens, and whether it looks like a planning, context, tool, permission, memory, or orchestration failure. Success criteria: The bug is framed as a reproducible failure class rather than a vague impression.

2. Collect the smallest decisive evidence

Inspect the transcript, prompts, tool calls, logs, state transitions, and input artifacts needed to narrow the search space without drowning in noise. If the current workspace does not actually contain the target system's code, logs, traces, config, or transcripts, stop and ask for the real evidence source before widening the search. Do not substitute broad searches across unrelated repositories for the missing local evidence. Success criteria: The likely causes are constrained by actual evidence.

3. Form competing root-cause hypotheses

List the smallest plausible explanations and note what evidence would confirm or disprove each one. Success criteria: Debugging has explicit hypotheses rather than a single unchallenged guess.

4. Test the leading hypothesis with the smallest intervention

Choose the least invasive change, probe, or experiment that can separate the best explanation from the rest. Success criteria: There is a clear next action tied to the strongest hypothesis.

5. Re-check the symptom after the intervention

Verify whether the failure changed, disappeared, or exposed a different layer of the problem. Success criteria: The debugging loop updates the theory based on fresh evidence instead of assuming success.

6. Decide the reusable follow-through

If the intervention confirms the root cause or fixes a real defect, decide whether the result must produce a regression case, an eval update, or a postmortem entry so the same failure mode is less likely to return silently. Success criteria: A durable follow-through action is recorded whenever the debugging outcome changes expected behavior or closes a real defect.

Output Contract

A debugging brief containing:

  • the symptom and reproduction conditions,
  • the evidence collected,
  • the leading and rejected hypotheses,
  • the chosen intervention,
  • the observed result after that intervention,
  • any required regression, eval, or postmortem follow-through.

Escalation

Pause when:

  • the symptom cannot be reproduced at all,
  • key evidence is unavailable,
  • multiple independent failures are overlapping,
  • the active workspace does not contain the system being debugged and the next move would be to search unrelated repositories instead of asking for the real repo, file path, log, or transcript,
  • proposed fixes would rewrite a large subsystem before a hypothesis is tested.

Common Failure Modes

  • Treating symptoms as causes
  • Fixing the most visible layer instead of the failing layer
  • Debugging from intuition alone
  • Replacing missing local evidence with broad cross-repo pattern hunting
  • Expanding scope before the first hypothesis is tested

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Debug Agent Failures؟

Use proactively when an agent repeats a failure, loops, or degrades and needs a local root-cause check before redesign.

لماذا تستخدم Debug Agent Failures على TypingMind؟

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

كيف أثبّت Debug Agent Failures في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/bikeread/promethos/tree/main/skills/debug-agent-failures. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Debug Agent Failures؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Debug Agent Failures؟

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

هل مهارة الذكاء الاصطناعي Debug Agent Failures مجانية؟

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

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

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

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

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

عرض الكل

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

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