Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Rate Limiting?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-rate-limiting)
---
name: rate-limiting
description: "Rate limiting and abuse prevention: token bucket/sliding window, per-user and per-IP keys, and headers."
tags: [backend, security, api]
---
# Rate Limiting
## When to use
- Public endpoints, login, OTP, expensive operations
## Procedure
1. Pick limits per endpoint class
2. Implement with Redis or gateway
3. Return 429 with Retry-After
4. Log and alert on abuse
## Checklist
- [ ] Login and OTP limited
## Anti-patterns
- Limiting only by IP behind a proxy without trusting the right header