Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Antigravity Quota LensNew to Visual Studio Code? Get it now.
Antigravity Quota Lens

Antigravity Quota Lens

nouri

|
18 installs
| (0) | Free
Antigravity quotas, Codex subscription limits and local Claude Code usage in your status bar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Antigravity Quota Lens

Version 1.4.0 preserves the Codex subscription indicator from the public 1.3.1 release and adds a separate Claude Code account usage indicator alongside Antigravity Gemini quotas.

Connect Claude Code

  1. Install the VSIX in Antigravity using Extensions: Install from VSIX, then reload the window.
  2. Run Antigravity Quota: Connect Claude Code Usage from the command palette.
  3. Send a message in Claude Code. The Claude Code status bar updates within ten seconds.

Node.js must be available on the PATH used by Claude Code. The connection command installs two JavaScript files under your Claude configuration directory, backs up existing settings.json, and adds a statusLine command. It preserves other settings and refuses to replace an existing status line. Run the command again to update the bridge after upgrading Quota Lens; remove its existing statusLine entry first.

If you already use a custom status line, keep it and compose the bridge manually: pass the same stdin JSON to both commands, and suppress the bridge stdout if you want to retain your existing terminal display. Do not pipe the formatted output of your existing command into the bridge.

Manual statusLine configuration: set type to command and command to node followed by the quoted absolute path to claude-statusline.js in this extension folder. Keep claude-usage.js alongside it. Back up your Claude settings before editing. The command-palette setup installs a stable copy so its path survives extension upgrades.

What Claude usage means

  • Five-hour, weekly and spend-limit percentages show used, only when Claude Code supplies those fields. Hover to see reset times and the last update.
  • Enterprise availability depends on the plan and gateway. Some accounts expose no rate-limit fields. Quota Lens then shows an estimated current-session cost when supplied, or Limits unavailable.
  • Session cost is an estimate at list prices, not your Enterprise bill, monthly account spend, or remaining quota. Token counters are not converted into quota percentages.
  • Data older than five minutes is marked stale; expired windows are omitted. Updates follow Claude Code activity, not independent live account polling.
  • With multiple sessions/accounts, the most recent bridge update wins. This is not an organization-wide usage report or an account selector.
  • Claude model allowances supplied by Antigravity remain separate from your Claude Code account usage.

The bridge reads the documented Claude Code status-line stdin locally, writes only a numeric metrics whitelist to quota-lens-usage.json in the Claude configuration directory, and makes no network requests. No account credentials, conversation content, identifiers or project paths are retained. CLAUDE_CONFIG_DIR is respected; the extension and Claude Code must use the same configuration directory and machine. Remote/WSL sessions require the extension to run where that file is written.

Disable the indicator with antigravityQuota.claudeCode.enabled. To disconnect, remove the statusLine entry added by Quota Lens (or restore the settings backup) and delete the quota-lens directory and quota-lens-usage.json from the Claude configuration directory.

Reference: https://code.claude.com/docs/en/statusline

Antigravity settings

Setting Default Purpose
antigravityQuota.displayFormat both both, compactBoth, 5hOnly, weeklyOnly
antigravityQuota.pollingInterval 30 Antigravity refresh interval in seconds
antigravityQuota.showCredits false Include prompt credits
antigravityQuota.statusBarPriority 100 Status bar position
antigravityQuota.claudeCode.enabled true Show the separate Claude Code indicator

Antigravity discovery queries its local language server. The Claude Code indicator works independently even if that server is unavailable.

Development

Run node --test --test-isolation=none test/*.test.js. Tests use synthetic data and temporary directories only.

Codex subscription usage

The existing Codex indicator reads numeric subscription limits through the official Codex app-server using your existing sign-in. It does not display account details. Configure antigravityQuota.codex.enabled, antigravityQuota.codex.home and antigravityQuota.codex.binaryPath as in version 1.3.1. API billing is separate from subscription limits.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft