designing-api-rate-limits

designing-api-rate-limits is a skill for Claude Code from Nolane-x/forge-os. It costs 42 tokens per session (1,566 once invoked), scanned A, original, MIT.

A design guide for API rate limits, which control how many requests a client can make in a period of time.

In plain words
What is it for?
Use it to define normal limits, retries, failures, permissions, and other request-volume rules.
Why use it?
It helps protect an API from overload and makes its behavior during excessive or repeated requests explicit.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the forgeos plugin — 196 skills, 1 command, 1 agent, 1 MCP server shipped together

Good fit Use it to define normal limits, retries, failures, permissions, and other request-volume rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nolane-x/forge-os/designing-api-rate-limits
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Nolane-x/forge-os --skill designing-api-rate-limits
Clone the repo
git clone --depth 1 https://github.com/Nolane-x/forge-os

Made for: Claude Code.

Or install forgeos, the plugin that ships this one along with the rest of its 196 skills, 1 command, 1 agent, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for designing-api-rate-limits

README.md
[![agentmods](https://agentmods.dev/badge/skills/nolane-x/forge-os/designing-api-rate-limits.svg)](https://agentmods.dev/skills/nolane-x/forge-os/designing-api-rate-limits)
Your own site
<a href="https://agentmods.dev/skills/nolane-x/forge-os/designing-api-rate-limits"><img src="https://agentmods.dev/badge/skills/nolane-x/forge-os/designing-api-rate-limits.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.01566
Opus 5 $0.00021 $0.00783
Sonnet 5 $0.00008 $0.00313
Haiku 4.5 $0.00004 $0.00157

Measured 4d ago against content hash 7548b9281b5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

designing-api-rate-limits scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/domains/api-products/designing-api-rate-limits/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Designing Api Rate Limits

Overview

This skill owns one bounded responsibility: designing api rate limits. Its focus is designing api rate limits within api-products product boundaries. It converts declared inputs into typed artifacts and reproducible evidence without silently changing product scope.

Trigger

Activate only when the project is in one of these stages: product-definition, ux-design, architecture, planning, implementation, verification, release-readiness, all contract preconditions pass, and the router identifies a missing output this skill can produce. Do not activate merely because the skill name resembles the user request.

Required Inputs

  • product-definition
  • Optional: architecture-decision
  • Optional: verified-build
  • Current gate result, open findings, artifact hashes, and invalidation state
  • Required tools: none
  • Optional tools: none
  • Confirmed human decisions relevant to this scope

Method-Specific Protocol

  1. Define the exact decision, actors, objects, states, invariants, side effects, and non-goals owned by designing api rate limits.
  2. Build a decision table for normal, boundary, invalid, permission, failure, retry, recovery, concurrency, migration, and abuse conditions relevant to designing api rate limits.
  3. Apply designing api rate limits only to direct input artifacts; record assumptions, rejected alternatives, and any human decision still required.
  4. Trace the resulting contract to user value, security, reliability, cost, operability, and downstream consumers.
  5. Create reproducible checks that would fail if designing api rate limits were incomplete or implemented incorrectly.

Procedure

  1. Read the confirmed product definition, domain context, assurance profile, and active findings.
  2. Identify the domain objects, actors, state transitions, regulations, provider boundaries, and operational constraints owned by this skill.
  3. Define the exact decision, actors, objects, states, invariants, side effects, and non-goals owned by designing api rate limits.
  4. Build a decision table for normal, boundary, invalid, permission, failure, retry, recovery, concurrency, migration, and abuse conditions relevant to designing api rate limits.
  5. Apply designing api rate limits only to direct input artifacts; record assumptions, rejected alternatives, and any human decision still required.
  6. Trace the resulting contract to user value, security, reliability, cost, operability, and downstream consumers.
  7. Create reproducible checks that would fail if designing api rate limits were incomplete or implemented incorrectly.
  8. Model normal, boundary, failure, recovery, permission, concurrency, migration, and abuse behavior before implementation.
  9. Define stable contracts and explicit non-goals; do not leak domain concerns into unrelated modules.
  10. Create executable acceptance, negative, resilience, and compatibility checks proportional to risk.
  11. Publish the domain artifact, evidence packet, unresolved assumptions, and downstream invalidations.

Read the full file on GitHub · 136 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 136 lines · 42 tokens per session scan A 7548b9281b5c

Subscribe to this mod's changes

designing-api-rate-limits is a skill published in the GitHub repository Nolane-x/forge-os (10 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 1,566 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.