Skip to content
Back to skills

Rate Limit Design

ASecurity

Design backend API rate limits, quotas, throttling, and abuse controls. Use when Codex is asked to define limits by user, tenant, token, IP, endpoint, plan, or workload, including headers, errors, retries, and operational monitoring.

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentsgoapibackendsecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill rate-limit-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rate Limit Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rate Limit Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-rate-limit-design/badge)](https://www.skillsdirectory.com/skills/majiayu000-rate-limit-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rate-limit-design
description: Design backend API rate limits, quotas, throttling, and abuse controls. Use when Codex is asked to define limits by user, tenant, token, IP, endpoint, plan, or workload, including headers, errors, retries, and operational monitoring.
license: MIT
---

# Rate Limit Design

## Core Workflow

1. Identify protected resources, abuse cases, client types, tenants, plans,
   expected traffic, and operational constraints.
2. Choose limit dimensions: user, tenant, token, IP, endpoint, method, workload,
   or account plan.
3. Define algorithm and policy: fixed window, sliding window, token bucket,
   concurrency limit, quota, or adaptive control.
4. Specify response headers, error contract, retry guidance, burst behavior,
   exemptions, and monitoring.
5. Include rollout, tuning, and support override procedures.
6. Add tests for allowed, limited, burst, and recovery behavior.

## Safety Rules

- Do not invent production traffic, plan limits, or customer entitlements.
- Do not recommend limits that could silently block critical customer workflows
  without monitoring and support path.
- Escalate rate limits affecting billing, SLAs, compliance, security, or
  customer commitments.

## Deliverable Shape

For rate-limit plans, provide:

- Protected resources and abuse cases
- Limit dimensions and policy
- Headers and error behavior
- Retry and burst guidance
- Monitoring and alerting
- Rollout and tuning plan
- Support override path
- Test cases

## References

- Read `references/rate-limit-design-checklist.md` when designing or reviewing
  API rate limits.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.