본문으로 건너뛰기
Skillpedia
에이전트7.8k · #12843

cascade-fail-recovery

하는 일

이 스킬은 웹 페이지 읽기나 검색처럼 데이터 조회가 계속 실패할 때 AI가 무엇을 해야 하는지 알려 줍니다. 온라인 도구가 고장 날 때 AI 작업이 멈추는 사람을 위한 것입니다.

사용하는 경우

  • ✓웹 페이지 읽기 도구나 검색 도구가 연속 두 번 이상 실패할 때.
  • ✓네트워크 오류로 AI가 필요한 내용을 가져오지 못하는 경우.
  • ✓도구 오류 후에 포기하지 않고 AI가 작업을 끝내기를 원할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/cascade-fail-recovery/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“AI가 웹 페이지를 계속 열지 못합니다. 그래도 보고서를 끝내 주고, 어떤 부분이 AI 자체 지식에서 나왔는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

반복된 실패 후 AI는 목표를 다시 말하고, 내장 지식으로 결과를 씁니다. 외부 출처를 쓸 수 없었다는 것을 기록합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
자주 묻는 질문

답변이 실시간 정보를 사용하나요?

아니요. 이 대체 방식은 내장 지식을 쓰므로 최신이거나 실시간인 사실은 빠질 수 있습니다.

AI가 대체 방식을 썼다고 말하나요?

네. 안내서는 결과에 대체 사용을 기록하라고 말합니다.

재시도와 같은 것인가요?

아니요. 안내서는 계속 고치려 하지 말고, 반복된 실패 후에 내장 지식으로 전환하라고 말합니다.

상세 정보

작성자의 원본 설명

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

repo: HKUDS/AgentPilot

인기도

GitHub 스타
7.8k
순위
#12843
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬