| ▲ | Show HN: Claude Token Analyzer: a token "screen-time" report | |
| 3 points by danmeier 8 hours ago | 1 comments | ||
Everyone is talking about token spend, but not what we actually spend tokens on. I’ve always found it interesting to track my time across different tasks to challenge whether I was working on the right things. Nowadays, I spend around 95% of my day in the Claude desktop app, so “where did my time/tokens go?” basically means “what did I do in Claude?”* Turns out it’s all already on your disk. Every Claude Code / Cowork session is a JSONL transcript with per-message usage blocks: input, output, cache creation, cache read, and timestamps. Run it from the terminal:
Run the snipped to get an overview of what you did and when based on your Cowork and Claude Code history. Example output:Claude Token Analyzer · 2026-06-15 · 5 threads
*ccusage doesn’t see my Claude Code sessions because they’re stored in ~/Library/Application Support/Claude/local-agent-mode-sessions/. | ||
| ▲ | 8 hours ago | parent [-] | |
| [deleted] | ||