Claude Code Fuel GaugeClaude Code Fuel Gauge shows you how much context runway you have in your current session, even when you are running multiple sessions at a time. In Claude Code's VS Code extension, you don't see context usage until it warns you. Fuel Gauge puts a live percentage in your status bar, color-coded green → yellow → red, so you see it coming. Works in VS Code, Antigravity, and other VS Code forks.
Why Fuel Gauge
Why not just use
|
| Setting | Default | Description |
|---|---|---|
fuel-gauge.pollInterval |
15 | How often to check for updates (seconds) |
fuel-gauge.warningThreshold |
60 | % at which indicator turns yellow |
fuel-gauge.dangerThreshold |
80 | % at which indicator turns red |
fuel-gauge.systemOverhead |
18000 | Estimated system token overhead (invisible to statusline). Increase if Fuel Gauge underreports vs Claude's "Context low" warning |
Known issues
Accuracy depends on system overhead. Claude Code uses hidden tokens (system prompt, tool definitions, MCP configs, CLAUDE.md) that aren't reported in statusline data. Fuel Gauge compensates with a configurable systemOverhead setting (default 18,000 tokens). If your percentage consistently underreports compared to Claude's "Context low" warning, increase this value. In practice, the default overhead is quite accurate.
Status bar stops updating on macOS. Claude Code has an upstream bug (#32660) where the statusline command can silently stop firing on macOS. When this happens (sometimes after "/resume", but not always), Fuel Gauge shows a stale percentage or stays at 0%. Restarting the Claude Code session usually fixes it. No workaround exists at this time.
Workspace matching. The status bar shows context for the Claude Code session whose project directory matches the VS Code workspace folder. If you run Claude Code from a different directory than the one open in VS Code, Fuel Gauge won't pick it up. This is by design — the status bar belongs to the workspace.
Icon differences across editors. In VS Code, the status bar shows a Claude icon alongside a dashboard gauge. In forks like Antigravity that don't include newer codicons, only the gauge appears. Functionality is identical.
Privacy
No API calls, no telemetry, no runtime dependencies. Everything runs locally using Claude Code's own statusline data.
Not affiliated with Anthropic
This is a community tool. Not made by, endorsed by, or affiliated with Anthropic.
Version History
v0.5.0 — Renamed from BrainDrain CC to Claude Code Fuel Gauge. New dashboard gauge icon, new screenshots, improved Marketplace discoverability.
Previously released as BrainDrain CC (v0.1.0–v0.4.4).