Agent skill · software engineering · jeremylongshore
clade-reliability-patterns
Build fault-tolerant Claude integrations \u2014 retries, circuit breakers,\n\
Why this skill is useful
Adds executable scripts for fault-tolerant Claude integrations, including retries, circuit breakers, and graceful degradation patterns.
What it needs
Requires anthropic installed locally. Requires anthropic account access. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
Anthropic Reliability Patterns Overview Build fault-tolerant Claude integrations with built-in SDK retries, model fallback chains (Sonnet → Haiku), circuit breakers to avoid hammering a failing API, graceful degradation with cached/static responses, and per-request timeout configuration. Built-In SDK Retries The SDK retries 429 (rate limit) and 529 (overloaded) automatically: Model Fallback Chain Circuit Breaker Graceful Degradation Timeout Handling Output SDK configured with appropriate maxRetries and timeout Model fallback chain automatically trying cheaper models on failure Circuit breaker preventing cascading failures during outages Graceful degradation returning static responses when Claude is unavailable Error Handling Error Cause Solution ------- ------- ---------- API Error Check error type and status code See clade-common-errors Examples See Built-In SDK Retries, Model Fallback Chain, Circuit Breaker class, Graceful Degradation handler, and Timeout Handling above. Resources Error Types SDK Retries Next Steps See clade-policy-guardrails for content safety patterns. Prerequisites Completed clade-install-auth Production Claude integration requiring high availability Understanding of fault tolerance patterns (retries, circuit breakers) Instructions Step 1: Review the patterns below Each section contains production-ready code examples. Copy and adapt them to your use case. Step 2: Apply to your codebase Integrate the patterns that match your requirements. Test each change individually. Step 3: Verify Run your test suite to confirm the integration works correctly.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/clade-reliability-patterns--63a41a