emrehangorgec

Tokenbill โ€” Development skill for Claude Code

Development community

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.

![tokenbill share card](assets/card.png)

![tokenbill demo](assets/demo.svg)

$ 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