Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By dshakesv1.59.0Apache-2.0In 1 marketplace
Shows live token savings from distil context compression in your status line and reports them through /distil commands. Needs the distil CLI on PATH or uvx; it says its equivalence rate is one maintainer's sample, not a verdict.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A live token-savings status line and a /distil command for
distil context compression.
What this plugin does — honestly. A Claude Code plugin cannot reroute a running session's API traffic (the base URL is read at launch) and cannot set the main status line from its own manifest. So this plugin ships the pieces that work cleanly: the
/distilcommand, and a status-line script you wire in once. To actually compress traffic, run distil as a proxy or viadistil wrap(see below) — then the savings show up here.
/plugin marketplace add dshakes/distil
/plugin install distil@distil
This gives you the /distil command (savings report + setup help) and the
distil-setup skill — ask Claude Code to "set up distil" or "route my agent
through distil" and it installs the CLI and wires your agent/SDK through compression.
Add this to your ~/.claude/settings.json (the plugin ships the script):
{
"statusLine": {
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/statusline.sh"
}
}
It renders, e.g.:
During a live session (an agent currently routed through distil wrap/proxy):
distil · sess 120.0K→45.0K −62% · $0.31 · Σ 12.4M saved ($38.02) · ⚠de 97.5% (398)
This session leads (original → compressed tokens, percent trimmed, session
dollars); lifetime collapses to one Σ figure — the full breakdown lives in
distil stats and /distil-dashboard. Between sessions (>4 h idle) the line
falls back to the lifetime view:
distil · 1.2M→0.5M tok −58% · $2.01 saved · 128 runs · ⚠de 97.5% (398)
Decision-equivalence shows once shadow mode clears the reporting floor (50 A/B +
30 A/A); below it the segment counts up instead of printing a rate. ✓ at 99% and
above, ⚠ under 99%, ✗ under 95% (the glyph is an alarm, not decoration, and it
reads without color). The session/lifetime figures above are illustrative; the
equivalence reading is the maintainer's pooled live sample, 97.5% over n=398 A/B on
2026-09-15 (benchmarks/results/shadow-live-2026-09-15.json). Pooled is not a verdict:
per mode, digest read −5.3 pp against self-agreement (over the 5% budget) and
lossless-only ≈0 — distil shadow-stats prints each mode with its interval.
With no savings yet it shows a hint instead.
Requires distil on PATH or uvx available.
On a flat-rate subscription (Claude Pro/Max) the per-token dollar figure is
notional — set DISTIL_SUBSCRIPTION=1 in your environment to drop the cost and
show the token reduction only.
Don't replace it — add distil as one more segment. In your existing status-line script:
distil_seg="$(distil statusline 2>/dev/null || true)"
[ -n "$distil_seg" ] && out="${out} · ${distil_seg}"
distil statusline prints nothing when distil isn't installed, and 2>/dev/null || true
keeps your line clean either way.
| Command | What it does |
|---|---|
/distil-onboard | Set up distil + a guided, tailored tour of how to use it |
/distil | Your savings report + how to route more traffic through distil |
/distil-stats | Full breakdown — orig→compressed tokens, cost, runs, per-trajectory bars |
/distil-shadow | Decision-equivalence: did compression preserve your agent's next action? |
/distil-dashboard | Open the HTML savings page — session, lifetime, decision-equivalence cards |
/distil-doctor | Diagnose your setup — ledger, shadow validation, proxy round-trip, wiring |
/distil-certify | Trajectory-level certificate: bound how many solvable tasks compression may cost |
/distil-badge | Shareable shields.io badge of your measured savings |
Want a live, refreshing view in your terminal? Run the CLI directly (outside the slash-command flow, e.g. in a split pane):
distil dashboard # live TUI — token-trim + decision-equiv bars, Ctrl-C to exit
distil dashboard --once # one static frame (pipe-friendly)
The status line reflects the local savings ledger. Populate it by routing an agent through distil:
# Interactive + subscription/OAuth-safe (no tool injection, content un-digested):
distil wrap --lossless-only --verbatim -- claude
# Or a standalone proxy any SDK can point base_url at:
distil proxy # Anthropic / OpenAI-compatible
distil proxy --upstream https://generativelanguage.googleapis.com # Google Gemini
See the distil docs for the full story.
7-day copy clicks
npx claudepluginhub dshakes/distil --plugin distilBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground