detect-zero-iteration-failures
यह क्या करती है
यह स्किल एजेंट रनों को पहचानने की एक चेकलिस्ट है, जो कभी असली काम शुरू ही नहीं करते। यह उन लोगों के लिए है जो एजेंट लॉग देखते हैं और जानना चाहते हैं कि समस्या सिस्टम से आई है या नहीं।
कब इस्तेमाल करें
- ✓जब एजेंट रन में कोई चरण न हों, टूल का इस्तेमाल न हो और कोई फ़ाइल न बनी हो।
- ✓जब बातचीत के लॉग में सिर्फ़ मूल निर्देश हो और एजेंट का कोई जवाब न हो।
- ✓जब मुझे विफलता को श्रेणी में बाँटना है, जैसे इनिशियलाइज़ेशन क्रैश, एनवायरनमेंट समस्या या संसाधनों की समाप्ति।
Skill का लिंक
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/detect-zero-iteration-failures/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे एजेंट लॉग में कोई टूल इस्तेमाल और कोई फ़ाइल नहीं दिख रही। कृपया बताइए कि यह विफलता किस श्रेणी में आती है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI संकेतों की एक सूची से गुज़रता है, फिर विफलता को एक श्रेणी से मिलाता है, जैसे इनिशियलाइज़ेशन क्रैश, गायब डिपेंडेंसी या खत्म हुए संसाधन।
तकनीकी सामग्री (मूल 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
अक्सर पूछे जाने वाले सवाल
इनिशियलाइज़ेशन क्रैश क्या है?
यह तब होने वाली विफलता है जब एजेंट अभी शुरू हो रहा हो और काम शुरू ही न हुआ हो।
कौन से संकेत इस तरह की विफलता की पुष्टि करते हैं?
रिपोर्ट किए गए शून्य चरण, कोई टूल कॉल नहीं, कोई फ़ाइल नहीं बनी, और लॉग में सिर्फ़ उपयोगकर्ता का निर्देश।
ऐसी विफलताएँ किसे देखनी चाहिए?
गाइड कहती है कि पहले सिस्टम की ओर देखें, जैसे लॉग और एनवायरनमेंट सेटिंग्स।
जानकारी
लेखक का मूल विवरण
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
कमेंट
- …
इस repository की और skills
agentpilot
7.8kआपके एजेंट को AgentPilot से प्रोजेक्ट को चरण-दर-चरण सुधारने में मदद करती है, जिसमें बदलाव सुझाए, परखे और स्कोर किए जाते हैं।
openspace
7.8kआपके एजेंट को OpenSpace सेट करने में मदद करती है, जो एजेंट स्किल्स सहेजता और वापस लाता है, और MCP के ज़रिए आपके AI ऐप से जुड़ता है।
rsi-arena
7.8kआपके एजेंट को AIME और Terminal-Bench जैसे मानक AI बेंचमार्क टेस्ट सेट करने और चलाने में मदद करती है, ताकि सुधार के तरीकों की तुलना हो सके।
experiment-guide
7.8kआपके एजेंट को छोटे प्रयोग बनाने, उनके नतीजे पढ़ने और जाँच के दौरान उपयोगी निष्कर्ष लिखने में मदद करती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।