Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    API Rate Limiter Designer

    1

    Rate limiting fails in two directions: too loose and one bad client takes down the database for everyone; too crude and you rate-limit your own legitimate power users into churn.

    $8.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    API Rate Limiter Designer

    API Rate Limiter Designer

    Example session with this skill installed

    We expose a public REST API for a geocoding product with free, pro and enterprise plans. Traffic goes through nginx to Node services, and we already run Redis. Free users are hammering the batch endpoint. Design our rate limiting.

    • Read your context and instructions
    • Compiled the api rate limiter
    • Generated the UI component

    Rate limiting design: token bucket in Redis, keyed by API key, tiered per plan, with a separate stricter limit on the batch endpoint.

    Algorithm

    • Token bucket via an atomic Redis Lua script: allows short bursts, enforces a steady rate.
    • nginx limit_req per IP as a coarse outer guard against unauthenticated floods.

    Limit keys

    ScopeKey
    Authenticatedrl:{api_key}:{endpoint_group}
    Unauthenticatedrl:ip:{ip}
    Batch costtokens charged per address in the batch, not per request

    Tier structure

    PlanStandard rateBurstBatch
    Free5 req/s20100 addresses/min
    Pro50 req/s2005,000 addresses/min
    EnterpriseContractedContractedContracted

    Values are starting points to tune against your capacity.

    429 and headers

    HTTP/1.1 429 Too Many Requests
    RateLimit-Limit: 5
    RateLimit-Remaining: 0
    RateLimit-Reset: 3
    Retry-After: 3
    {"error":"rate_limited","limit_scope":"batch"}
    

    Send the RateLimit-* headers on every response, not only on 429.

    Monitoring

    • Count 429s by plan, key and endpoint group.
    • Alert when one key produces most of the 429s or Redis script latency rises.
    • Fail open with a local in-memory limit if Redis is unreachable.

    Next steps

    • Publish the limits in your API docs before enforcing them.
    • Roll out in log-only mode for a week, then enforce.

    api-rate-limiter-designer.tsx

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Select the right algorithm (Token Bucket, Sliding Window) for your traffic.Design fair-use keys and tier-based quota structures for SaaS multi-tenancy.Standardize 429 Error responses and X-RateLimit headers.Plan a low-risk 'log-only' deployment to calibrate limits without breaking apps.People are hammering my API and I need to rate limit itStop API abuse and throttle requests per customer

    About this skill

    Rate limiting fails in two directions: too loose and one bad client takes down the database for everyone; too crude and you rate-limit your own legitimate power users into churn. This skill designs your rate limiting strategy end-to-end: the right algorithm for your use case (token bucket vs. sliding window vs. fixed window and why it matters), the right granularity (per IP, per user, per API key, per endpoint — not all the same), Redis implementation that doesn't add latency on every request, the response format that doesn't enrage developers, and the exemption system for your high-trust clients. It also covers the abuse patterns rate limiting doesn't stop, so you're not surprised when someone routes around it. Give it your API shape, your traffic patterns, and your abuse concerns; it returns a rate limiting design you can implement in a day.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 3 months ago

    • Passed all security checks, Safe to install

    Listed3 months ago
    Updated11 days ago

    What's inside

    Frequently Asked Questions