stack-measure
Quantify token usage with the neutral ccusage tool. Savings are always measured, never claimed.
What to do
- Baseline:
npx @drmahdikazempour/agent-stack measure(init already stored one in.agent-stack/baseline.json). - Compare:
npx @drmahdikazempour/agent-stack measure --since 7d— reports baseline vs recent average input tokens/day and the % reduction, color-coded against the ≥40% target.
Notes
- If
ccusageisn't installed, the command falls back to the localusage.jsonlourStophook appends; installccusage(npm i -g ccusage) for authoritative numbers. - Telemetry-free and local-only: it reads ccusage's JSONL on the user's machine.