Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Track OpenClaw AI token usage and cost per model on Linux by parsing session JSONL files. Use when asked about: token usage, API cost, how much has been spen...
Track OpenClaw AI token usage and cost per model on Linux by parsing session JSONL files. Use when asked about: token usage, API cost, how much has been spen...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Parse OpenClaw session files to summarize token usage and cost per model.
python3 {baseDir}/scripts/usage.py
# JSON output python3 {baseDir}/scripts/usage.py --format json # Custom sessions dir python3 {baseDir}/scripts/usage.py --sessions-dir ~/.openclaw/agents/main/sessions
Shows per-model breakdown: Turns (assistant replies) Input / output tokens Cache read / write tokens Cost in USD Sessions live at: ~/.openclaw/agents/main/sessions/*.jsonl
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.