error-recovery-skill

Classify workflow failures and select retry, alternative, or degradation recovery paths.

356|66|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/zeenie-ai/MachinaOS --skill error-recovery-skill-zeenie-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-recovery-skill
Source: https://github.com/zeenie-ai/MachinaOS/tree/main/server/skills/autonomous/error-recovery-skill
Command: npx skills add https://github.com/zeenie-ai/MachinaOS --skill error-recovery-skill-zeenie-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces workflow interruptions by turning unexpected errors into a controlled recovery process instead of a hard stop.

Core Features & Use Cases

  • Error classification: Distinguishes transient retryable errors from recoverable alternatives and permanent failures that must be reported or escalated.
  • Exponential backoff retries: Implements bounded retry attempts with increasing wait times to handle rate limits, temporary outages, and connection issues safely.
  • Fallback patterns and graceful degradation: Switches to alternative approaches (e.g., backup service or cached data) and returns partial results when optional data fails while preserving required outputs.
  • Agent loop recovery: Continues iterative or agentic workflows by updating context and choosing the correct next action (retry, alternative, or report).

Quick Start

Use error-recovery-skill when a provider call fails during an automated workflow by asking your agent to retry transient errors with exponential backoff, switch to an alternative data source when recoverable errors occur, and return partial results with clear error details if only some fields fail.

Frequently Asked Questions about error-recovery-skill

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

FAQPage Schema
How do I handle API failures in an agentic workflow without stopping the entire process?

Error classification distinguishes transient issues from permanent failures in agentic workflows, applying exponential backoff retries for temporary outages and graceful degradation to preserve partial results without stopping the process.

What is the best way to implement retry logic with exponential backoff for service integrations?

The best way to implement retry logic with exponential backoff is to use bounded retry attempts with increasing wait times, which safely handles rate limits and temporary outages while preventing infinite loops through permanent-error guardrails.

How does graceful degradation work when optional data fails during an automated agent loop?

Graceful degradation works by switching to alternative approaches like backup services or cached data, returning partial results with structured error reporting when optional fields fail while still preserving required outputs for the agent loop.

When should I use fallback patterns instead of retrying a failed provider call?

You should use fallback patterns when error classification identifies a recoverable problem rather than a transient issue, allowing the workflow to switch to an alternative data source instead of attempting retries that will likely fail again.

Can I use this error recovery approach for partial successes across multiple service integrations?

Yes, you can use this error recovery approach for partial successes across service integrations, as it provides structured error and partial-result reporting to ensure required outputs are preserved while clearly detailing which optional fields failed.

Why does my automated workflow stop completely when encountering a permanent error?

Your workflow stops completely because it lacks a permanent-error guardrail and proper error classification; implementing contextual self-delegation prompts and structured reporting allows the system to escalate safely instead of crashing.