Track per-skill token usage and costs from OpenClaw session logs. Use when user asks about skill-level spending, which skill costs the most, or wants a per-s...
You MUST use the bash or shell tool to run these commands. No other method works.
Per-skill cost report:
bash ~/.openclaw/workspace/skills/skill-cost/skill-cost.sh report
Last 7 days:
bash ~/.openclaw/workspace/skills/skill-cost/skill-cost.sh report --days 7
Since a specific date:
bash ~/.openclaw/workspace/skills/skill-cost/skill-cost.sh report --since 2026-03-01
JSON output:
bash ~/.openclaw/workspace/skills/skill-cost/skill-cost.sh report --format json
Top skills by cost:
bash ~/.openclaw/workspace/skills/skill-cost/skill-cost.sh ranking
Detail for a specific skill:
bash ~/.openclaw/workspace/skills/skill-cost/skill-cost.sh detail poe-connector
Compare two skills:
bash ~/.openclaw/workspace/skills/skill-cost/skill-cost.sh compare poe-connector web-search
sessions_spawn — it will failbash tool — only bash works~/.openclaw/agents/*/sessions/ZIP package — ready to use