Saltar al contenido
Skillpedia
Agentes7,8 mil · #12843

cascade-fail-recovery

Qué hace

Esta skill indica a la IA qué hacer cuando fallan una y otra vez las consultas de datos, como leer páginas web o hacer búsquedas. Está pensada para quienes sus tareas de IA se atascan cuando fallan las herramientas en línea.

Cuándo usarla

  • ✓Cuando una herramienta de lectura de páginas web o de búsqueda falla dos veces o más seguidas.
  • ✓Cuando los errores de red impiden que la IA obtenga el contenido que necesita.
  • ✓Cuando quiero que la IA termine la tarea en lugar de rendirse tras errores de herramientas.

Link de la skill

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/cascade-fail-recovery/SKILL.md

Có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

Usa esta skill para ayudarme: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/cascade-fail-recovery/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Mi IA sigue sin poder abrir páginas web. Termina el informe de todos modos, y dime qué partes salieron de sus propios conocimientos.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Después de varios fallos, la IA vuelve a plantear el objetivo y escribe el resultado con sus conocimientos integrados. Indica que las fuentes externas no estaban disponibles.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Cascade Failure Recovery

Purpose

When multiple data retrieval tools (read_webpage, search_web) fail in succession, immediately fall back to generating content from embedded knowledge rather than attempting repairs or abandoning the task. This preserves task context and ensures completion.

When to Apply

Use this pattern when you observe:

  • 2+ consecutive failures from data retrieval tools
  • Network/access errors preventing web content retrieval
  • Risk of task abandonment due to tool errors

Recovery Procedure

Step 1: Recognize Cascading Failure

Identify the failure pattern:

Iteration N: read_webpage failed - connection error
Iteration N+1: search_web failed - timeout/unavailable
Iteration N+2: [risk] Agent may abandon task or switch objectives

Step 2: Preserve Task Context

Before switching strategies, explicitly restate the original objective:

ORIGINAL OBJECTIVE: [Restate the core task goal]
CONTEXT PRESERVED: [Key requirements, constraints, deliverables]

Step 3: Invoke Fallback Strategy

Immediately switch to embedded knowledge generation:

  1. Acknowledge the limitation: Note that external data sources are unavailable
  2. Activate internal knowledge: Use pre-trained knowledge relevant to the task
  3. Generate content: Use write_file to create the deliverable from available knowledge
  4. Document the fallback: Note in the output what information could not be verified externally

Step 4: Execute write_file

Generate the required document:

# Fallback to generating from embedded knowledge
write_file(
    path="output/document.md",
    content="[Generate content from internal knowledge base]"
)

Example Application

Scenario: PACT Act veterans benefits document needed, but web access failing

Wrong approach (observed failure):

Iter 11: read_webpage failed - access error
Iter 12: search_web failed - unavailable
Iter 13: [ABANDONED] Switched to unrelated musician payroll task

Correct approach (with this skill):

Iter 11: read_webpage failed - access error
Iter 12: search_web failed - unavailable
Iter 13: CASCADE FAIL DETECTED - invoking fallback
Iter 14: write_file - generate PACT Act document from embedded knowledge
      - Note: "External verification unavailable; content based on training knowledge"

Guidelines

  1. Threshold: Trigger fallback after 2 consecutive retrieval failures
  2. No endless retries: Do not attempt more than 1 repair/retry cycle
  3. Preserve objective: Never switch to unrelated tasks when tools fail
  4. Transparency: Clearly mark any content that lacks external verification
  5. Document limitations: Note what could not be verified due to tool failures

Related Skills

  • write-file-fallback: Generate documents when data sources unavailable
  • task-context-preservation: Maintain objective continuity through errors
Preguntas frecuentes

¿La respuesta usará información en vivo?

No. Esta alternativa usa conocimientos integrados, así que pueden faltar datos recientes o en vivo.

¿La IA dice que usó una alternativa?

Sí. La guía indica que la alternativa se anote en el resultado.

¿Es lo mismo que volver a intentarlo?

No. La guía indica que, tras varios fallos, se pase a los conocimientos integrados en lugar de seguir intentando reparaciones.

Detalles

Descripción original del autor

Handle cascading data retrieval tool failures by falling back to embedded knowledge generation

repo: HKUDS/AgentPilot

Popularidad

Estrellas en GitHub
7,8 mil
Posición en el ranking
#12843
Licencia
MIT
Actualizada
1/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas