token-charts

Everything behind Fifty-five billion tokens: the scripts that walk the Claude Code transcripts, the aggregated data they produce, and the Vega-Lite specs that turn it into the charts. Each spec reads its sibling .data.json, so it will render as-is in the Vega editor.

The scripts read and write in the working directory, and the intermediates are large, so run them somewhere else: copy the .py files to a scratch directory, run them in the order below, and copy the resulting .vl.json and .data.json back here.

Scripts

Specs and data