Claude Limits Reverse Engineering Skill — Development skill for Claude Code
Reverse-engineering Claude Max subscription usage limits from local JSONL ground truth.
How to install Claude Limits Reverse Engineering Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open buildoak/claude-limits-reverse-engineering-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Limits Reverse Engineering Skill does
Reverse-engineering Claude Max subscription usage limits from local JSONL ground truth.
Alternatives in Development
- Routing — Reverse Engineering Skill Routing Matrix 29.6k ★
- Generic Extract Skill — You are an Autonomous 3D Technical Artist Agent 14.1k ★
- Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
README
claude-limits-reverse-engineering-skill
Reverse-engineering Claude Code usage limits from local JSONL ground truth.
The problem
Claude Max at `$200/month` gives you throughput, then hides the meter. The dashboard shows percentages, throttling can arrive without warning, and Anthropic does not publish the formula that maps token activity to dashboard usage. That makes capacity planning guesswork when you are deciding whether to keep a long session alive, switch models, or stop before the wall.
The common community assumption has been simple: treat `cache_read = 0` and focus on input, output, and cache creation. That assumption is wrong. It misses the token class that dominates real Claude Code traffic, so it understates usage until the dashboard proves otherwise.
The discovery
Current best fit is Formula E. `CU = input * 1 + output * 5 + cache_creation * 1 + cache_read * 0.58`. Weekly limit is about `374,000,000 CU`. The active registry entry in `reference/models/registry.json` was fit on `11` calibration points with `0.57%` MAE and `1.14%` max error. Dashboard percentages are integers, which injects about `+/-0.5%` rounding noise into every calibration point.
The important result is not the formula shape. It is what the weights say about cache reads. They cost about `58%` of fresh input, which matches server-side KV cache memory bandwidth, not free reuse. Formula A, the earlier model with `cache_read = 0`, fit worse because it ignored the dominant token type. Across the current calibration set, that means ignoring roughly `70%` of all tokens.
Calibration point 11 makes the failure mode obvious. Token composition was `cache_read 70%`, `cache_creation 30%`, `output 0.4%`, `input 0.04%`. CU contribution after weighting was `cache_read * 0.58 = 56%`, `cache_creation = 41%`, `output * 5 = 2.7%`. The meter is mostly cache activity, not fresh prompt text.
Install
Clone the repo, enter the root, then install the package editable. The package target in `pypr
Related Skills
Cctally
Claude Code usage tracker and local dashboard for Pro/Max subscription limits - weekly cost-per-percent trend,
Agent Usage
A local desktop widget for Codex and Claude Code usage, subscription limits, and resets. Linux and Windows.
Dario
A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline,
Swisscode
Run Claude Code with multiple Claude Pro/Max accounts: usage limits, one-command switching, a localhost proxy
Quotlyn
Usage limits of your Claude Pro and Max subscriptions, side by side, on your own machine. Rings, history, fore
Claudetuner
Know when you'll hit your Claude, ChatGPT & Gemini usage limits — live 5h/weekly gauges, reset forecasts, and
Related Agents
Eval Engineer
GAIA evaluation framework specialist. Use PROACTIVELY for writing eval tests, generating ground truth, running
Label Scientist
WS2 specialist for label quality and validation in genai_incidents. Use for WS2-T1 through WS2-T5 - the MITRE
Sync Secretary
Grounded secretary for Sync. Use for source-cited questions about Claude and Codex council orchestration: task