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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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:
- Acknowledge the limitation: Note that external data sources are unavailable
- Activate internal knowledge: Use pre-trained knowledge relevant to the task
- Generate content: Use write_file to create the deliverable from available knowledge
- 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
- Threshold: Trigger fallback after 2 consecutive retrieval failures
- No endless retries: Do not attempt more than 1 repair/retry cycle
- Preserve objective: Never switch to unrelated tasks when tools fail
- Transparency: Clearly mark any content that lacks external verification
- Document limitations: Note what could not be verified due to tool failures
Related Skills
write-file-fallback: Generate documents when data sources unavailabletask-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.
댓글
- …
이 저장소의 다른 스킬
agentpilot
7.8k작업을 준비하고 AgentPilot 루프를 실행해 변경을 제안, 테스트, 점수화하면서 프로젝트를 단계적으로 개선하도록 돕습니다.
openspace
7.8k에이전트 스킬을 저장하고 가져오는 도구인 OpenSpace를 설정하고, MCP를 통해 AI 앱에 연결하도록 돕습니다.
rsi-arena
7.8kAIME나 Terminal-Bench 같은 표준 AI 벤치마크 테스트를 설정하고 실행해 서로 다른 개선 방법을 비교하도록 돕습니다.
experiment-guide
7.8k프로그램을 개선하는 방법을 조사하면서 작은 실험을 계획하고, 결과를 읽고, 발견 사항을 기록하도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.