← ClaudeAtlas

rate-limitinglisted

Implement rate limiting and throttling — token bucket, fixed window, sliding window, quotas, and retry headers. Use when setting up API rate limits, choosing a throttling algorithm, or responding to abuse.
ecoma-io/touchstone · ★ 1 · AI & Automation · score 61
Install: claude install-skill ecoma-io/touchstone
# Rate Limiting - Token bucket: allows bursts up to bucket size, refills at steady rate - Fixed window: simple but vulnerable to edge-of-window bursts - Sliding window log: accurate but memory-heavy per user - Response headers: Retry-After, X-RateLimit-Remaining, X-RateLimit-Reset - Quotas: per-user, per-IP, per-endpoint. Return 429 with clear retry guidance