skills$openclaw/rate-limiter
lxgicstudios5.1k

by lxgicstudios

rate-limiter – OpenClaw Skill

rate-limiter is an OpenClaw Skills integration for coding workflows. Generate rate limiting configurations using AI. Use when protecting APIs from abuse.

5.1k stars6.2k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namerate-limiter
descriptionGenerate rate limiting configurations using AI. Use when protecting APIs from abuse. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/rate-limiter
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/rate-limiter
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains rate-limiter in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
src
cli.ts
756 B
index.ts
727 B
_meta.json
292 B
package-lock.json
46.2 KB
package.json
604 B
README.md
327 B
SKILL.md
2.5 KB
tsconfig.json
211 B
SKILL.md

name: rate-limiter description: Generate rate limiting configurations using AI. Use when protecting APIs from abuse.

Rate Limiter Generator

Describe your rate limiting needs. Get production-ready config for express-rate-limit, Redis-backed limiters, or custom implementations. Protect your API without reading documentation.

One command. Zero config. Just works.

Quick Start

npx ai-rate-limit "100 requests per minute per user"

What It Does

  • Generates rate limiting middleware and configuration
  • Supports in-memory, Redis, and database-backed stores
  • Creates tiered limits for different user types
  • Handles API key and IP-based limiting
  • Includes proper rate limit headers in responses

Usage Examples

# Simple IP-based limiting
npx ai-rate-limit "60 requests per minute per IP"

# User tier-based limits
npx ai-rate-limit "free users 100/hour, pro users 1000/hour"

# Redis-backed for distributed systems
npx ai-rate-limit "500 requests per minute" --store redis

# Endpoint-specific limits
npx ai-rate-limit "10 login attempts per 15 minutes"

# With sliding window
npx ai-rate-limit "1000/day sliding window" --algorithm sliding

Best Practices

  • Start generous, tighten later - Don't frustrate real users while blocking abuse
  • Different limits for different endpoints - Login pages need stricter limits than read endpoints
  • Return proper headers - X-RateLimit-Remaining helps clients behave
  • Use Redis in production - In-memory limits don't work across multiple servers

When to Use This

  • Launching an API and need basic protection
  • Getting hit by scrapers or brute force attempts
  • Implementing tiered pricing with usage limits
  • Adding rate limits to specific expensive operations

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended.

npx ai-rate-limit --help

How It Works

The tool parses your rate limit description to extract limits, windows, and key strategies. It generates appropriate middleware configuration and optionally the backing store setup for your chosen storage method.

License

MIT. Free forever. Use it however you want.

README.md

ai-rate-limit

Generate rate limiting configurations using AI.

Install

npm install -g ai-rate-limit

Usage

npx ai-rate-limit "100 requests per minute per IP"
npx ai-rate-limit "10 login attempts per hour, block for 30 min"

Setup

export OPENAI_API_KEY=sk-...

License

MIT

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. ```bash npx ai-rate-limit --help ```

FAQ

How do I install rate-limiter?

Run openclaw add @lxgicstudios/rate-limiter in your terminal. This installs rate-limiter into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/rate-limiter. Review commits and README documentation before installing.