Agent skill

hive.error-recovery

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

Stars 10,180
Forks 5,642

Install this agent skill to your Project

npx add-skill https://github.com/aden-hive/hive/tree/main/core/framework/skills/_default_skills/error-recovery

Metadata

Additional technical details for this skill

type
default-skill
author
hive

SKILL.md

Operational Protocol: Error Recovery

When a tool call fails:

  1. Diagnose — record error in notes, classify as transient or structural
  2. Decide — transient: retry once. Structural fixable: fix and retry. Structural unfixable: record as failed, move to next item. Blocking all progress: record escalation note.
  3. Adapt — if same tool failed {{max_retries_per_tool}}+ times, stop using it and find alternative. Update plan in notes. Never silently drop the failed item.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results