ISSUE 001·LIVE·06:32 IL
← The Lab/006 · CLI·Shipped 2026-05

Context Budget

Claude Code context-window budget calculator — know your token cost before you load files.

context-budget is a Python CLI that helps Claude Code users understand token consumption before loading files into a session. It scans a workspace and reveals which files are most expensive, helping you avoid hitting the ~200K token context wall and triggering early compaction. Token counting is powered by tiktoken.

Build log

Get an email when I ship a new prototype or essay. No funnel — just the work.