🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

OpenClaw Model Usage (Linux)

by @aiyouwolegequ

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...

Versionv1.1.0
πŸ’‘ Examples

python3 {baseDir}/scripts/usage.py

βš™οΈ Configuration

# JSON output
python3 {baseDir}/scripts/usage.py --format json

Custom sessions dir

python3 {baseDir}/scripts/usage.py --sessions-dir ~/.openclaw/agents/main/sessions

View on ClawHub
TERMINAL
clawhub install openclaw-model-usage-linux

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’