From llm-observability
Adds retries, timeouts, and model/provider fallbacks to LLM API calls to handle rate limits, outages, and transient errors. Includes instrumentation for visibility.
How this skill is triggered — by the user, by Claude, or both
Slash command
/llm-observability:add-llm-fallbacksThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
LLM providers rate-limit, time out, 500, and occasionally go down. A single unguarded call means your app goes down with them. Add layered resilience, and instrument it so you can see when it kicks in.
LLM providers rate-limit, time out, 500, and occasionally go down. A single unguarded call means your app goes down with them. Add layered resilience, and instrument it so you can see when it kicks in.
Retry-After when present. A naive retry loop turns a rate limit into a retry storm (and a big bill, see reduce-llm-cost).The failure mode of good resilience is that it hides problems. Emit telemetry so you still see them:
set-up-drift-alerts).If your fallback rate silently climbs to 30%, you want to know, not find out from the bill or a user.
A fallback model may be cheaper-but-worse or pricier. Track cost and (ideally) quality on the fallback path too, so a provider outage does not silently degrade your app for hours.
Retry-After are honored, with a capped total wait.Standard distributed-systems resilience patterns applied to LLM calls: exponential backoff with jitter (AWS Architecture guidance), retry/timeout/circuit-breaker (Nygard, Release It!). Gateways implement provider fallback: LiteLLM, Portkey.
npx claudepluginhub contextjet-ai/awesome-llm-observabilityConfigures OpenRouter model fallbacks for high availability in Python apps using OpenAI client. Covers native server-side, provider routing, client-side chains, and timeouts to survive outages.
Implements reliability patterns for Claude API: circuit breakers, graceful degradation with model fallbacks, idempotency, and timeouts in Python code.
Automatically switches to backup AI models on failure, timeout, rate limit, or quota exhaustion. Supports multi-vendor configuration, priority-based fallback, health monitoring, and auto-retry.