ai-resilience

Community

Hardening AI integrations with retry and caching.

Authorrochaluiz8888
Version1.0.0
Installs0

System Documentation

What problem does it solve?

AI/LLM integrations often suffer from intermittent failures, excessive latency, and inefficient usage of API quotas. This skill provides production-grade resilience patterns to make AI calls robust, efficient, and auditable.

Core Features & Use Cases

  • Exponential backoff with jitter for retries on 429/5xx responses and network errors.
  • Smart-skip content hashing to avoid reprocessing identical inputs.
  • Batch processing with bounded concurrency to scale AI workloads without overwhelming services.
  • Token optimization and structured JSON outputs to improve predictability and downstream consumption.

Quick Start

Integrate these patterns by wiring retry, caching, and batching into your Gemini-based AI calls and run a focused test to validate resilience.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: ai-resilience
Download link: https://github.com/rochaluiz8888/claude-code-skills/archive/main.zip#ai-resilience

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