/ashlr-badge
Generate and save an ashlr savings badge SVG you can embed in your repo README.
When to use
After accumulating meaningful savings (50K+ tokens) and wanting to show the ledger publicly in your repo.
What it does
- Reads
~/.ashlr/stats.jsonfor lifetime token and cost savings. - Renders an SVG badge in the ashlr style (parchment background, accountant's red, Fraunces numerals).
- Saves it to
.ashlrcode/badge.svgin the current repo. - Prints the Markdown embed snippet.
Output
Badge anatomy
The badge shows: total tokens saved (abbreviated), cost saved in USD, and the ashlr wordmark. On Pro, the badge auto-updates from the cloud on each push.
Related
/ashlr-savings— the data the badge is drawn from- Pro tier — setup — auto-updating badge requires Pro