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.
git clone --depth 1 https://github.com/ashlrai/ashlr-pluginWrote 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.
[](https://agentmods.dev/commands/ashlrai/ashlr-plugin/ashlr-savings)<a href="https://agentmods.dev/commands/ashlrai/ashlr-plugin/ashlr-savings"><img src="https://agentmods.dev/badge/commands/ashlrai/ashlr-plugin/ashlr-savings.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00443 |
| Opus 5 | $0.00011 | $0.00221 |
| Sonnet 5 | $0.00004 | $0.00089 |
| Haiku 4.5 | $0.00002 | $0.00044 |
Grade A, and why
ashlr-savings 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 8d 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.
What it actually says
Call the ashlr__savings MCP tool and show its output to the user verbatim inside a fenced code block (```) so the ASCII bar charts and column alignment render correctly.
The tool already returns a rich multi-line report covering:
- Session age and pricing model in use
- Two-column summary (this session vs all-time): calls, tokens saved, estimated dollar cost saved
- Per-tool breakdown for the current session (calls, tokens, proportional bar, percentage)
- A 7-day sparkline of daily tokens-saved (scaled to the busiest day)
- Pro upgrade nudge telemetry (when the user has crossed the 50k threshold at least once):
shown N · clicked M · rate P%. Pro/Team users see the same stats labeled "historical" — no live nudge renders anymore.
After the verbatim block, add at most one short line:
- If session
callsis 0: "No ashlr__read/grep/edit calls yet — try those in place of the built-ins to start accumulating savings." - If session
callsis non-zero and lifetimecallsis under 20: "Still warming up — numbers get more meaningful after a few dozen calls." - Otherwise: say nothing extra. The report speaks for itself.
Pricing note (only surface if the user asks how the dollar figure is derived): the report uses Claude Sonnet 4.5 input pricing ($3.00 per million tokens) by default. Override with the ASHLR_PRICING_MODEL env var (sonnet-4.5 | opus-4 | haiku-4.5).
Do not paraphrase the numbers — the user wants the exact tool output, not a rewritten summary.
Want a richer view? /ashlr-dashboard renders a multi-panel dashboard with ANSI colors, per-tool bar charts, 7-day and 30-day sparklines, top projects, and a projected-annual-savings extrapolation.
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.
- 8d ago First seen · 25 lines · 22 tokens per session scan A 0d51a5d9e66b
ashlr-savings is a command published in the GitHub repository ashlrai/ashlr-plugin (3 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 443 once invoked, about $0.0001 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.
Other commands, from other repositories
familiar
Interact with your companion — show or change personality, mood, stats, and lore.
recall-save
Generate / overwrite .recall/context.md with Recall's local offline summarizer.
ccc-orchestrate
Sequential and tmux/worktree orchestration guidance for multi-agent workflows.
standup
Show a daily standup summary with completed, in-progress, and blocked tasks across all active epics.
complete
Signal that a skill's work is complete. Triggers downstream subscriptions with "when": "complete" timing. Automatically invoked — do not run manually.
setup
A setup command for configuring claude-mini-hud as Claude Code's terminal status line. It lets the user choose Chinese, English, minimal, or ultra-minimal display text and writes the setting to Claude Code's configuration.