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

hive.error-recovery

하는 일

이 스킬은 실패한 단계를 위한 간단한 판단 계획을 AI에게 줍니다. 도구를 사용하는 AI 에이전트를 운영하며, 에이전트가 스스로 복구하기를 원하는 사람들을 위한 것입니다.

사용하는 경우

  • ✓도구 호출이 시간 초과, 요청 제한 또는 잘못된 입력으로 실패할 때.
  • ✓같은 도구가 계속 실패해서 AI가 다른 방법을 써야 할 때.
  • ✓실패한 항목을 조용히 버리지 않고 기록해야 하는 경우.

스킬 링크

https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/error-recovery/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/error-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에게 요청하는 예시

“실패한 단계를 한 번 다시 시도해 보고, 그래도 안 되면 포기하지 말고 다른 방법을 써 주세요.”

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

작동 방식

AI는 먼저 실패가 일시적인지 영구적인지 판단합니다. 일시적인 문제는 한 번 다시 시도하고, 고칠 수 있으면 입력을 고치며, 고칠 수 없으면 실패를 기록합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Operational Protocol: Error Recovery

When a tool call fails:

  1. Diagnose — classify the failure as transient (network blip, rate limit, timeout) or structural (wrong selector, missing auth, invalid schema, permission denied).

  2. Decide:

    • Transient → retry once.
    • Structural + fixable → fix the input and retry.
    • Structural + unfixable → record the failure and move to the next item.
    • Blocking all progress → escalate.
  3. Adapt — if the same tool has failed {{max_retries_per_tool}}+ times in a row, stop using it and find an alternative approach.

Never silently drop a failed item. If the item is a task in the colony queue, write the failure to the DB instead of an in-memory buffer:

sqlite3 "$DB_PATH" "UPDATE tasks SET status='failed', last_error='<one-sentence reason>', completed_at=datetime('now'), updated_at=datetime('now') WHERE id='<task-id>' AND worker_id='<your-worker-id>';"

The tasks.retry_count column and the stale-claim reclaimer handle auto-retry for crashes; your job is the within-run decision tree above. See hive.colony-progress-tracker for the full queue protocol.

자주 묻는 질문

어떤 실패가 일시적인 것인가요?

네트워크 문제, 요청 제한, 시간 초과는 일시적인 것으로 보고 한 번 다시 시도합니다.

반복해서 실패하면 어떻게 되나요?

AI는 그 도구 사용을 멈추고 다른 방법을 찾습니다.

실패한 항목은 사라지나요?

아닙니다. 이유와 함께 기록되므로 조용히 버려지지 않습니다.

상세 정보

작성자의 원본 설명

Follow a structured recovery decision tree when tool calls fail instead of blindly retrying or giving up.

repo: aden-hive/hive

인기도

GitHub 스타
11k
순위
#11801
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬