Track and display LLM token usage, costs, and model statistics. Use when: user asks about token usage, API costs, how many messages were sent, or model performance stats. NOT for: changing the model or provider (use change_setting), or viewing conversation content (use session_logs).
Track and display LLM token usage, costs, and session statistics.
✅ USE this skill when:
❌ DON'T use this skill when:
change_settingsession_logspython {skill_path}/usage_stats.py
The history_detail.jsonl file under ~/.pythonclaw/context/logs/ contains
structured records of every agent interaction, including:
python {skill_path}/usage_stats.py --log ~/.pythonclaw/context/logs/history_detail.jsonl
# Count total interactions
wc -l ~/.pythonclaw/context/logs/history_detail.jsonl
# Recent entries
tail -5 ~/.pythonclaw/context/logs/history_detail.jsonl | python -m json.tool
history_detail.jsonl is append-only and grows over time/status command in chat for quick session info| File | Description |
|------|-------------|
| usage_stats.py | Parse and summarise usage from history logs |
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer