openclaw-token-stats
Use this skill to produce token / cost usage reports from local OpenClaw logs (fast, offline, reproducible).
Default workflow
- Decide scope
- Last N days:
--days 1/--days 7 - Since date:
--since YYYY-MM-DD
- Run the report
python3 scripts/openclaw_token_stats.py --agent main --days 1 --by model
Common variants:
- By provider:
python3 scripts/openclaw_token_stats.py --agent main --days 7 --by provider
- By session file:
[Description truncada. Veja o README completo no GitHub.]