rate-limit-abuse-prevention

rate-limit-abuse-prevention is a skill for Cursor from roedyrustam/vibes-plug. It costs 41 tokens per session (5,713 once invoked), scanned B, original, MIT.

A guide to protecting APIs and web applications from excessive use, automated bots, denial-of-service attacks, and repeated login guesses.

In plain words
What is it for?
Use it to add request limits, bot checks, DDoS protection, login-attempt protection, API-key quotas, and subscription-based limits.
Why use it?
It helps prevent attackers or heavy users from overwhelming services, abusing accounts, or consuming more API access than allowed.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the vibes-plug plugin — 179 skills, 9 agents, 2 MCP servers shipped together

Good fit Use it to add request limits, bot checks, DDoS protection, login-attempt protection, API-key quotas, and subscription-based limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/rate-limit-abuse-prevention
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add roedyrustam/vibes-plug --skill rate-limit-abuse-prevention
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Cursor.

Or install vibes-plug, the plugin that ships this one along with the rest of its 179 skills, 9 agents, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rate-limit-abuse-prevention

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/rate-limit-abuse-prevention/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/rate-limit-abuse-prevention)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/rate-limit-abuse-prevention"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/rate-limit-abuse-prevention/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rate-limit-abuse-prevention

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/rate-limit-abuse-prevention"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/rate-limit-abuse-prevention.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,713 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 209
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.05713
Opus 5.5 $0.00016 $0.02285
Sonnet 5.5 $0.00008 $0.01143
Haiku 4.5 $0.00004 $0.00571

Measured 16d ago against content hash 8a8b92587639, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

rate-limit-abuse-prevention scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const response = await fetch('https://challenges.cloudflare.com/turnstile/v0/siteverify', { method: 'POST',
.cursor/skills/rate-limit-abuse-prevention/SKILL.md · 553 lines

How it starts

The opening of the file, as written. The whole thing — 553 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rate Limit & Abuse Prevention (2026 Edition)

English | Bahasa Indonesia


English

Orchestration & Integration

  • Threat Defense & Red Teaming: autonomous-red-teamer, prompt-injection-firewall, zero-trust-secret-vault
  • Identity & Authentication: authentication-identity-expert, compliance-gdpr-privacy-expert
  • API Architecture & Backend: api-design-expert, js-backend-expert, api-gateway-proxy-expert
  • Edge Infrastructure & DDoS: cloud-hosting-expert, cloudflare-workers-expert
  • SaaS Billing & Quotas: saas-billing, doku-payment-gateway, payment-gateway-expert
  • Lifecycle & Hardening: production-ready-hardener, brainstorming, zero-to-prod-orchestrator, session-memory-manager

Description

Production-grade guide for protecting APIs and web applications from abuse, overuse, and attacks. Covers rate limiting algorithms (Token Bucket, Sliding Window), Upstash Ratelimit, bot protection (Cloudflare Turnstile, hCaptcha), DDoS mitigation at edge, brute-force login prevention, API key management & usage quotas, and response headers (X-RateLimit, Retry-After).

Trigger Conditions

Activate this skill when:

  • Implementing API rate limiting for public or authenticated endpoints.
  • Adding bot protection (CAPTCHA) to forms (login, signup, contact).
  • Setting up DDoS protection at the edge (Cloudflare, Vercel).
  • Preventing brute-force attacks on authentication endpoints.
  • Implementing API key issuance and usage quotas for SaaS.
  • Building tiered rate limits based on subscription plans.

Rate Limiting Algorithm Comparison

Algorithm Behavior Best For Burst Handling
Fixed Window Resets counter at interval boundary Simple endpoints Allows double burst at window edge
Sliding Window Rolling window, smooth distribution API endpoints Smooth, no edge burst
Token Bucket Tokens refill at fixed rate High-throughput APIs Allows controlled bursts
Leaky Bucket Processes at fixed rate, queues excess Stream processing No bursts, constant rate

Read the full file on GitHub · 553 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed · +10 lines 8a8b92587639
  2. 21d ago Changed · +73 lines b4da5eda240f
  3. 1mo ago Changed · +22 lines · -22 tokens per session a0b646dd8228
  4. 1mo ago Changed · -6 lines 2cfc48a69d2c
  5. 1mo ago Changed · +1 lines 5896d388f670
  6. 1mo ago Changed b5e6c2696fc5
  7. 1mo ago Changed · +75 lines effd1dfdef0c
  8. 1mo ago Changed bdcdaa8b049c
  9. 2mo ago Changed 836d67ddba78
  10. 2mo ago First seen · 378 lines · 63 tokens per session scan B c3b9d49eee3d

Subscribe to this mod's changes

rate-limit-abuse-prevention is a skill published in the GitHub repository roedyrustam/vibes-plug (132 stars, last pushed 2d ago), licensed MIT. It adds 41 tokens to every session and 5,713 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

rate-limit-abuse-prevention compared with skills from other repositories

rate-limit-abuse-prevention next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rate-limit-abuse-preventionroedyrustam/vibes-plugSkill1322d agoMITB41Cursor
nodejs-backend-patternschidekina/aria-superpowersSkill22mo agononeA58Claude Code, Codex
api-design-principleschidekina/aria-superpowersSkill22mo agononeA44Claude Code, Codex
buildersimota/agent-skillsSkill107todayMITA40Claude Code, Codex
system-and-data-designAnastasiyaW/codex-claude-code-configSkill218todayMITA217Claude Code
evolutionary-modular-architecturetech-leads-club/agent-skillsSkill7.2ktodaynoneA208Claude Code, Codex
implementdevcxl/mattpocock-skills-zhSkill576todayMITA14Claude Code, Codex