Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Automatically pauses Claude Code when usage exceeds 90% to avoid hitting rate limits
npx claudepluginhub willyt3hwhale/cc-limit-guard --plugin rate-limit-guardA Claude Code plugin that monitors your usage and automatically pauses when approaching rate limits.
| Limit | Threshold | Reset Period |
|---|---|---|
| Session | 90% | Every 5 hours |
| Weekly | 95% | Every 7 days |
In Claude Code, run:
/plugin marketplace add willyt3hwhale/cc-limit-guard
/plugin add rate-limit-guard@cc-limit-guard
git clone https://github.com/willyt3hwhale/cc-limit-guard ~/.claude/plugins/local/cc-limit-guard
Then add an alias to your shell config:
alias claude='claude --plugin-dir ~/.claude/plugins/local/cc-limit-guard'
No manual configuration needed. The plugin automatically finds your credentials in this order:
ANTHROPIC_API_KEY environment variable~/.claude/.credentials.json (written by Claude Code on login)Claude Code-credentials)Just install the plugin and it works.
The plugin runs automatically. You'll see usage info as a system message:
Session: 29% | Weekly: 12%
When either threshold is exceeded, the plugin will:
To temporarily bypass the rate limit guard:
CLAUDE_NO_LIMIT=1 claude
jq installed (brew install jq / apt install jq)The plugin uses a PreToolUse hook that runs before each tool call. It:
api.anthropic.com and reads rate limit headers backMIT
Matches all tools
Hooks run on every tool call, not just specific ones
Share bugs, ideas, or general feedback.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Live API usage in Claude Code statusline - colored progress bars, Git info, tokens, session metrics, device tracking, and more
Claude Code statusline and quota tracker. Single Bash + jq file, no Node.js, no npm, with pace-aware rate limit tracking.
Unified status line for Claude Code with multi-CLI (Claude, Codex, Gemini, z.ai) usage monitoring, context, rate limits, and cost tracking
Lightweight Claude Code status-line monitor with switchable styles, themes, and slash commands. v3.13.3–v3.13.5 fix the 5h/7d bars sticking at a stale high % after Anthropic re-baselines usage mid-window (e.g. weekly limit raised): the cross-session merge now accepts an official downward revision once the old reading goes unconfirmed for 120s, idle windows replaying hours-old rate_limits blobs (expired 5h reset) can no longer overwrite or re-confirm the shared reading, and the →NN% projection drops its old-denominator samples and relearns after a re-baseline instead of freezing for the rest of the window. v3.13.0 adds a ⚙ session-mode line — effort (low/medium/high/xhigh/max/ultracode/auto) · thinking · fast · output-style — with a distinct static colour gradient per effort tier. v3.12.0 adds an always-on end-of-window projection (→NN%, learned from your local work rhythm) + an at-risk `⚠eta` forecast after each reset timer, session lines on by default, and a faint on-bar version that shows a `↑` hint when a newer release is on PyPI. v3.10.0 adds an opt-in live-activity line (in-progress todo, active tool, completed-tool rollup), git ahead/behind + session duration/lines on the project line, running-subagent lines, an opt-in `bar_shimmer` starfield on the battery bars, and a self-hosted plugin marketplace — plus a reliability fix so auto-update actually runs in daemon mode (detached, non-blocking) and the cache countdown is now per-session-correct. v3.9.0 makes the `cache` countdown auto-detect the real prompt-cache TTL (5m vs 1h) from the transcript, fixing a ~55-minute early `cache COLD` for Claude subscription users (Claude Code requests the 1-hour TTL automatically). v3.7.0 defends against status-line hijacking: a new `cs --setup --project [PATH]` writes a project-level override so another tool stealing the global `~/.claude/settings.json` slot can't kick `cs` out of this project; when displacement is detected, the bar also surfaces a one-line warning. v3.6.0 makes daemon (fast) mode the default for `cs --setup` — under 1% CPU continuously instead of ~3% inline at refreshInterval=1; pass `--inline` to opt back. Requires the `cs` CLI from PyPI (`pip install claude-statusbar` or `uv tool install claude-statusbar`).
Modular statusline for Claude Code — peak hours, rate limits, rolling-window burn rate, cache reuse, plus a hook-injected narrator (rules + optional Haiku) that surfaces context-management advice above your prompt. Bilingual (English/Hebrew, locale auto-detect).
Developer tools for ClaudeTracker — hooks testing, diagnostics, and development utilities.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim