Skip to main content

Command menu

Jump to a page or search the catalog

AI Tools & Scripts

Why Claude Code Limits Run Out: Usage Forensics

Find out from your own transcripts why the Claude Code 5-hour or weekly limit runs out: heavy days and sessions, subagent share, context size, the tool outputs that bloat it, looping hooks. Then a ranked list of fixes.

$7.00

What you get: 1 file · 4.97 KB · ZIP

See purchase options

Product description

Hit the 5-hour limit before lunch and do not know why? This skill answers from your own session transcripts instead of guesses.

What is inside - SKILL.md: a seven-step audit. Heavy days and limit messages first, then the sessions inside the burned window (main thread or subagent, model, largest context), then what filled the context in those sessions, looping Stop hooks, and an honest count of subagent runs. It ends with a report format: the main cause in one line, the numbers, then what to change and what it should save. - scripts/token_ledger.py: a read-only, standard-library script. It deduplicates API calls, weights tokens by price ratios (cache reads, cache writes, input, output) and prints per-day weight, subagent share and median context, the top sessions in a time window, context-size buckets for one day, the times of limit messages, and the tool results and attachments that filled one session. It writes nothing and makes no network calls. - A list of the patterns that usually turn up: long sessions re-reading a huge context, browser tools echoing large code into the chat, screenshots, a hook that blocks the same turn again and again, subagents silently running on the most expensive model, and usage from other devices on the same account.

Who it is for: heavy Claude Code users on a subscription plan who keep running into the limit.

Needs: Claude Code transcripts on disk and Python 3. Weights are relative (they rank days and sessions), not the plan's own meter.

Example request

I hit my 5-hour limit again at 14:00. Find out what used it and tell me what to change.

Example result

Example on a fictional setup.

token_ledger.py days 7: today 1,240 calls, weight 41.8, subagents 9%, median context 255k (other days 120-160k). token_ledger.py limits 7: limit message today at 14:02; window started about 09:00. token_ledger.py top 2026-01-15T09:00: one session took 58% of the window (main thread, max context 410k), a second 21%. token_ledger.py ctx 01-15: 64% of today's weight came from calls above 200k context. token_ledger.py tools 3f2a: browser automation results 380k characters (the tool echoes the code it ran, one call carried an embedded file), screenshots 14 images, shell output 95k. Stop-hook blocks today: 0. Subagent runs from meta files: 3, all on the cheaper model.

Main cause: one long session at 250-410k context; each step re-read it. Not subagents, not long answers. Changes, largest first: start a fresh session around 200k with a short state note (estimate: about a third less weight on days like today); write browser results and screenshots to files and print one line; keep subagents on the cheaper model for reading work. An output-compression plugin would save only a few percent here, since output is a small share.

Requirements

  • Claude Code with session transcripts on disk (~/.claude/projects)
  • Python 3 (standard library only)

How to install

Unzip into your Claude Code skills folder (~/.claude/skills/ or .claude/skills/ in a project) and start a new session; the skill loads by its description.

What you get

1 file · 4.97 KB

  • plan-usage-forensics.zipZIP · 4.97 KB
LicenseCommercial use allowed
PublishedDec 3, 2026
File size4.97 KB
File formatZIP
Versionv1.0

Tags

claude codeclaude skillai agentllm ops
C
Claude Workflow Lab

Frequently asked questions

Do I get access instantly?

Yes. This is a digital product - you can download it right after checkout, straight from your library.

Can I use it for commercial projects?

Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.

What's your refund policy?

You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.

What file formats and sizes will I get?

You'll download 1 file - ZIP - 4.97 KB in total.

Do I get free updates?

Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.

Price

$7.00