neplexlabs/commandkit

commandkit-ratelimit

Configure advanced abuse protection with @commandkit/ratelimit. Use for runtime defaults, command-level policy, directive usage, storage strategy, and user-facing cooldown behavior.

First seen Apr 5, 2026

Installation

$ npx skills add neplexlabs/commandkit --skill commandkit-ratelimit

Also in this package

Other skills from neplexlabs/commandkit · top by installs.

npx skills add neplexlabs/commandkit

Browse all from neplexlabs/commandkit

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 166
License LICENSE
Default branch main
Open issues 3
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.2.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,266 B
  • docs SUMMARY.md 209 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 31 installs

SKILL.md

CommandKit Ratelimit Plugin

Activation guidance

Use when protecting commands from abuse while keeping user UX predictable.

Required filesystem expectations

  • plugin registration in commandkit.config.ts
  • runtime config bootstrap in ratelimit.ts or ratelimit.js
  • optional per-command metadata in command files

Execution workflow

  1. Define runtime defaults with configureRatelimit.
  2. Register plugin in config.
  3. Apply command-level overrides or directive-based limits.
  4. Configure memory/redis/fallback storage based on deployment.
  5. Validate limited responses and retry timing.

Guardrails

  • Balance burst and sustained limits.
  • Avoid policy that blocks legitimate normal usage.

Reference index

Name Description
references/00-filesystem-structure.md Required ratelimit bootstrap/config file placement.
references/01-runtime-config.md Runtime defaults and initialization pattern.
references/02-plugin-setup.md Plugin wiring and startup ordering expectations.
references/03-command-metadata-ratelimit.md Command-level metadata policy examples.
references/04-use-ratelimit-directive.md Function directive usage and error handling.
references/05-storage-options.md Memory/Redis storage strategy and deployment fit.

Tool index

Name Description
tools/generate-ratelimit-config.mjs Prints a baseline configureRatelimit() runtime config template.