Open-Source Plugin Prevents Google Antigravity CLI Quota Crashes Mid-Session

Developers using Google Antigravity CLI with Google OAuth authentication frequently face abrupt task failures when API quota reaches zero, with no clean way to resume sessions after switching accounts. A new open-source plugin called antigravity-cli-check-usage-plugin addresses this by running quota checks outside the LLM execution cycle, consuming zero tokens in the process. The plugin queries local Connect RPC endpoints directly and injects warning banners when quota falls below configured thresholds, giving developers advance notice before a crash occurs. Traditional approaches to monitoring quota via LLM tool calls are self-defeating because they consume the very tokens being tracked. The plugin is freely available on GitHub and supports one-command installation across developer environments.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in