Rate limiting for serverless and edge apps using the @upstash/ratelimit SDK with Upstash Redis. Supports fixed window, sliding window, and token bucket algorithms for API routes, Next.js middleware, Cloudflare Workers, and HTTP endpoints.
Ships in upstash-ratelimit-js. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Before writing or debugging SDK code, check node_modules/@upstash/ratelimit/docs/ for bundled docs and node_modules/@upstash/ratelimit/src/ for readable TypeScript source. Read and search the relevant files when present; otherwise use the references in this skill.
Example:
import { Ratelimit } from "@upstash/ratelimit";
import { Redis } from "@upstash/redis";
const redis = new Redis({ url: "<url>", token: "<token>" });
const limiter = new Ratelimit({ redis, limiter: Ratelimit.slidingWindow(5, "10s") });
const { success } = await limiter.limit("user-id");
if (!success) {
// throttled
}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/upstash-ratelimit-js:upstash-ratelimit-jsfrom upstash-ratelimit-js
upstash-ratelimit-js@engineering-skills is listed by timonwa/engineering-skills — review the source before installing
npx claudepluginhub timonwa/engineering-skills --plugin upstash-ratelimit-js2 plugins in one repository ship this exact skill · first indexed Oct 27, 2026
Other plugins' skills for the same job