What is ashlr?
Open-source Claude Code plugin that cuts token usage on file reads, greps, and edits — with opt-in telemetry.
ashlr is a Claude Code plugin that replaces the built-in Read, Grep, and Edit tools with lower-token alternatives, tracks what it saves, and surfaces the ledger in a live status line.
Mean savings: −79.5 % on files 2 KB and larger. MIT-licensed. Telemetry is off by default and explicit opt-in only. Works with Claude Code, Cursor, and Goose.
The three-line pitch
- Large file reads are snip-compacted or LLM-summarized — you get head + tail, middle skipped.
- Grep calls route through a per-project genome index when one exists, cutting tokens ~84 % on warm queries.
- Every edit sends only the diff, not the full file.
Install
Then install from the Claude Code marketplace and reload plugins. See Install for the exact slash commands, Cursor and Goose variants, and verification.
What's included
| Layer | What you get |
|---|---|
| 40 MCP tools | Token-efficient file, search, edit, bash, SQL, HTTP, diff, logs, genome, GitHub |
| 33 slash commands | /ashlr-status, /ashlr-savings, /ashlr-tour, and more |
| Status line | Live savings counter in the Claude Code UI |
| Genome loop | Auto-extracts architectural knowledge into .ashlrcode/genome/ |
| Savings badge | Embeddable SVG you can drop into your repo README |