LLM Error Handler

Community

Robust LLM error handling and fallbacks

AuthorWangK0221
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses recurring errors in Large Language Model API calls, ensuring smoother operation and preventing service disruptions.

Core Features & Use Cases

  • Automatic Error Detection: Identifies common LLM API errors (400, 429, 500+).
  • Intelligent Retries: Implements exponential backoff with jitter for transient failures.
  • Content Sanitization: Cleans input content to prevent validation errors.
  • Fallback Mechanisms: Provides graceful degradation when the primary LLM fails.
  • Use Case: When an LLM API returns a 400 error due to malformed input, this Skill automatically sanitizes the input and retries the request, preventing the entire process from failing.

Quick Start

Use the LLM Error Handler skill to automatically retry a failed LLM API call with exponential backoff.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: LLM Error Handler
Download link: https://github.com/WangK0221/OpenClaw_Shrimp/archive/main.zip#llm-error-handler

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 223,000+ vetted skills library on demand.