headroom-stats-plugin
Run the following command in DeepSeek Harness:
dsh plugin install Zenjibad/headroom-stats-plugin
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Zenjibad/headroom-stats-plugin in the DeepSeek Harness terminal to install; the source is hosted at https://github.com/Zenjibad/headroom-stats-plugin — after installation, restart DSH and the Headroom stats dashboard and composer line will appear.
About this plugin
If you are already running the Headroom compression proxy to cut token costs in DeepSeek Harness, you know the small daily friction: the savings data sits quietly in a JSON file while the DSH interface shows you nothing. headroom-stats-plugin bridges that gap by pulling the numbers into the places where you actually look. The Settings page hosts a full dashboard with lifetime KPIs—tokens saved, compression savings, cache savings, total requests—plus a top-10 project breakdown table. Under the chat input, a compact stats line updates every five seconds so you can glance at current-session savings without leaving the composer.
The plugin follows a strict pull-only, read-only model: it reads proxy_savings.json every five seconds, never writes to the Headroom directory, makes no network calls, and uses no file watchers. When the data file is missing or unparseable, the stats line simply hides itself rather than throwing errors, and recovers automatically the moment data returns. Path resolution honors HEADROOM_SAVINGS_PATH, HEADROOM_WORKSPACE_DIR, and the user-profile fallback, so it adapts to different machine layouts without hardcoding. All colors are driven by DSW design tokens, following light and dark themes automatically. Once installed as a profile plugin, it persists across restarts and needs no per-session definition.
It is built for developers who work at the intersection of DSH and the Headroom proxy and want at-a-glance visibility into token and cost savings—no terminal digging, no separate browser tab, just open Settings or glance below the input field.
Use Cases
- Viewing lifetime token savings and cost breakdown from the Headroom proxy in DSH Settings
- Glancing at current-session savings in the persistent composer stats line
- Comparing compression savings across projects in the top-10 table
Best For
- DSH developers using the Headroom compression proxy
- Teams that need real-time visibility into token cost savings
- Users who want compression stats without opening a terminal
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.