Claude Token Analyzer: a token "screen-time" report
Single gist script parsing local JSONL when no official Claude analytics exist.
See what Claude Code is really doing to your context — per-session & per-skill token/cost/time analysis and a Textual TUI over local transcripts. Find the prompt or skill quietly slowing you down. Python.
Reads existing transcripts with zero instrumentation — the bloat ratio metric exposes hidden token waste.
Claude Code users, AI agent developers
LangSmith · Helicone · Braintrust
The idea is basically a tui that allows you to select a project or session from claude, and then drill into it. Looking for token consumption, errors, or slowdowns. An easy way to get down to the nitty gritty of what happened at a specific time/turn.
I found it useful, so I thought I would share.
Single gist script parsing local JSONL when no official Claude analytics exist.
Reads ~/.claude/ JSONL directly instead of terminal scraping, works with Kitty and iTerm2.
Parses transcript JSONL to show true 1M context % when claudeline caps out.
Shares AI reasoning traces on PRs when reviewers only see diffs.
Claude Code quota in your statusline, but only matters if you hit Max limits.
Searchable replay of AI agent sessions when Claude Code leaves transcripts on disk.