Tokens Gone — Development skill for Claude Code
Local dashboard for Claude Code token usage and costs.
How to install Tokens Gone
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open contember/tokens-gone and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Tokens Gone does
Local dashboard for Claude Code token usage and costs. Reads ~/.claude/projects/**/*.jsonl, aggregates spend, slices interactively.
Alternatives in Development
- Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
- Claude Usage — A local dashboard for tracking your Claude Code token usage, costs, and session history 864 ★
- Mcptoon — Listing 255 MCP tools costs 71,929 tokens 195 ★
README
tokens-gone
Local web dashboard for AI coding agent token usage and cost. Reads Claude Code, Codex, OpenCode V1 and V2, Pi, and Oh My Pi session logs, aggregates tokens and cost, and lets you slice the data interactively.
Run
npx tokens-gone
That's it — it builds nothing on your machine, starts a local HTTP server, and opens your browser at the dashboard. Subsequent runs reuse the on-disk parse caches (`~/.cache/tokens-gone/*.json`), so warm scans are sub-second even with thousands of session files.
Flags
-p, --port Port to listen on (default 27821, or $PORT)
--no-open Don't open the browser
-h, --help Show help
-v, --version Print version
Environment
CLAUDE_CONFIG_DIR— override the Claude data dir (default~/.claude).CODEX_HOME— override the Codex data dir (default~/.codex).XDG_DATA_HOME— where OpenCode keepsopencode/opencode.db(default~/.local/share) and where Oh My Pi may keep XDG-migrated sessions. Reading OpenCode needs Node 22.5+ fornode:sqlite; on older Node versions the other providers still work and OpenCode is skipped.PI_CODING_AGENT_DIR— override the Pi agent dir (default~/.pi/agent).PI_CODING_AGENT_SESSION_DIR— override the Pi sessions dir directly.OMP_CODING_AGENT_DIR— override the Oh My Pi agent dir (default~/.omp/agent).OMP_CODING_AGENT_SESSION_DIR— override the Oh My Pi sessions dir directly.OMP_PROFILE— select an Oh My Pi profile.PORT— same as--port.
Why
`ccusage` works but is slow (tens of seconds on real data) and refetches LiteLLM pricing every run. tokens-gone is the same idea but:
- Cold scan: ~8s for 1.7GB of JSONL (5000+ files); warm: ~700ms.
- Hardcoded Anthropic and OpenAI pricing — no network requests, ever.
- Browser UI with click-to-filter on charts, models, projects, sessions.
How it works
server/providers/*walk provider-specific JSONL directories, parse logs streamingly, a
Related Skills
Tokens
Show the Monomind token usage dashboard — reports spend and call counts for today, week, 30days, or month
Claude Code Token Meter
Local-first dashboard for Claude Code token usage. Parses ~/.claude/projects/.jsonl and serves an interactive
Claude Usage
Local dashboard for visualizing Claude Code token usage and estimated API costs
Claude Skills Dashboard
A local dashboard for your Claude Code skills and plugins: enable/disable, install, delete, token costs and us
Claude Code Token Dashboard
Self-hosted dashboard for Claude Code token usage and API-equivalent cost. Reads your local transcripts, runs
Claude Code Token Usage
Where your Claude Code tokens and dollars go — per project, then inside a single session. Local-only, stdlib P
Related Agents
Stats Analyzer
Analyzes ~/.claude/stats-cache.json and history.jsonl to produce a concise usage report with model token break
Cost Forecaster
Forecasts GDD spend over the next N design cycles. Reads .design/telemetry/costs.jsonl (grouping est_cost_usd
Cost Governor
Track aggregate token spend and API costs across all agent operations. Enforce budget constraints, detect cost