token-optimization 7
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.
dsh plugin add dsh-plugin-save-tokenKeeps long coding-agent sessions lean: wrap a stretch of work in a named task, and when it ends, fold that whole span into one short titled summary. The conversation stays readable, context costs stay low, and any fold's original content can be read back
dsh plugin add dsh-taskfoldDSH 插件:上下文构成诊断、重复/遮蔽检测、Token 排名与可回滚优化补丁预览
dsh plugin add dsh-context-pilotFold the DSH tool surface per request + ChainGuard firewall (high-risk block + exfil-chain detection + anti-obfuscation) + BM25/bge-m3 hybrid tools_search. Shrinks schema tokens 80-90% while keeping selection accuracy. v0.2.0 adds a semantic retrieval leg
dsh plugin add dsh-tool-folderDynamic capability gating for DeepSeek Harness that reduces token usage by exposing large MCP/plugin toolsets only when an agent needs them.
dsh plugin add dsh-tool-gateFold the DSH skill catalog prompt surface: static KV-cache-stable catalog + BM25/bge-m3 hybrid skill_search + autoRoute hints. Rendering-only fold: source.entries stay untouched, the skill tool and /name injection stay host-owned. v0.3.0 adds a semantic r
dsh plugin add dsh-skill-folderRTK (Reusable Token Kompressor) tool for DeepSeek Harness — token-optimized CLI proxy exposing read/ls/git/grep/err/test/json and more through the standard shell sandbox.
dsh plugin add dsh-rtk-plugin