api-rate-limit-handler - Implement API rate limiting, backoff, and retry logic.
Implement rate limiting, exponential backoff, header parsing, and idempotency-aware retries for external API calls.
Tags
Updated: 2026-09-21Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Classify HTTP response status codes
- Parse rate limit headers
- Execute exponential backoff with jitter
- Implement token bucket rate limiting
- Handle idempotency-aware request retries
Inputs
- Target API endpoint URL
- HTTP request options and headers
- Max retries and elapsed time limits
- Idempotency key configurations
Outputs
- Successful HTTP response objects
- Retry warning logs
- Rate limit and retry error exceptions
Requirements
- JavaScript/TypeScript or Python runtime environment
- Supported AI tools (Claude, Cursor, Codex, Gemini)
- External APIs with rate limit headers
