rate-limiting
Skill0 starsChanged 7 months agoMITView on GitHub
12 other projects use a version of this.
Adopted by
Most recently taken up by
- mahumadad/quarrytheir own version, first seen Nov 8, 2026
- AnyOrgName/php-skillstheir own version, first seen Nov 8, 2026
- d4rken/clankermuxtheir own version, first seen Nov 2, 2026
- jars-demo/jars-skillstheir own version, first seen Oct 25, 2026
- gerard-labs/superpowers-api-platformtheir own version, first seen Oct 13, 2026
- chunkydotdev/email-skillstheir own version, first seen Sep 29, 2026
Used with
Projects with it also use background-jobs, input-validation and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
YepAPISkillbackground-jobs
Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.
Also in 3 projects that use this
hereshecodesSkillinput-validation
Use when processing user input, form data, file uploads, or query parameters
Also in 3 projects that use this
wpankSkillcaching
Caching strategies, invalidation, eviction policies, HTTP caching, distributed caching, and anti-patterns. Use when designing cache layers, choosing eviction policies, debugging stale data, or optimizing read-heavy workloads.
Also in 3 projects that use this
SentrySkillfeature-flags
Gate a Sentry feature behind a FlagPole feature flag. Use when adding a feature flag, registering a flag in temporary.py, checking a flag from Python or the frontend, enabling a flag in tests, or asking where FlagPole rollout config lives. Trigger on "add a feature flag", "gate this behind a flag", "register a flag", "features.has", "api_expose", "OrganizationFeature", "ProjectFeature", "FlagPole".
Also in 3 projects that use this
xfstudioSkillsecrets-management
Implement secure secrets management for CI/CD pipelines using Vault, AWS Secrets Manager, or native platform solutions. Use when handling sensitive credentials, rotating secrets, or securing CI/CD environments.
Also in 3 projects that use this
ElasticSkillaccessibility
Accessibility guidance for Kibana. Use this skill when working with or reviewing EUI components, resolving a11y-related (@elastic/eui) ESLint issues, and ensuring proper use of ARIA attributes, focus management, keyboard interactions, and accessible naming conventions.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- harperaa/secure-claude-skills★ 16same name
- d4rken/clankermux★ 11same name
- wpank/ai★ 11same name
- YepAPI/skills★ 8same name
- chunkydotdev/email-skills★ 7same name
- AnyOrgName/php-skills★ 4same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- gerard-labs/superpowers-api-platform★ 2same name
- kimtth/agent-skill-100-lines-or-less★ 2same name
- mahumadad/quarry★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- audit-trailSkill
- authSkill
- fan-outSkill
- observabilitySkill
- response-cachingSkill
- schema-validationSkill
- tool-allowlistSkill
The file
We found no rules to list in this file: it reads as prose or reference rather than instructions.
Files
Rate Limiting
Capability
Per-tenant rate limiting with token bucket algorithm and Redis-backed distributed state.
Package
@reaatech/mcp-gateway-rate-limit — packages/rate-limit/src/
Components
| Component | Purpose |
rate-limiter.ts | Core RateLimiter class + createRateLimiter factory |
redis-store.ts | Distributed rate limiting with Redis Lua scripts |
memory-store.ts | In-memory rate limiting for development |
quota-manager.ts | Daily quota tracking |
token-bucket.ts | Token bucket algorithm (capacity, refill, consume) |
rate-limit.middleware.ts | Express middleware with X-RateLimit-* headers |
Rate Limit Headers
| Header | Description |
X-RateLimit-Limit | Maximum requests allowed |
X-RateLimit-Remaining | Remaining requests in window |
X-RateLimit-Reset | Unix timestamp when limit resets |
Retry-After | Seconds to wait before retrying (on 429) |
Error Handling
- 429 Too Many Requests — JSON-RPC error format with
retryAfter - Includes current limit status in response body
- Fallback to memory store if Redis unavailable
Security Considerations
- Rate limits enforced per-tenant (extracted from auth context)
- Redis Lua scripts ensure atomic operations
- Hard limits never exceeded (fail-closed on Redis errors)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

