detect-zero-iteration-failures
ما الذي تفعله
هذه المهارة قائمة تحقق لرصد تشغيلات الوكلاء التي لم تبدأ عملاً حقيقياً. وهي موجهة إلى من يراجعون سجلات الوكلاء ويحتاجون إلى معرفة هل المشكلة نشأت من النظام.
متى تستخدمها
- ✓عندما يُظهر تشغيل الوكيل صفر تكرارات وصفر استخدام أدوات وصفر ملفات منشأة.
- ✓عندما يحتوي سجل المحادثة على التعليمات الأصلية فقط دون أي ردود من الوكيل.
- ✓عندما أحتاج إلى تصنيف العطل إلى فئة مثل تعطل بدء التشغيل أو مشكلة بيئة أو نفاد الموارد.
رابط المهارة
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/detect-zero-iteration-failures/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“راجع سجل الوكيل لدي. يُظهر عدم استخدام أدوات وعدم وجود ملفات، فحدد أي فئة ينتمي إليها هذا العطل.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يمر الذكاء الاصطناعي على قائمة من المؤشرات، ثم يطابق العطل مع فئة، مثل تعطل بدء التشغيل أو تبعية مفقودة أو نفاد الموارد.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Detect Zero-Iteration Failures
This skill helps identify and properly categorize agent failures that occur before any task execution begins. These failures require system-level investigation rather than agent-level debugging.
When to Apply
Use this skill when analyzing agent task executions where:
- Iteration count is 0 - The agent completed zero iterations
- No tool usage - No tools were invoked during the execution
- No artifacts created - No files, documents, or outputs were produced
- Minimal or no conversation log - Only the user instruction exists, with no agent responses
Identification Checklist
Check the following indicators to confirm a zero-iteration failure:
[ ] Iterations reported: 0
[ ] Tool invocations: None
[ ] Files created: None
[ ] Conversation turns: 1 (user instruction only)
[ ] Agent self-report: Indicates failure before execution began
Failure Categories
Zero-iteration failures typically indicate one of these pre-execution issues:
| Category | Description | Investigation Focus |
|---|---|---|
| Initialization crash | Agent failed during setup | System logs, environment config |
| Environment issue | Missing dependencies or resources | Infrastructure, permissions |
| Prompt parsing error | Input could not be processed | Prompt format, encoding |
| Resource exhaustion | Quota or limits exceeded | System capacity, rate limits |
Diagnostic Steps
Step 1: Verify Zero-Iteration Indicators
def is_zero_iteration_failure(execution_log):
"""Check if execution shows zero-iteration failure pattern."""
indicators = {
'iterations': execution_log.get('iterations', 0) == 0,
'tools_used': len(execution_log.get('tool_calls', [])) == 0,
'artifacts': len(execution_log.get('files_created', [])) == 0,
'conversation_length': len(execution_log.get('messages', [])) <= 1
}
return all(indicators.values())
Step 2: Check System-Level Indicators
Look for these error patterns in system logs:
- Environment errors: Missing packages, permission denied, path not found
- Initialization errors: Connection failures, timeout during setup
- Resource errors: Memory exceeded, quota limits, rate limiting
- Parsing errors: Invalid JSON, encoding issues, malformed input
Step 3: Route Investigation Appropriately
IF zero-iteration failure detected:
└── Do NOT debug agent logic or prompt instructions
└── DO investigate:
├── System initialization logs
├── Environment configuration
├── Resource allocation and limits
└── Input parsing and validation
Response Actions
For Analysts
- Flag as system-level issue - Do not attribute to agent behavior
- Check infrastructure health - Verify system components are operational
- Review recent changes - Look for deployments, config updates, or quota changes
- Escalate appropriately - Route to infrastructure/platform team, not agent developers
For Automated Systems
def categorize_failure(execution_log):
"""Categorize failure type for routing."""
if is_zero_iteration_failure(execution_log):
return {
'category': 'PRE_EXECUTION_FAILURE',
'severity': 'HIGH',
'investigation_team': 'INFRASTRUCTURE',
'agent_debug_required': False,
'recommended_actions': [
'Check system initialization logs',
'Verify environment configuration',
'Review resource quotas and limits',
'Validate input parsing pipeline'
]
}
else:
return {
'category': 'EXECUTION_FAILURE',
'severity': 'MEDIUM',
'investigation_team': 'AGENT_DEVELOPMENT',
'agent_debug_required': True
}
Example Analysis
Zero-Iteration Failure Example:
Task ID: 69a8ef86-phase1
Iterations: 0
Tools Used: None
Files Created: None
Messages: [User instruction only]
Agent Report: "Failed before executing any iterations"
Analysis: PRE_EXECUTION_FAILURE
- No agent logic was executed
- Failure occurred during initialization
- Action: Investigate system environment, not agent prompts
Normal Execution Failure (for contrast):
Task ID: abc123
Iterations: 3
Tools Used: [read_file, write_file, shell_agent]
Files Created: [output.txt]
Messages: [User instruction, Age
الأسئلة الشائعة
ما تعطل بدء التشغيل (initialization crash)؟
عطل يقع أثناء بدء الوكيل، قبل أن يبدأ أي عمل فعلي للمهمة.
ما العلامات التي تؤكد هذا النوع من الأعطال؟
صفر تكرارات مبلغ عنها، وعدم استخدام أدوات، وعدم إنشاء ملفات، وتعليمات المستخدم وحدها في السجل.
من يجب أن ينظر في هذه الأعطال؟
يقول الدليل إن على المرء أن ينظر إلى جانب النظام أولاً، مثل السجلات وإعدادات البيئة.
التفاصيل
الوصف الأصلي من المؤلف
Identify and handle pre-execution agent failures occurring before any iterations or tool usage
repo: HKUDS/AgentPilot
الشعبية
- نجوم GitHub
- 7.8k
- الترتيب
- #12854
- الترخيص
- MIT
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agentpilot
7.8kيساعد وكيلك على تحسين مشروع خطوة بخطوة، بتجهيز مهمة وتشغيل حلقة AgentPilot التي تقترح التغييرات وتختبرها وتقيّمها.
openspace
7.8kيساعد وكيلك على إعداد OpenSpace، وهو أداة تخزن مهارات الوكلاء وتسترجعها، وربطه بتطبيق الذكاء الاصطناعي عبر MCP.
rsi-arena
7.8kيساعد وكيلك على إعداد اختبارات معيارية مثل AIME وTerminal-Bench وتشغيلها، لمقارنة طرق التحسين المختلفة.
experiment-guide
7.8kيساعد وكيلك على تخطيط تجارب صغيرة وقراءة نتائجها وتسجيل ما يتعلمه أثناء التحقيق في طرق تحسين برنامج.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.