antigravity-balance
由 finderstrategy-cyber 提供
DevOps & Cloud简介
Check Google Antigravity AI model quota/token balance.
描述
该技能的功能
Checks your Antigravity AI model quota and token balance by detecting the running local language server process and querying its internal API. Returns remaining quota percentage, reset time, user tier, and per-model limits. Supports both human-readable and JSON output.
Reads quota directly from the local language server without requiring a browser or external API credentials, making it faster than checking an account dashboard.
何时使用
- Checking how much Antigravity quota remains before starting a long coding session
- Automating quota monitoring in a script or dashboard
- Debugging rate limit errors during Antigravity usage
- Quickly seeing reset time before switching to a different model
- Parsing quota data as JSON for integration into other tools
示例工作流
User asks: how much Antigravity quota do I have left?
- 1
Detects the running language_server process for the current platform
- 2
Extracts the extension server port and CSRF token from the process arguments
- 3
Scans nearby ports to locate the HTTPS API endpoint
- 4
Queries the local GetUserStatus API endpoint
- 5
Displays remaining quota percentage, visual progress bar, and reset countdown
User: alice@example.com (Pro tier) — Claude Sonnet 4.5: 80% remaining, resets in 4h 32m
前置要求
- Antigravity or Windsurf application must be installed and running
安装
clawhub install finderstrategy-cyber/antigravity-balance运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。