Ag Model Usage
/install ag-model-usage
model-usage Skill
查询并显示 AI 模型的使用配额、剩余百分比及下一次额度刷新时间。
功能
- 实时同步:直接从 Google 内部 API 获取最真实的账户配额数据。
- 状态监控:支持 Gemini、Claude 等核心模型的剩余额度展示。
- 时间预估:精准显示每个模型下次刷新的具体时间点(已转换为本地时区)。
使用方法
直接对 AI 说:
- "查看模型用量"
- "我还有多少额度"
- "model-usage"
内部原理
该技能通过读取 auth-profiles.json 中的 OAuth 令牌,模拟官方 IDE 客户端的行为向 Google 发起配额查询请求。
适用范围
仅适用于使用 Google Antigravity (Cloud Code Assist) OAuth 方式登录的账户。
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ag-model-usage - After installation, invoke the skill by name or use
/ag-model-usage - Provide required inputs per the skill's parameter spec and get structured output
What is Ag Model Usage?
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trig... It is an AI Agent Skill for Claude Code / OpenClaw, with 499 downloads so far.
How do I install Ag Model Usage?
Run "/install ag-model-usage" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Ag Model Usage free?
Yes, Ag Model Usage is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Ag Model Usage support?
Ag Model Usage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Ag Model Usage?
It is built and maintained by Lian Junhong (@t-atlas); the current version is v1.0.0.