Tokenbill โ Development skill for Claude Code
Itemized cost breakdown for your Claude Code sessions.
How to install Tokenbill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open emrehangorgec/tokenbill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Tokenbill does
Itemized cost breakdown for your Claude Code sessions. Reads local logs, no network, no config
Alternatives in Development
- Quosparr โ ๐ฆ Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 โ
- Poirot โ 96 macOS app for browsing Claude Code sessions, viewing diffs, and re-running commands 104 โ
- Claude View โ 10 Claude sessions running 104 โ
README
tokenbill
**Where did my Claude Code context go?**
Every request Claude Code makes re-sends the whole conversation. `tokenbill` reads the session logs already on your disk and shows what that context was made of: the conversation itself, command output, files, replies, summaries. No network calls, no config, no account. Dollars are one flag away (`--cost`) for API users; subscribers get tokens and their real plan usage.


$ npx tokenbill --redact
tokenbill - tokenbill
5 sessions ยท 2026-10-10 โ 2026-10-28
TOKENS SENT AND WRITTEN 59.4 M tokens
Where it went
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Re-sending the conversation โโโโโโโโโโโโโโโโโโโโโโโโ 83% 49.1 M
Command & tool output โโโโโโโโโโโโโโโโโโโโโโโโ 16% 9.3 M
Files it read โโโโโโโโโโโโโโโโโโโโโโโโ 1% 411 K
Writing replies & code โโโโโโโโโโโโโโโโโโโโโโโโ 1% 320 K
Summarizing long chats โโโโโโโโโโโโโโโโโโโโโโโโ 0% 246 K
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
*(Real output from this repository's own sessions: 83% of the context was the conversation being sent again, request after request. File reads were 1%.)*
What the logs say
Before 1.0 tokenbill was going to become a per-turn waste detector. Measured on 22 real sessions (3,098 requests, 840 M tokens) first, the classic suspects barely showed up:
| Suspected waste | Measured |
|---|---|
| Large tool output kept in context | 1.1% of all context sent |
| Re-reading an unchanged file range | 1 of 141 reads |
| Re-running a failed command unchanged | 0 of 57 failures |
| The conversation re-sent with each request | 83% of all context sent |
Claude Code already trims big outputs and skips unchanged reads. What fills the context is session length: the average request carried
Related Skills
Recovery Toolkit
A native token counter that reads your local session logs โ no network, no npx, no Node โ plus three Claude Co
Actualis
What actually ran. Reads existing coding-agent logs and turns them into clear answers about exposure, activity
Claude Agent Ledger
Per-subagent cost attribution for Claude Code. Reads local JSONL session logs, computes shadow cost at margina
Cc Waste
Scans your local Claude Code session logs and generates a self-contained HTML report of token usage, cost, and
Agentfuse
AgentFuse โ a local-only cost circuit breaker for Claude Code. Hooks veto runaway tool calls when daily/sessio
Agentmeter
Explains coding-agent usage: reads the local session logs of Claude Code and Codex CLI and reports context siz
Related Agents
Docs Cache
Reads and writes the local rust-docs cache so repeated documentation lookups avoid the network. Dispatch befor
Cost And Infra Reviewer
Reviews hosting, database, edge and AI-provider setup for cost and resilience. Reads usage exports and config
01 Trafego Meta Analise Campanha
Especialista em diagnostico tecnico de campanhas Meta Ads (Facebook, Instagram, Audience Network, Messenger) โ