What is this?
Tokscale is a terminal tool that tracks how many tokens and how much money you burn across AI coding agents like Claude Code, Codex, Cursor, and Gemini CLI — with a dashboard and a global leaderboard on top.
Does it live in my terminal, or is it a separate dashboard?
Both: the core is a CLI and TUI you run in the terminal for daily summaries, stats, and filtering, and there is also a frontend with a 3D contributions graph and a Wrapped 2025 recap.
How do I get it running?
Run it with Bun: `bunx tokscale@latest`. There is also a from-source build path using Cargo plus Bun, and the repo ships Docker and Compose files.
Which coding agents does it actually track?
Dozens: Claude Code, OpenCode, Codex CLI, Gemini CLI, Cursor IDE, GitHub Copilot CLI, Amp, Droid, Hermes Agent, OpenClaw, and many more — it reads each tool's local session files, like ~/.claude/projects/ or ~/.codex/sessions/.
Does every agent just work, or do some need extra setup?
Most are read straight from disk, but a few need a sync or export first — Cursor IDE uses an API export with desktop auto-login or a cookie paste, and clients like Google Antigravity, Trae, and Warp cache data via dedicated sync commands.
Does it work on Windows and Linux, or just macOS?
All three — it is a cross-platform Rust CLI, and the README documents data paths for macOS, Linux, and Windows side by side.
Does my usage data leave my machine?
Not unless you publish it: counting happens locally against files your agents already wrote, and the only upload path is the submit command that puts your usage on the public leaderboard.
Why is it called Tokscale?
It is modeled on the Kardashev scale, which ranks civilizations by energy consumption — the author's premise is that tokens are the new energy, so Tokscale measures your climb from planetary developer to galactic code architect.
What do the visualizations actually show?
Daily summaries and per-platform stats in the terminal, plus a frontend with a 3D contributions-style graph of your activity and a Wrapped 2025 recap of your year in tokens.
What is the global leaderboard about?
Running `bunx tokscale@latest submit` publishes your usage under a public profile so you can compare your token burn against other developers; the project says trillions of tokens are already tracked.
What are similar projects?
casbin-gateway, brigade, codeburn, token-monitor, cost-xray, memex, 9router, nuwa-skill
Which topics is it in?
moltbot, clawdbot, cost-tracking, hermes, token-usage, codex-cli, github-copilot, gemini-cli, bun, gpt, openclaw, opencode