ClawSkills logoClawSkills

Antigravity Quota

检查 Antigravity 账户的 Claude 和 Gemini 模型配额。显示剩余配额和重置时间,并具有封禁检测功能。

介绍

# Antigravity Quota Skill

检查 Clawdbot 中配置的所有 Antigravity 帐户的配额状态。

## 前置条件

- 已配置 Antigravity 帐户的 Clawdbot - 运行 `clawdbot configure` 来添加 Antigravity 帐户

## 配额信息

- **Claude (Opus/Sonnet)** — 共享 5 小时配额池 - **Gemini Pro** — 独立 5 小时配额 - **Gemini Flash** — 独立 5 小时配额

每个模型类型每 5 小时按帐户独立重置。

## 用法

### 文本输出(默认) ```bash node check-quota.js ```

### Markdown 表格(用于 tablesnap) ```bash node check-quota.js --table node check-quota.js --table | tablesnap --theme light -o /tmp/quota.png ```

### JSON 输出 ```bash node check-quota.js --json ```

### 自定义时区 ```bash node check-quota.js --tz America/New_York TZ=Europe/London node check-quota.js ```

## 输出

### 文本模式 ``` 📊 Antigravity Quota Check - 2026-01-08T07:08:29.268Z ⏰ Each model type resets every 5 hours 🌍 Times shown in: Asia/Kolkata

Found 9 account(s)

🔍 [email protected] (project-abc123) claude-opus-4-5-thinking: 65.3% (resets 1:48 PM) gemini-3-flash: 95.0% (resets 11:41 AM) ```

### 表格模式 (`--table`) 按 Claude 剩余配额排序,并带有表情符号指示器: - 🟢 剩余 80%+ - 🟡 剩余 50-79% - 🟠 剩余 20-49% - 🔴 剩余 <20%

## 与 tablesnap 集成

对于无法渲染 markdown 表格的消息平台: ```bash node check-quota.js --table | tablesnap --theme light -o /tmp/quota.png # Then send the image ```

需要 `tablesnap` — 使用以下命令安装: ```bash go install github.com/joargp/tablesnap/cmd/tablesnap@latest ```

更多产品