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 で全文を読む (外部ページ)