Limit Autopsy offline · connect-src 'none'
Free · open source · local only

Your Claude Code limit, explained.

Three small tools that read the logs Claude Code already writes on your machine. Find out where a usage window went, what compaction forgot, and when your cache is about to go cold. Nothing is uploaded.

01 · Diagnose

Limit Autopsy

Drop your ~/.claude/projects folder once. Get where your usage went, every chat graded A to F, your top 3 habits to change, and what long chats forgot, in plain words or techie terms.

Open
02 · Inspect

Compaction Receipt

For every compaction, see which of your instructions the summary kept, softened or dropped, and which summary rules have no source in your conversation. Get copy-paste guardrails.

Open
03 · Prevent

Cache Clock

A status line that counts down to your prompt cache going cold, shows what a cold resume will cost, and flips its advice the second it does.

Install

Built to be hard to discredit

Usage-limit threads are full of guesses. These tools only claim what your transcripts can prove, and label everything else.

0network requests. The page's CSP is connect-src 'none'; check DevTools.
1×per API response. Streamed rows, forks and replays are deduplicated before anything is counted.
90–96%match with Claude Code's own cost ledger on a real test history (one machine so far), depending on the window. The rest is billed calls the transcript never records, such as compaction summaries. Your receipt shows your own match.
100%of the weighted spend lands in exactly one of six buckets. No double counting.

What it can show

  • Exact token counters per type, model, main thread and subagent
  • Cache rewrites after idle gaps, with the evidence
  • Model and fast-mode switches that reset the cache
  • Compactions, including idle and cold ones
  • Your instructions lost or softened by a summary

What it will never claim

  • Your exact percentage of a Pro, Max or Team allowance. That formula is not public, and the meter is shared with claude.ai.
  • That an idle gap caused a miss. It shows the association and the evidence.
  • That subagent work was waste.
  • That a summary invented a rule. It flags rules with no textual source.

Questions

Is my data uploaded anywhere?

No. The pages are static HTML with a Content-Security-Policy of connect-src 'none', which stops the browser from sending any request. Parsing runs in a Web Worker in your tab. You can save the page and use it offline.

Where is my Claude Code log folder?

macOS and Linux: ~/.claude/projects. Windows: %USERPROFILE%\.claude\projects. If you set CLAUDE_CONFIG_DIR, it is under that folder. The folder is hidden: on macOS press ⌘⇧G in the picker and paste the path.

Why does it show dollars if I'm on a subscription?

Token types cost very different amounts. A cache read is a small fraction of a cache write. API list prices are the only public way to weight them against each other. They are labelled "API-equivalent" and are not your bill.

Is this made by Anthropic?

No. It is an independent open-source project that reads the files Claude Code writes locally.

Claude Code changed its log format. Will it break?

The parser treats every field as optional, tolerates unknown record types, and reports what it could not read instead of guessing. It has been validated on real Claude Code 2.1.275 to 2.1.330 transcripts. If your numbers look wrong, the "Can you trust these numbers?" panel shows what was skipped, and an issue with that panel's text helps fix it.