(Previously known as the "GitHub Copilot Token Tracker")
Track your GitHub Copilot token usage and AI Fluency across VS Code, Visual Studio, the GitHub Copilot app, and the command line. All data is read from local session logs β nothing leaves your machine unless you opt in to cloud sync, or ask an agent in the GitHub Copilot app about your stats (the numbers it reads are then sent to the model like any other tool result; see what the agent sees).
- VS Code + GitHub Copilot (Stable, Insiders, Exploration)
- VSCodium / Cursor
- GitHub Copilot CLI
- JetBrains IDEs + GitHub Copilot
- Continue
- OpenCode
- Crush
- Pi CLI (pi.dev)
- Claude Code (Anthropic)
- Gemini CLI (Google)
- Claude Desktop Cowork (Anthropic)
- Mistral Vibe
- Kiro IDE + Kiro CLI (AWS)
- Visual Studio + GitHub Copilot
Real-time token usage in the status bar, fluency score dashboard, usage analysis, cloud sync, and more. Works with all Chromium-based VS Code forks β VS Code, Windsurf, Cursor, VSCodium, Trae, Kiro, Void, and more.
ext install RobBos.ai-engineering-fluency
π¦ Install in other Chromium-based editors (Open VSX) #
codium --install-extension RobBos.ai-engineering-fluency
code --install-extension RobBos.ai-engineering-fluency
windsurf --install-extension RobBos.ai-engineering-fluency
cursor --install-extension RobBos.ai-engineering-fluency
trae --install-extension RobBos.ai-engineering-fluency
kiro --install-extension RobBos.ai-engineering-fluency
void --install-extension RobBos.ai-engineering-fluency
π Full VS Code extension documentation
Previously known as copilot-token-tracker (deprecated): β If you still have it installed, the extension will prompt you to migrate.
Token usage and fluency dashboards inside any JetBrains IDE (IntelliJ IDEA, Rider, PyCharm, WebStorm, GoLand, RubyMine, CLion, β¦). Built as a thin Kotlin/JCEF host that reuses the same webview bundles as the VS Code extension and the same bundled CLI as the Visual Studio extension.
π JetBrains plugin docs Β· Debugging guide
Token usage tracking inside Visual Studio 2022+, reading Copilot Chat session files directly.
π Full Visual Studio extension documentation
Run anywhere with Node.js β no editor required. Get usage stats, fluency scores, and environmental impact from the terminal.
npx @rajbos/ai-engineering-fluency stats
A side-panel canvas for the GitHub Copilot app with your token usage, cost, sessions, usage charts and fluency score β styled like the VS Code extension and powered by the CLI over your local session logs. Ships as the ai-fluency-canvas Copilot plugin; click both buttons in order (each opens a form you confirm in the app).
copilot plugin marketplace add rajbos/ai-engineering-fluency
copilot plugin install ai-fluency-canvas@ai-engineering-fluency
Then ask the agent to "open the AI Engineering Fluency canvas".
π Copilot app canvas documentation
Display today's and 30-day token usage directly in your terminal prompt, powered by the CLI npm package.
σ±€ 1.2K today Β· 45.3K 30d
npm install -g @rajbos/ai-engineering-fluency
Then add the segment to your oh-my-posh theme:
{
"type": "text",
"style": "diamond",
"leading_diamond": "\ue0b6",
"trailing_diamond": "\ue0b4",
"foreground": "#ffffff",
"background": "#005ca5",
"cache": { "duration": "5m", "strategy": "session" },
"template": " \uec1e {{ cmd \"ai-engineering-fluency\" \"segment\" }} "
}
π Full Oh-My-Posh segment setup & options
Show token usage in the GitHub Copilot CLI status bar via the experimental STATUS_LINE feature. Combines context tokens, session duration, line changes, and daily/30-day totals in one compact line.
main +2/-1 > ctx 123.5k/200.0k > ######.... > 00:12:34 > +42/-8 > 12.9M today Β· 1443.5M 30d
Configure %USERPROFILE%\.copilot\settings.json to point at the included scripts:
{
"statusLine": {
"type": "command",
"command": "C:\\Users\\YOURUSER\\.copilot\\statusline.cmd",
"padding": 1
},
"feature_flags": { "enabled": ["STATUS_LINE"] },
"experimental": true
}
π Full Copilot CLI statusline setup
Share usage data with your team without an Azure account. Run a lightweight API server on your own infrastructure β team members configure a single endpoint URL and upload automatically via their existing GitHub session.
- Zero Azure required β SQLite + Docker, runs anywhere
- Auth via GitHub β reuses the session already held by VS Code/Copilot, no API keys
- Optional org gating β restrict uploads to GitHub org members
- Web dashboard β see aggregated usage across your team
services:
sharing-server:
image: ghcr.io/rajbos/copilot-sharing-server:latest
ports:
- "3000:3000"
environment:
- GITHUB_CLIENT_ID=...
- GITHUB_CLIENT_SECRET=...
- SESSION_SECRET=${SESSION_SECRET:?Missing SESSION_SECRET}
- BASE_URL=https://copilot.example.com
volumes:
- sharing_data:/data
volumes:
sharing_data:
// VS Code settings β the only thing team members configure
{
"aiEngineeringFluency.backend.sharingServer.enabled": true,
"aiEngineeringFluency.backend.sharingServer.endpointUrl": "https://copilot.example.com"
}
π Setup & configuration guide Β· Server developer docs
Interested in contributing? Check out our Contributing Guide for:
- π³ DevContainer Setup β Isolated development environment
- π§ Build & Debug Instructions β How to run and test locally
- π Code Guidelines β Project structure and development principles
- π Release Process β CI/CD pipelines and automated releases
We welcome contributions of all kinds β bug fixes, new features, documentation improvements, and more!