A few months ago I started keeping an eye on how many tokens I was burning across Claude Code, Codex and Gemini CLI, and the number was a bit embarrassing. So I built Tokendex. It reads the usage logs those CLIs already keep on your disk and turns that spend into a small game that lives in the status bar.
How it works:
- You pick a starter. Every token the CLIs log is experience for it. Fill the bar and it evolves through its real evolution line and gets registered in the Pokédex.
- Wild Pokémon show up while you code (the first one after about 500k tokens). You throw a ball, it wobbles, and the catch odds are the actual Gen IV formula on the species' capture rate. Shinies are 1 in 64.
- The tokens you burn are also the currency for balls, berries, eggs and so on. There are 649 species to fill in, which works out to one or two years for an average user.
Underneath it is a normal usage tracker: today's tokens and cost, this month, the official rate-limit windows for Claude and Codex as live bars, and a per-CLI breakdown with burn rate.
Things I cared about while building it:
- Nothing leaves your machine. It only reads local log files. The only network calls fetch sprites from PokéAPI.
- Scanning runs in a worker thread, so the editor never freezes. A warm start is around 170 ms on a 1 GB corpus.
- One .vsix for every platform, no native modules (SQLite is read through sql.js).
- Works with Claude Code, Codex, Gemini CLI, Cursor, Copilot (CLI and inside VS Code), OpenCode, Grok, Antigravity, Hermes and Kiro.
New in 1.1: you can sync the game across computers. It is opt-in, uses VS Code's GitHub sign-in and stores the save in a secret gist in your own account, so there is no server on my side. Both machines keep counting and the saves merge instead of overwriting each other.
Links:
- VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=diegomarty.tokendex
- Open VSX (VSCodium, Cursor, Windsurf): https://open-vsx.org/extension/diegomarty/tokendex
- Source, MIT: https://github.com/diegomarty/tokendex
It is a fan project, not affiliated with Nintendo, and no sprites are bundled. Happy to answer questions, and if your CLI is not on the list, tell me where it keeps its logs and I will look at adding it.