error-recovery

Apply retry, fallback, and escalation patterns to agent workflows.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/Quintenps/contactswap-agents --skill error-recovery-quintenps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-recovery
Source: https://github.com/Quintenps/contactswap-agents/tree/main/.copilot/skills/error-recovery
Command: npx skills add https://github.com/Quintenps/contactswap-agents --skill error-recovery-quintenps

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the lack of consistency in how agents handle failures, preventing them from simply reporting errors and instead empowering them to resolve issues autonomously.

Core Features & Use Cases

  • Structured Recovery Patterns: Provides a library of proven strategies including retries with backoff, fallback alternatives, and graceful degradation.
  • Escalation Protocols: Defines clear criteria for when an agent should stop attempting fixes and hand off to human oversight.
  • Use Case: If an API call fails due to a rate limit, the agent automatically applies the Retry with Backoff pattern instead of failing the entire task.

Quick Start

Apply the error-recovery patterns to the current agent charter to ensure all transient failures are handled with automated retries and clear escalation paths.

Frequently Asked Questions about error-recovery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement automated error handling for autonomous agents?

Automated error handling for autonomous agents is implemented by applying standardized recovery patterns like retry with backoff, fallback alternatives, and graceful degradation to manage transient failures autonomously. This ensures system stability without manual intervention.

What is the best way to manage transient API rate limit failures in agent workflows?

Managing transient API rate limit failures in agent workflows is best handled using a retry with backoff pattern, allowing the agent to automatically pause and retry the request rather than failing the entire task.

When do autonomous agents need an escalation protocol for error resolution?

Autonomous agents need an escalation protocol when persistent failures exceed defined recovery criteria, signaling the agent to stop attempting automated fixes and hand off to human oversight for resolution.

Can I apply structured resilience patterns to existing agent charters?

Yes, you can apply structured resilience patterns to existing agent charters by integrating the documented hierarchy of retry, fallback, and escalation strategies to ensure all transient failures are handled with automated recovery paths.

What fallback alternatives exist for agents when data retrieval tasks fail?

Fallback alternatives for failed data retrieval tasks include graceful degradation and defined fallback options, allowing the agent to maintain operational reliability by switching strategies instead of halting the workflow.