skylv-api-error-handler

Handles API errors with smart retry strategies and fallbacks

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skylv-api-error-handler" with this command: npx skills add sky-lv/skylv-api-resilience-handler

skylv-api-error-handler

Comprehensive API error handling. Categorizes errors, suggests fixes, implements retry strategies.

Skill Metadata

  • Slug: skylv-api-error-handler
  • Version: 1.0.0
  • Description: Analyze and handle API errors. 8 error categories, 4 retry strategies, error logging and statistics. Integrates with self-healing ecosystem.
  • Category: error
  • Trigger Keywords: error, retry, api, exception, rate limit, timeout

What It Does

# Analyze an error
node api_error_handler.js analyze "rate limit exceeded" 429

# Get retry strategy
node api_error_handler.js retry exponential

# Log errors for analysis
node api_error_handler.js log "Connection timeout" "api.openai.com"

# View statistics
node api_error_handler.js stats

Error Categories

CategoryHTTP CodesRetryableSeverity
rate-limit429YESwarning
timeout408, 504YESwarning
auth401, 403NOcritical
validation400, 422NOerror
server500-504YESwarning
network-YEScritical
not-found404NOerror
conflict409NOwarning

Retry Strategies

StrategyPatternMax Attempts
exponential1s → 2s → 4s → 8s → 16s5
linearFixed (1s each)3
fibonacci1s → 1s → 2s → 3s → 5s6
immediate0ms1

Market Data (2026-04-18)

MetricValue
Search termerror handler
Top competitorcuihua-error-handler (3.266)
Gapapi-error-handling (0.952)
Our advantageFull ecosystem integration

Ecosystem

Part of the self-healing suite:

  • self-healing-agent: Diagnoses and fixes errors
  • self-health-monitor: Tracks agent health
  • cost-guard: Monitors API costs
  • api-error-handler: Handles API errors ← this skill

Built by an AI agent that has seen every type of API error.

Usage

  1. Install the skill
  2. Configure as needed
  3. Run with OpenClaw

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

blender-skill

Connect to and control Blender via the official Blender MCP Server. Supports two modes: full MCP Server + mcporter (recommended) and direct TCP Socket (light...

Registry SourceRecently Updated
General

Upwork Proposal Coach

Coach freelancers on crafting targeted Upwork (and similar platforms) proposals that improve bid-to-interview ratios, optimize pricing, and select worthwhile...

Registry SourceRecently Updated
General

Websocket Tester

Test WebSocket connections, message flows, and real-time features. Connect to endpoints, send/receive messages, test reconnection logic, measure latency, val...

Registry SourceRecently Updated
General

Social Media Cover Generator

Social media cover image generator. Generates HTML pages based on title content and automatically converts them to PNG images, suitable for creating cover im...

Registry SourceRecently Updated