/ashlr-dashboard
Rich token-savings dashboard with per-tool bars, 7-day and 30-day sparklines, an annual projection and top projects.
When to use
When you want more than /ashlr-savings shows: lifetime savings by tool, activity over the last 30 days, a projection, and which projects use ashlr most.
What it does
Runs bun run ${CLAUDE_PLUGIN_ROOT}/scripts/savings-dashboard.ts and prints its output verbatim in a code block. The script reads ~/.ashlr/stats.json and ~/.ashlr/session-log.jsonl and renders, in order:
- The ashlr banner and a today-vs-yesterday line (skipped when the numbers are quiet)
- Session, lifetime and best-day tiles
- Per-tool lifetime savings: bar, tokens, tokens per call and share
- Where savings come from, and a 7-day adoption funnel (both read the session log)
- Activity sparklines for the last 7 and 30 days
- Projected annual savings: 30-day rolling × 12, active days × 220, and calls
- Top 3 projects by call count, from the session log
- Hook performance, upgrade nudge and streak panels, when there is data for them
- A footer with the stats path, pricing model and saved/raw ratio
Colors are used only when the terminal reports truecolor and NO_COLOR is unset. Pass --by-tool to /ashlr-dashboard to also append the per-tool report from scripts/session-log-report.ts under a ## By tool heading.
With no stats.json yet, it prints the banner and no savings recorded yet. The projection needs at least 3 active days in the last 30.
Output (excerpt)
Rendered from a small sample stats file, with NO_COLOR=1:
Dollar figures use the input price of the pricing model: ASHLR_PRICING_MODEL, then CLAUDE_CODE_MODEL, then sonnet-4.6 ($2.50 per million tokens). See Environment variables.
Related
/ashlr-savings: the compact session and lifetime report/ashlr-handoff: the same script in plain-text handoff mode- How session savings are counted: why some sessions show less than the headline mean