Official agent skill

Upstash Ratelimit TS

by upstash in upstash/ratelimit-js

Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.

OfficialMITAuto-check passedBackend & APIs

Install Upstash Ratelimit TS

skills CLI
$ npx skills add upstash/ratelimit-js --skill upstash-ratelimit-ts -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install upstash/ratelimit-js upstash-ratelimit-ts --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/upstash/ratelimit-js.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills .claude/skills/upstash-ratelimit-ts && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
upstash-ratelimit-ts
GitHub stars
2k
Token cost
~313 tokens
SKILL.md length
84 words
Files
6
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.

  • Tasks that involve Rate limiting
  • SKILL.md covers Quick Start and Other Skill Files
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Upstash Ratelimit TS is an agent skill from upstash/ratelimit-js, published by the product's own GitHub organization. Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.

Its SKILL.md is about 310 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `algorithms.md`, `features.md` and `methods-getting-started.md`).

It sits in Backend & APIs, covering Rate limiting. It works with Upstash, Redis and TypeScript. The repository describes itself as: Rate limiting library for serverless runtimes. The licence is MIT.

When your agent uses it

  • Tasks that involve Rate limiting

Example prompts

  • “/upstash-ratelimit-ts”

What it can do on your machine

Read from SKILL.md and the folder at commit fccd840. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Upstash Ratelimit TS loads about 313 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 84 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~313

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from upstash/ratelimit-js at commit fccd840, republished under its MIT licence (© upstash). 84 words, ~313 tokens.

Download SKILL.mdSave it as .claude/skills/upstash-ratelimit-ts/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
upstash-ratelimit-ts
description
Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.

Rate Limit TS SDK

Quick Start

  • Install the SDK and connect to Redis.
  • Create a rate limiter and apply it to incoming operations.

Example:

ts
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
}

Other Skill Files

  • algorithms.md: Describes all available rate‑limiting algorithms and how they behave.
  • pricing-cost.md: Explains pricing, Redis cost implications, and operational considerations.
  • features.md: Lists SDK features such as prefixes, custom keys, and behavioral options.
  • methods-getting-started.md: Full method reference for the SDK's API and getting started guide.
  • traffic-protection.md: Guidance on applying rate limiting for traffic shaping, abuse prevention, and protection patterns.

© upstash, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files in skills of upstash/ratelimit-js.

  • SKILL.md
  • algorithms.md
  • features.md
  • methods-getting-started.md
  • pricing-cost.md
  • traffic-protection.md

Open the folder on GitHubat commit fccd840

Compare with similar skills

Upstash Ratelimit TS next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Upstash Ratelimit TS compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Upstash Ratelimit TS this skillupstash/ratelimit-js2k—~313Automated safety check: PassMIT
Bullmq Specialistsickn33/agentic-awesome-skills47k2 repos~2.5kAutomated safety check: PassMIT
Upstash Redisgithub/awesome-copilot40k—~1.7kAutomated safety check: PassMIT
Upstash Ratelimitsickn33/agentic-awesome-skills47k1 repos~1.7kAutomated safety check: PassMIT
Redisericrisco/rsc-harness180—~4.3kAutomated safety check: PassMIT
Redis Patternsaffaan-m/ECC276k1 repos~3kAutomated safety check: PassMIT

Similar skills

  • Bullmq Specialist

    sickn33/agentic-awesome-skills

    BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications.

    47k GitHub starsUsed in 2 repos~2.5k tokens
    Backend & APIsAuto-check passed
  • Upstash Redis

    github/awesome-copilot

    Official

    Use Redis over HTTP from serverless and edge runtimes with @upstash/redis, and add rate limiting with @upstash/ratelimit.

    40k GitHub stars~1.7k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Upstash Ratelimit

    sickn33/agentic-awesome-skills

    Add rate limiting to API routes, middleware, and edge functions with @upstash/ratelimit: sliding window, fixed window, and token bucket backed by Upstash Redis.

    47k GitHub starsUsed in 1 repo~1.7k tokens
    Backend & APIsAuto-check passed
  • Redis

    ericrisco/rsc-harness

    A skill your agent uses when using Redis or any Redis-protocol store (Valkey, ElastiCache, Upstash, Dragonfly, Memorystore) as a cache, queue, rate limiter or distributed lock and it has to be…

    180 GitHub stars~4.3k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Redis Patterns

    affaan-m/ECC

    Redis data structure patterns, caching strategies, distributed locks, rate limiting, pub/sub, and connection management for production applications.

    276k GitHub starsUsed in 1 repo~3k tokens
    Backend & APIsAuto-check passed
  • Amazon Elasticache

    aws/agent-toolkit-for-aws

    Official

    Activate when developers have latent caching needs: slow API responses, database read bottlenecks, DynamoDB throttling or cost, RDS/Aurora scaling pressure, Bedrock latency or cost, or adding a…

    2.8k GitHub stars~4.5k tokensUpdated yesterday
    Backend & APIsAuto-check passed

Questions about Upstash Ratelimit TS

What does Upstash Ratelimit TS do?

Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs. Upstash Ratelimit TS is an agent skill from upstash/ratelimit-js, published by the product's own GitHub organization. Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.

When should I use Upstash Ratelimit TS?

Upstash Ratelimit TS fits situations like: tasks that involve Rate limiting.

How do I install Upstash Ratelimit TS in Claude Code?

Run `npx skills add upstash/ratelimit-js --skill upstash-ratelimit-ts -a claude-code`. Or copy the skill folder (skills in upstash/ratelimit-js) into .claude/skills/upstash-ratelimit-ts in your project. Claude Code loads it when a task matches its description.

How do I install Upstash Ratelimit TS in Codex?

Run `npx skills add upstash/ratelimit-js --skill upstash-ratelimit-ts -a codex`. Or copy the skill folder (skills in upstash/ratelimit-js) into .agents/skills/upstash-ratelimit-ts in your project. Codex loads it when a task matches its description.

Can I use Upstash Ratelimit TS in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add upstash/ratelimit-js --skill upstash-ratelimit-ts -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/upstash-ratelimit-ts, .gemini/skills/upstash-ratelimit-ts, .github/skills/upstash-ratelimit-ts and .opencode/skills/upstash-ratelimit-ts in your project.

What does Upstash Ratelimit TS need to run?

SKILL.md names no scripts, command-line tools or credentials: Upstash Ratelimit TS is instructions for the agent only.

Does Upstash Ratelimit TS access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Upstash Ratelimit TS safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Upstash Ratelimit TS use?

Upstash Ratelimit TS is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Upstash Ratelimit TS use?

About 313 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Upstash Ratelimit TS?

Skills that share tags, products or a category with Upstash Ratelimit TS: Bullmq Specialist (sickn33/agentic-awesome-skills, 47k stars), Upstash Redis (github/awesome-copilot, 40k stars), Upstash Ratelimit (sickn33/agentic-awesome-skills, 47k stars) and Redis (ericrisco/rsc-harness, 180 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Upstash Ratelimit TS?

upstash (a GitHub organization, an official publisher) maintains it in upstash/ratelimit-js, which has 2,050 GitHub stars. The repository was last updated on September 25, 2026.

Source: upstash/ratelimit-js on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.