A VS Code extension to visualize token savings and command stats from the rtk CLI — with full context of your total AI token consumption across all supported CLI tools.
Features
Sidebar Dashboard: Interactive charts showing daily token savings trends and a full token breakdown donut.
Summary Panel: At-a-glance stats including RTK commands, CLI tool calls, tokens saved, RTK efficiency, time saved, true savings percentage, and per-CLI totals.
True Savings %: Compares RTK savings against your combined CLI token usage for an honest picture of the impact: saved / (CLI total + RTK input).
Real-time Refresh: Update stats manually using the refresh button in the sidebar.
Supported AI CLIs
Token usage is automatically read from local session data for the following tools:
CLI
Data source
GitHub Copilot
~/.copilot/session-state/*/events.jsonl
Gemini CLI
~/.gemini/tmp/*/chats/session-*.json
Claude Code
~/.claude/projects/**/*.jsonl
Only days where RTK has data are counted, ensuring an apples-to-apples comparison.
Requirements
rtk CLI must be installed and available in your PATH.
At least one of the supported AI CLIs above must have local session data for CLI token metrics to appear.