error-recovery

Diagnose failed tool calls and scripts, then apply recovery strategies.

6|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/jnotsknab/mux-swarm --skill error-recovery-jnotsknab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-recovery
Source: https://github.com/jnotsknab/mux-swarm/tree/main/Skills/bundled-docker/error-recovery
Command: npx skills add https://github.com/jnotsknab/mux-swarm --skill error-recovery-jnotsknab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Patterns for diagnosing failures, reading error output, adapting approach, and recovering from errors without repeating the same mistake.

Core Features & Use Cases

  • Error Diagnosis: Identify error type from logs and tracebacks, classify into common categories (syntax, dependency, permission, timeout).
  • Adaptive Recovery: Propose and apply failure-handling strategies (fix-and-retry, simplify-and-retry, pivot) to move past errors without repeating mistakes.
  • Operational Guidance: Provide step-by-step routines for common failure scenarios in automation pipelines, batch tasks, and tool integrations.
  • Use Case: When a script fails due to a missing dependency, automatically suggest installing it in the active environment and retry.

Quick Start

Describe the latest failure, identify the root cause, and apply the recommended recovery strategy to prevent repeating the same error.

Frequently Asked Questions about error-recovery

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

FAQPage Schema
How do I automate error analysis and recovery for failed tool calls in automation pipelines?

Automated error analysis diagnoses failures by classifying tracebacks into categories like syntax, dependency, permission, or timeout errors. It then applies adaptive recovery strategies such as fix-and-retry, simplify-and-retry, or pivot to move past the error without repeating mistakes.

What is the best way to handle script failures caused by missing dependencies in batch processing?

Handling script failures from missing dependencies involves identifying the missing package from the error output, suggesting the installation command for the active environment, and automatically retrying the failed batch processing script.

Why does my automation pipeline keep repeating the same syntax or permission errors?

Pipelines repeat errors when they lack deterministic guardrails for error classification and adaptive recovery. Implementing failure-handling strategies prevents repeating mistakes by proposing targeted fixes before retrying the failed command.

How do I diagnose and classify timeout or permission issues from error logs and tracebacks?

Diagnosing timeout or permission issues requires reading error logs to classify the failure type. Once identified, operational guidance provides step-by-step routines to apply the correct failure-handling strategy and recover the workflow.

Can I use automated troubleshooting routines for batch tasks that fail due to environment setup issues?

Yes, automated troubleshooting routines diagnose environment setup failures by reading tracebacks and classifying them. They provide operational guidance to resolve dependency or permission issues and retry the batch tasks automatically.

What are the limitations of using deterministic error recovery strategies in debugging workflows?

Deterministic error recovery relies on classifying known error categories like syntax, dependency, permission, and timeout. It may not resolve novel or complex logic errors outside these classifications, requiring a pivot to manual debugging workflows.