Stats
Actions
Tags
From upstash
Guides setup and usage of the Upstash Redis RateLimit SDK for TypeScript/JavaScript, with pointers to algorithm, pricing, and traffic protection docs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/upstash:upstash-ratelimit-jsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Install the SDK and connect to Redis.
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
}
npx claudepluginhub upstash/skills --plugin upstashGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.