Claude Ration — Development skill for Claude Code
Automatically stops Claude Code when it hits your custom usage threshold.
How to install Claude Ration
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Melonisjy/claude-ration and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Ration does
Automatically stops Claude Code when it hits your custom usage threshold.
Alternatives in Development
- HERO Anti OverDefense — HERO = Hashing · Edge cases · Rubrics · Overbuild — the four shapes coding agents over-defend in 333 ★
- Usage Limit Reducer — A Claude Code skill that stops you from burning through your usage limit 186 ★
- Wife — Local, persistent and auditable memory layer for Claude Code, Codex, Cursor & Gemini CLI 55 ★
README
claude-ration
Never let Claude Code hit a rate limit mid-task again.
Automatically wrap up and safely pause your Claude Code sessions when usage reaches your custom threshold.
Why `claude-ration`?
Long Claude Code sessions are great — until you hit the 5-hour or weekly rate limit in the middle of a refactor and get cut off with a half-edited file.
`claude-ration` is a usage governor built on Claude Code hooks:
- Stops before the wall: once usage crosses your
stopthreshold, new prompts and tool calls are blocked. - Graceful mode: the first tool call over the limit is still allowed so Claude can finish its current step; the next one is blocked.
- Keeps a reserve: stop at
70%and the remaining quota stays available for urgent fixes (useoverridewhen you need it). - Live status line: shows 5-hour and weekly usage with color-coded bars.
daily 42% ████░░░░░░ /70% weekly 18% ██░░░░░░░░ /80% reset 2h 13m
Quick Start
npm install -g claude-ration
claude-ration install
Then restart Claude Code. That's it.
A global install is required: the hooks call the `claude-ration` binary directly so they stay fast (no npm lookup on every tool call). `npx claude-ration install` is refused for that reason.
`install` adds to `~
Related Skills
Ctx Handoff Mod
Claude Code mod: auto handoff to a fresh conversation when context hits a threshold, keeps the prompt cache wa
Coverage Loop
Run the measure → triage → write → verify loop until addressable coverage hits a threshold or the loop stalls.
Claude Code Account Switcher Auto Switch On Limit
Claude Code multi-account switcher & manager for VS Code: add multiple Claude accounts (Pro, Max, Team), switc
Orca Grazr
Grazr for Orca: rotate Claude Code accounts before the usage limit hits, on every host (Orca plugin, grazr eng
Cc Account
Switch Claude Code accounts in one command and keep working when one hits its usage limit. Zero dependencies.
LegCli
Local kanban board that hands a coding agent's unfinished work to the next agent CLI when the first one hits i
Related Agents
Nay
Agentistics intelligence agent. Use Nay when you need to query Claude Code usage metrics, analyze costs and pa
React Hooks Docs Writer
Use this agent when you need to create or improve technical documentation for custom React hooks. Examples inc
Prompts Guide
Interactive guide for using prompt-factory skill to generate mega-prompts. Helps choose from 69 presets or cre