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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.