DSH Plugin MarketA community catalog for DeepSeek Harness plugins

dsh-plugin-save-token

Verified Models & inference ★ 78 2.4.1

Cut token cost without cutting model intelligence — a DeepSeek Harness (dsh) bundle plugin: structure-aware compression + TOON-style lossless encoding first + reversible spill-to-disk + real-time dashboard.

What it is

Cut token cost without cutting model intelligence — a DeepSeek Harness (dsh) bundle plugin: structure-aware compression + TOON-style lossless encoding first + reversible spill-to-disk + real-time dashboard.

How to install

Run this in the DSH web profile, then refresh the page.

$ dsh plugin --profile web add dsh-plugin-save-token@2.4.1

DSH versions accepted

Undeclared

Author and traction

vibe-any · ★ 78 · Updated 2026-10-24

About this plugin

dsh-plugin-save-token

English | 简体中文

In one sentence: a DeepSeek Harness (dsh) dynamic plugin that cuts token cost without cutting model intelligence. Codex user? The same token-optimization brain ships as a standard Codex CLI plugin (MCP stdio server) in codex-plugin-save-token/ — see its README.

It slims down oversized tool outputs at the entrance of every model request — reversibly and structure-aware. The full original text is always saved to disk; what the model sees is always a condensed version carrying a retrieval path. Every optimization obeys one red line: any replacement must be restorable in one step, and the estimated token count after compression must be strictly smaller than the original. Why you need it The bulk of agentic-session cost is tool output that keeps re-entering the context: large JSON from APIs, CLI tables, logs. The same 40KB price table may be billed again on every conversation turn. But blunt truncation degrades intelligence: research shows that even with perfect retrieval, merely padding the context with irrelevant content drops accuracy by 13.9–85% (curated in "Context Length Alone Hurts"); conversely, over-compression fails too — in production randomized controlled trials, aggressive compression (keep ratio 0.2) actually made cost +1.8% worse, while moderate compression (0.5) delivered −27.9%. Conclusion: the right way to save tokens is structure-preserving slimming, not content hacking. All strategies in this plugin are designed

Similar plugins