rate-limit-guard

rate-limit-guard is a plugin for Claude Code from melodic-software/claude-code-plugins. Its token cost is not measured, scanned A, original, MIT.

A shared guard for coding-agent loops that records subscription rate-limit windows and rate-limit-related stops in a machine-wide status file.

In plain words
What is it for?
Use it in automated loop workflows that need to detect rate-limit stops, save the latest limit window, and coordinate pauses and resumes.
Why use it?
It gives sessions a consistent record of when usage limits pause work and how consuming sessions should pause and resume.

Plugin for Claude Code

Written for Claude Code: a Claude Code plugin manifest.

Good fit Use it in automated loop workflows that need to detect rate-limit stops, save the latest limit window, and coordinate pauses and resumes.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
/plugin install rate-limit-guard
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.

Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

Made for: Claude Code.

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 rate-limit-guard

README.md
[![agentmods](https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/rate-limit-guard/github.svg)](https://agentmods.dev/plugins/melodic-software/claude-code-plugins/rate-limit-guard)
Your own site
<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/rate-limit-guard"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/rate-limit-guard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rate-limit-guard

Your own site · 80×15
<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/rate-limit-guard"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/rate-limit-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
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.
Security

Grade A, and why

rate-limit-guard 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 1mo 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.

plugins/rate-limit-guard/.claude-plugin/plugin.json · 28 lines

What it actually says

{
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
  "name": "rate-limit-guard",
  "version": "0.8.12",
  "description": "Shared rate-limit guard for loop lanes: a statusline wrapper tees the subscription rate-limit windows to a fixed machine-scope file, a StopFailure hook records rate-limit stops reactively, and a reader contract fixes how consuming sessions pause and resume.",
  "author": {
    "name": "Melodic Software",
    "email": "[email protected]"
  },
  "license": "MIT",
  "keywords": [
    "rate-limit",
    "statusline",
    "tee",
    "loop-lane",
    "stopfailure",
    "hook"
  ],
  "userConfig": {
    "rate_limit_guard_enabled": {
      "type": "boolean",
      "title": "rate-limit-guard hook kill switch",
      "description": "Master switch for the StopFailure detection hook and the statusline tee's snapshot write; read from managed settings first, then user settings",
      "default": true
    }
  }
}
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. 1mo ago Changed e21a0684a180
  2. 1mo ago Changed fd494c53a097
  3. 1mo ago Changed c8e31ecab73e
  4. 1mo ago Changed 3ac6b664c0be
  5. 1mo ago Changed 4a5e99d0afe2
  6. 1mo ago Changed fd66d214494f
  7. 1mo ago First seen · 28 lines scan A 994e9473408a

Subscribe to this mod's changes

rate-limit-guard is a plugin published in the GitHub repository melodic-software/claude-code-plugins (25 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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.