error-recovery-retry

Official

Fail gracefully with retries and fallbacks.

Authorcosmicstack-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps production AI agents recover from transient failures and avoid cascading outages by adding structured retry, circuit breaking, and escalation paths when things go wrong.

Core Features & Use Cases

  • Failure taxonomy & decisioning: Classifies errors (transient, rate limited, validation, model error, permanent) to decide what to retry versus when to escalate.
  • Exponential backoff + jitter retries: Implements bounded retries with delay growth and random jitter to reduce load spikes.
  • Circuit breaker + graceful degradation: Prevents repeated calls to failing dependencies and switches capabilities or tool availability under sustained failure.
  • State recovery + dead-letter queue: Checkpoints agent state for replay and routes unrecoverable tasks to a DLQ for human review or later replay.

Quick Start

Ask an agent to apply error-recovery-retry patterns to your tool calls and model requests by implementing bounded exponential backoff retries, circuit breakers per dependency, and a dead-letter queue for unrecoverable failures.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: error-recovery-retry
Download link: https://github.com/cosmicstack-labs/mercury-agent-skills/archive/main.zip#error-recovery-retry

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.