detect-zero-iteration-failures
Qué hace
Esta skill es una lista de comprobación para detectar ejecuciones de agentes que nunca empezaron el trabajo real. Está pensada para quienes revisan registros de agentes y necesitan saber si el problema vino del sistema.
Cuándo usarla
- ✓Cuando una ejecución de agente no muestra iteraciones, ni uso de herramientas, ni archivos creados.
- ✓Cuando el registro de la conversación solo contiene la instrucción original y ninguna respuesta del agente.
- ✓Cuando necesito clasificar un fallo en una categoría, como un error al iniciar, un problema de entorno o el agotamiento de recursos.
Link de la skill
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/detect-zero-iteration-failures/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Revisa mi registro del agente. No muestra uso de herramientas ni archivos, así que dime en qué categoría cae este fallo.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA recorre una lista de indicadores y después asigna el fallo a una categoría, como un error al iniciar, una dependencia que falta o recursos agotados.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Qué es un error al iniciar?
Es un fallo mientras el agente todavía se está iniciando, antes de que empiece cualquier trabajo de la tarea.
¿Qué señales confirman este tipo de fallo?
Cero iteraciones informadas, ninguna llamada a herramientas, ningún archivo creado y solo la instrucción del usuario en el registro.
¿Quién debe revisar estos fallos?
La guía indica que primero se mire el lado del sistema, como los registros y los ajustes del entorno.
Detalles
Descripción original del autor
Identify and handle pre-execution agent failures occurring before any iterations or tool usage
repo: HKUDS/AgentPilot
Popularidad
- Estrellas en GitHub
- 7,8 mil
- Posición en el ranking
- #12854
- Licencia
- MIT
- Actualizada
- 1/11/2026
Comentarios
- …
Más skills de este repositorio
agentpilot
7,8 milAyuda a tu agente a mejorar un proyecto paso a paso, preparando una tarea y ejecutando el bucle de AgentPilot que propone, prueba y puntúa cambios.
openspace
7,8 milAyuda a tu agente a configurar OpenSpace, una herramienta que guarda y recupera skills de agentes, y a conectarla a tu app de IA mediante MCP.
rsi-arena
7,8 milAyuda a tu agente a configurar y ejecutar pruebas de referencia de IA conocidas, como AIME y Terminal-Bench, para comparar distintos métodos de mejora.
experiment-guide
7,8 milAyuda a tu agente a planificar experimentos pequeños, leer sus resultados y anotar conclusiones mientras investiga cómo mejorar un programa.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.