OpenClaw Cost Guard (Budgets + Token-Saving Playbook)

Description

Track OpenClaw/Clawdbot token and cost usage from session JSONL logs (prefer real usage.cost when present), generate daily/weekly summaries and top expensive sessions, and run budget checks (exit code on breach). Use to monitor spend, enforce budgets via cron/alerts, and apply a token-saving playbook to reduce output/tool-call cost.

Install

npx clawhub@latest install openclaw-cost-guard

Click to copy the install command