Antigravity Context & Cache Monitor
Live session context window breakdown, prompt cache hit rates & 5-minute TTLs, and turn history for Google Antigravity inside VS Code — using 0 extra LLM tokens and zero npm dependencies.

Features
- Activity Bar / Secondary Side Bar View — Click the Context Monitor icon in the Activity Bar (or drag the view into your right Secondary Side Bar next to Antigravity).
- Status Bar Indicator — Shows live usage (
24% · 235.6K/1M) in the bottom status bar; click to jump directly to the monitor.
- Auto Session Tracking & Switcher — Automatically follows the most recently active Antigravity conversation, or use the Select Antigravity Session (
$(list-selection)) toolbar button to pin any conversation.
- Windows, macOS, Linux and WSL — Reads sessions from
~/.gemini (%USERPROFILE%\.gemini on Windows). When the extension runs inside WSL, it also finds the sessions Antigravity writes on the Windows side.
- Full Feature Parity — Includes Overview / History tabs, 10-category breakdown,
Compact alert threshold, per-model Cache TTLs, and separate per-model Turn history curves.
Install
VS Code: open the Extensions view and search for Antigravity Context & Cache Monitor, or install from the Marketplace:
code --install-extension souhhcong.antigravity-context-monitor
Antigravity IDE / VSCodium / Cursor / other Open VSX editors: search for the same name in the Extensions view, or install from Open VSX:
antigravity-ide --install-extension souhhcong.antigravity-context-monitor
Offline: each .vsix is also attached to the matching GitHub release; install it with code --install-extension <file>.vsix.
Install Locally from Source
node vscode-extension/scripts/package-vsix.mjs
code --install-extension vscode-extension/antigravity-context-monitor-*.vsix --force
Releasing
Pushing to main runs .github/workflows/publish-extension.yml. It publishes the version in vscode-extension/package.json to each registry that doesn't have it yet (Open VSX, then the VS Code Marketplace) and attaches the .vsix to the matching v<version> GitHub release, creating that release if needed. Pushes that don't change the version skip publishing.
Repository secrets:
OVSX_PAT: Open VSX access token (required).
VSCE_PAT: Azure DevOps token with the Marketplace → Manage scope. Optional; without it the Marketplace step is skipped with a warning.