Skill 详情
agent-usage
Reports observed usage and quotas but does not optimize consumption.
使用前先检查
自动化审核只检查相关性,不代表安全审查或推荐。使用前请阅读来源中的说明。
SKILL.md
这段内容是审核时保存的快照。外部来源才是完整且最新的版本。
---
name: agent-usage
description: >
Show accurate Claude/Codex account usage from provider quota APIs where exposed and local session ledgers otherwise.
triggers:
- /usage
- agent usage
- claude usage
- codex usage
- quota
allowed-tools:
- Bash
---
# Agent Usage
Use when the user asks for current Claude, Claude Max, Claude Pro, Codex, or
agent account usage.
Run the local monitor from the Agent Engineering repo:
```bash
AGENTIC_ENGINEERING_HOME="${AGENTIC_ENGINEERING_HOME:-$HOME/Sync/agentic/gitlab-repos/org-internal/agentic-engineering}"
"$AGENTIC_ENGINEERING_HOME/stack/telemetry/agent-usage-monitor.py" --refresh
```
For a browser view:
```bash
AGENTIC_ENGINEERING_HOME="${AGENTIC_ENGINEERING_HOME:-$HOME/Sync/agentic/gitlab-repos/org-internal/agentic-engineering}"
"$AGENTIC_ENGINEERING_HOME/stack/telemetry/agent-usage-monitor.py" --html /tmp/agent-usage.html --watch 60
```
Do not estimate missing quota. If Codex plan quota is unavailable through the
Codex CLI, report the local observed token ledger and say provider quota is not
exposed.
在 GitHub 阅读完整来源 (打开外部页面)