ashlr-dashboard

ashlr-dashboard is a command for coding agents from ashlrai/ashlr-plugin. It costs 34 tokens per session (477 once invoked), scanned A, original, MIT.

A terminal dashboard that reads Ashlr usage data and displays token savings, tool-by-tool charts, recent trends, projected yearly savings, and dollar costs.

In plain words
What is it for?
Use it to review recent usage, compare savings across tools, and inspect cost projections. It needs Ashlr statistics to have been recorded first.
Why use it?
It shows how much tool use Ashlr has reduced and whether there is enough history to make a projection.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the ashlr plugin — 11 skills, 36 commands, 5 agents, 7 hooks, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/ashlrai/ashlr-plugin/ashlr-dashboard
Clone the repo
git clone --depth 1 https://github.com/ashlrai/ashlr-plugin

Or install ashlr, the plugin that ships this one along with the rest of its 11 skills, 36 commands, 5 agents, 7 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ashlr-dashboard

README.md
[![agentmods](https://agentmods.dev/badge/commands/ashlrai/ashlr-plugin/ashlr-dashboard.svg)](https://agentmods.dev/commands/ashlrai/ashlr-plugin/ashlr-dashboard)
Your own site
<a href="https://agentmods.dev/commands/ashlrai/ashlr-plugin/ashlr-dashboard"><img src="https://agentmods.dev/badge/commands/ashlrai/ashlr-plugin/ashlr-dashboard.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 477 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00034 $0.00477
Opus 5 $0.00017 $0.00238
Sonnet 5 $0.00007 $0.00095
Haiku 4.5 $0.00003 $0.00048

Measured 5d ago against content hash 88b3bfc7bf21, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ashlr-dashboard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/ashlr-dashboard.md · 38 lines

What it actually says

Run the dashboard script via Bash and show the user its output verbatim.

Steps:

  1. Run this command:

    bun run ${CLAUDE_PLUGIN_ROOT}/scripts/savings-dashboard.ts
    

    If $CLAUDE_PLUGIN_ROOT is unset, fall back to resolving the plugin root by walking up from the current command file to find .claude-plugin/plugin.json, or use the path already known from other ashlr commands.

  2. Print the script's stdout verbatim inside a fenced code block (```) so the ANSI colors, Unicode box-drawing, bar charts, and sparklines all render correctly. The script is self-contained — it reads ~/.ashlr/stats.json directly and renders a multi-panel view.

  3. Do not paraphrase, re-order, or summarize the numbers. The dashboard is the output — the user wants to see it as-is.

  4. After the verbatim block, add at most one short line of context:

    • If the dashboard shows the "No stats.json found yet" panel: "Run any ashlr__read, ashlr__grep, or ashlr__edit call and this dashboard will come alive."
    • If the projection section says "Not enough history yet": "Check back after a few more days of activity — the projection unlocks with ≥3 active days in the last 30."
    • Otherwise: say nothing extra. The dashboard speaks for itself.

Pricing note (only surface if asked): the dashboard uses a blended $5/M-token rate derived from Claude Sonnet 4.5 pricing ($3/M input, $15/M output) as a rough honest estimate for read-heavy workloads.

If $ARGUMENTS contains --by-tool, also run:

bun run "${CLAUDE_PLUGIN_ROOT}/scripts/session-log-report.ts"

Append its stdout verbatim under a ## By tool section after the main dashboard block. Display it inside a fenced code block so column alignment renders correctly.

Related: /ashlr-savings gives the compact text-only version.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 38 lines · 34 tokens per session scan A 88b3bfc7bf21

Subscribe to this mod's changes

ashlr-dashboard is a command published in the GitHub repository ashlrai/ashlr-plugin (3 stars, last pushed 5d ago), licensed MIT. It adds 34 tokens to every session and 477 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.