[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KFBY59HSDYZT1X1B9TA6CS":3,"skill-same:01M6KFBY59HSDYZT1X1B9TA6CS":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M6KFBY59HSDYZT1X1B9TA6CS","detect-zero-iteration-failures",null,"Identify and handle pre-execution agent failures occurring before any iterations or tool usage","xyliu-cs\u002FOpenSpace-GDPval","xyliu-cs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89236536?v=4","01M6KF8Z1V4TXS86CKSH48BY8T","xy","01M6KF8Z67443W0SHXM85JEF0B",0,"MIT","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fdetect-zero-iteration-failures\u002FSKILL.md",[],[19,20,21,22,23,24,25],"ZeRO","iteration","detect","detect zero iteration failures","execution","tool","usage","2026-11-10 10:12:30",false,"---\nname: detect-zero-iteration-failures\ndescription: Identify and handle pre-execution agent failures occurring before any iterations or tool usage\n---\n\n# Detect Zero-Iteration Failures\n\nThis 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.\n\n## When to Apply\n\nUse this skill when analyzing agent task executions where:\n\n1. **Iteration count is 0** - The agent completed zero iterations\n2. **No tool usage** - No tools were invoked during the execution\n3. **No artifacts created** - No files, documents, or outputs were produced\n4. **Minimal or no conversation log** - Only the user instruction exists, with no agent responses\n\n## Identification Checklist\n\nCheck the following indicators to confirm a zero-iteration failure:\n\n```\n[ ] Iterations reported: 0\n[ ] Tool invocations: None\n[ ] Files created: None  \n[ ] Conversation turns: 1 (user instruction only)\n[ ] Agent self-report: Indicates failure before execution began\n```\n\n## Failure Categories\n\nZero-iteration failures typically indicate one of these pre-execution issues:\n\n| Category | Description | Investigation Focus |\n|----------|-------------|---------------------|\n| Initialization crash | Agent failed during setup | System logs, environment config |\n| Environment issue | Missing dependencies or resources | Infrastructure, permissions |\n| Prompt parsing error | Input could not be processed | Prompt format, encoding |\n| Resource exhaustion | Quota or limits exceeded | System capacity, rate limits |\n\n## Diagnostic Steps\n\n### Step 1: Verify Zero-Iteration Indicators\n\n```python\ndef is_zero_iteration_failure(execution_log):\n    \"\"\"Check if execution shows zero-iteration failure pattern.\"\"\"\n    indicators = {\n        'iterations': execution_log.get('iterations', 0) == 0,\n        'tools_used': len(execution_log.get('tool_calls', [])) == 0,\n        'artifacts': len(execution_log.get('files_created', [])) == 0,\n        'conversation_length': len(execution_log.get('messages', [])) \u003C= 1\n    }\n    return all(indicators.values())\n```\n\n### Step 2: Check System-Level Indicators\n\nLook for these error patterns in system logs:\n\n- **Environment errors**: Missing packages, permission denied, path not found\n- **Initialization errors**: Connection failures, timeout during setup\n- **Resource errors**: Memory exceeded, quota limits, rate limiting\n- **Parsing errors**: Invalid JSON, encoding issues, malformed input\n\n### Step 3: Route Investigation Appropriately\n\n```\nIF zero-iteration failure detected:\n    └── Do NOT debug agent logic or prompt instructions\n    └── DO investigate:\n        ├── System initialization logs\n        ├── Environment configuration\n        ├── Resource allocation and limits\n        └── Input parsing and validation\n```\n\n## Response Actions\n\n### For Analysts\n\n1. **Flag as system-level issue** - Do not attribute to agent behavior\n2. **Check infrastructure health** - Verify system components are operational\n3. **Review recent changes** - Look for deployments, config updates, or quota changes\n4. **Escalate appropriately** - Route to infrastructure\u002Fplatform team, not agent developers\n\n### For Automated Systems\n\n```python\ndef categorize_failure(execution_log):\n    \"\"\"Categorize failure type for routing.\"\"\"\n    if is_zero_iteration_failure(execution_log):\n        return {\n            'category': 'PRE_EXECUTION_FAILURE',\n            'severity': 'HIGH',\n            'investigation_team': 'INFRASTRUCTURE',\n            'agent_debug_required': False,\n            'recommended_actions': [\n                'Check system initialization logs',\n                'Verify environment configuration',\n                'Review resource quotas and limits',\n                'Validate input parsing pipeline'\n            ]\n        }\n    else:\n        return {\n            'category': 'EXECUTION_FAILURE',\n            'severity': 'MEDIUM',\n            'investigation_team': 'AGENT_DEVELOPMENT',\n            'agent_debug_required': True\n        }\n```\n\n## Example Analysis\n\n**Zero-Iteration Failure Example:**\n```\nTask ID: 69a8ef86-phase1\nIterations: 0\nTools Used: None\nFiles Created: None\nMessages: [User instruction only]\nAgent Report: \"Failed before executing any iterations\"\n\nAnalysis: PRE_EXECUTION_FAILURE\n- No agent logic was executed\n- Failure occurred during initialization\n- Action: Investigate system environment, not agent prompts\n```\n\n**Normal Execution Failure (for contrast):**\n```\nTask ID: abc123\nIterations: 3\nTools Used: [read_file, write_file, shell_agent]\nFiles Created: [output.txt]\nMessages: [User instruction, Agent response x3]\nAgent Report: \"Could not complete task due to X\"\n\nAnalysis: EXECUTION_FAILURE\n- Agent logic was executed\n- Failure occurred during task performance\n- Action: Debug agent reasoning and tool usage\n```\n\n## Key Takeaways\n\n1. **Zero iterations = Pre-execution failure** - The agent never got to work\n2. **System-level, not agent-level** - Debug infrastructure, not prompts\n3. **High severity** - Indicates potential systemic issues affecting multiple tasks\n4. **Distinct failure mode** - Treat separately from normal execution failures","# Detect Zero-Iteration Failures\n\nThis 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.\n\n## When to Apply\n\nUse this skill when analyzing agent task executions where:\n\n1. **Iteration count is 0** - The agent completed zero iterations\n2. **No tool usage** - No tools were invoked during the execution\n3. **No artifacts created** - No files, documents, or outputs were produced\n4. **Minimal or no conversation log** - Only the user instruction exists, with no agent responses\n\n## Identification Checklist\n\nCheck the following indicators to confirm a zero-iteration failure:\n\n```\n[ ] Iterations reported: 0\n[ ] Tool invocations: None\n[ ] Files created: None  \n[ ] Conversation turns: 1 (user instruction only)\n[ ] Agent self-report: Indicates failure before execution began\n```\n\n## Failure Categories\n\nZero-iteration failures typically indicate one of these pre-execution issues:\n\n| Category | Description | Investigation Focus |\n|----------|-------------|---------------------|\n| Initialization crash | Agent failed during setup | System logs, environment config |\n| Environment issue | Missing dependencies or resources | Infrastructure, permissions |\n| Prompt parsing error | Input could not be processed | Prompt format, encoding |\n| Resource exhaustion | Quota or limits exceeded | System capacity, rate limits |\n\n## Diagnostic Steps\n\n### Step 1: Verify Zero-Iteration Indicators\n\n```python\ndef is_zero_iteration_failure(execution_log):\n    \"\"\"Check if execution shows zero-iteration failure pattern.\"\"\"\n    indicators = {\n        'iterations': execution_log.get('iterations', 0) == 0,\n        'tools_used': len(execution_log.get('tool_calls', [])) == 0,\n        'artifacts': len(execution_log.get('files_created', [])) == 0,\n        'conversation_length': len(execution_log.get('messages', [])) \u003C= 1\n    }\n    return all(indicators.values())\n```\n\n### Step 2: Check System-Level Indicators\n\nLook for these error patterns in system logs:\n\n- **Environment errors**: Missing packages, permission denied, path not found\n- **Initialization errors**: Connection failures, timeout during setup\n- **Resource errors**: Memory exceeded, quota limits, rate limiting\n- **Parsing errors**: Invalid JSON, encoding issues, malformed input\n\n### Step 3: Route Investigation Appropriately\n\n```\nIF zero-iteration failure detected:\n    └── Do NOT debug agent logic or prompt instructions\n    └── DO investigate:\n        ├── System initialization logs\n        ├── Environment configuration\n        ├── Resource allocation and limits\n        └── Input parsing and validation\n```\n\n## Response Actions\n\n### For Analysts\n\n1. **Flag as system-level issue** - Do not attribute to agent behavior\n2. **Check infrastructure health** - Verify system components are operational\n3. **Review recent changes** - Look for deployments, config updates, or quota changes\n4. **Escalate appropriately** - Route to infrastructure\u002Fplatform team, not agent developers\n\n### For Automated Systems\n\n```python\ndef categorize_failure(execution_log):\n    \"\"\"Categorize failure type for routing.\"\"\"\n    if is_zero_iteration_failure(execution_log):\n        return {\n            'category': 'PRE_EXECUTION_FAILURE',\n            'severity': 'HIGH',\n            'investigation_team': 'INFRASTRUCTURE',\n            'agent_debug_required': False,\n            'recommended_actions': [\n                'Check system initialization logs',\n                'Verify environment configuration',\n                'Review resource quotas and limits',\n                'Validate input parsing pipeline'\n            ]\n        }\n    else:\n        return {\n            'category': 'EXECUTION_FAILURE',\n            'severity': 'MEDIUM',\n            'investigation_team': 'AGENT_DEVELOPMENT',\n            'agent_debug_required': True\n        }\n```\n\n## Example Analysis\n\n**Zero-Iteration Failure Example:**\n```\nTask ID: 69a8ef86-phase1\nIterations: 0\nTools Used: None\nFiles Created: None\nMessages: [User instruction only]\nAgent Report: \"Failed before executing any iterations\"\n\nAnalysis: PRE_EXECUTION_FAILURE\n- No agent logic was executed\n- Failure occurred during initialization\n- Action: Investigate system environment, not agent prompts\n```\n\n**Normal Execution Failure (for contrast):**\n```\nTask ID: abc123\nIterations: 3\nTools Used: [read_file, write_file, shell_agent]\nFiles Created: [output.txt]\nMessages: [User instruction, Agent response x3]\nAgent Report: \"Could not complete task due to X\"\n\nAnalysis: EXECUTION_FAILURE\n- Agent logic was executed\n- Failure occurred during task performance\n- Action: Debug agent reasoning and tool usage\n```\n\n## Key Takeaways\n\n1. **Zero iterations = Pre-execution failure** - The agent never got to work\n2. **System-level, not agent-level** - Debug infrastructure, not prompts\n3. **High severity** - Indicates potential systemic issues affecting multiple tasks\n4. **Distinct failure mode** - Treat separately from normal execution failures",{"name":5,"description":7},"main","af1b40a42167d09c30b3a63000aa14ace4c1e229","gdpval_bench\u002Fskills\u002Fdetect-zero-iteration-failures","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval","https:\u002F\u002Fgithub.com\u002Fxyliu-cs","https:\u002F\u002Fxyliu-cs.github.io","PhD Student in CS, CUHK-Shenzhen.","2026-04-06 20:32:15",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add xyliu-cs\u002FOpenSpace-GDPval --skill detect-zero-iteration-failures",{"tool":45,"command":46},"bunx","bunx skills add xyliu-cs\u002FOpenSpace-GDPval --skill detect-zero-iteration-failures",{"tool":48,"command":49},"pnpm","pnpm dlx skills add xyliu-cs\u002FOpenSpace-GDPval --skill detect-zero-iteration-failures","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fdetect-zero-iteration-failures\u002FSKILL.md",true,[53],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},".skill_id","OTHER","其他",44,"https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fdetect-zero-iteration-failures\u002F.skill_id",[60,73,81,94,120,141],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":26},"01M6KG8MF1S664SWBDENYRSCK8","zip-export-deliverable","Ensures codebase deliverables are properly exported as ZIP archives through a dedicated finalization step","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fzip-export-deliverable\u002FSKILL.md",[],[67,68,69,70,71,72],"zip export deliverable","zip","export","deliverables","codebase","as",{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":26},"01M6KG8GAZWHHEK7VNJDW0ME21","zip-deliverable-finalization","Ensure codebase deliverables are properly packaged as ZIP exports in a dedicated final step","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fzip-deliverable-finalization\u002FSKILL.md",[],[80,68,70,71,72],"zip deliverable finalization",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":26},"01M6KG8CMQQ1PYMNTSRZ9VS1MD","zero-iteration-failure-analysis","Identify and handle agent failures with 0 iterations as pre-execution system issues","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fzero-iteration-failure-analysis\u002FSKILL.md",[],[88,19,89,20,90,91,92,23,72,93],"failure analysis","analysis","zero iteration failure analysis","with","issues","system",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":105,"publishedAt":26},"01M6KG86W3PA07FT9W58YHHERM","write-file-fallback-report","Generate professional documents using write_file when primary data sources fail, leveraging embedded domain knowledge instead of external retrieval","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fwrite-file-fallback-report\u002FSKILL.md",[100],{"categoryNo":101,"categoryName":102,"taxonomyType":103,"taxonomyTypeDesc":104},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[106,107,108,109,110,111,112,113,114,115,116,117,118,119],"fallback","write","file","report","write file fallback report","domain","professional","sources","retrieval","generate","embedded","documents","data","knowledge",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":131,"publishedAt":26},"01M6KG82GAEY3GG77CMGCK1C2T","fallback-doc-with-delegation","Generate professional documents after tool failures using shell_agent for complex formats or write_file for simple text\u002Fmarkdown","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fwrite-file-fallback-report-enhanced\u002FSKILL.md",[126],{"categoryNo":127,"categoryName":128,"taxonomyType":129,"taxonomyTypeDesc":130},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[132,91,106,133,134,135,117,115,108,136,24,137,107,138,112,139,140],"fallback doc with delegation","doc","delegation","shell","markdown","text","simple","formats","for",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":148,"publishedAt":26},"01M6KG7WT7GX5NYCGEFHW22NV7","context-anchored-fallback-report","Generate documents with write_file when retrieval tools fail, with explicit guardrails against task context drift","https:\u002F\u002Fgithub.com\u002Fxyliu-cs\u002FOpenSpace-GDPval\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fwrite-file-fallback-report-enhanced-4bc5c2\u002FSKILL.md",[147],{"categoryNo":101,"categoryName":102,"taxonomyType":103,"taxonomyTypeDesc":104},[106,109,149,150,115,108,151,152,107,153,154,114,91,155,117],"context","context anchored fallback report","Guardrails","Tools","task","drift","context drift"]