dsh-plugin-save-token
可逆的上下文瘦身插件:均匀 JSON 数组走 TOON 式无损表格化重编码,管道表按行号抽样保留窗口,90 秒内字节级相同的工具输出跨轮去重;每次替换都要通过双重门(压缩后 ≤72% 字节且估算 token 严格下降),原文落盘并以 `[save-token #id]` 标记,可用 `save_token_expand` 工具一步取回;设置页仪表盘分别统计实际计费与节省的 token。
Reversible context slimming for DeepSeek Harness: TOON-style lossless tabular re-encoding of uniform JSON arrays, stride-sampled table windows with line numbers, and cross-turn dedup for repeated tool output; every replacement passes a byte-plus-token gate (≤72% bytes, strictly fewer estimated tokens) and the original is spilled to disk behind a `[save-token #id]` notice retrievable in one call via the `save_token_expand` tool, with billed and avoided token metering on a settings dashboard.
怎么安装
dsh plugin add dsh-plugin-save-token 简介
dsh-plugin-save-token English | 简体中文 **In one sentence: a DeepSeek Harness (dsh) dynamic plugin that cuts token cost without cutting model intelligence.** 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…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 4
- 月下载
- –
- 最近更新
- 2026-08-29
- 创建于
- 2026-08-27
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- agent, dsh-plugin, token-optimization
同类推荐
get-shit-done
gsd-build/get-shit-done
由 TÂCHES 开发的轻量且强大的元提示、上下文工程和规格驱动开发系统,适用于 Claude Code。
dsh-mnemon
dsh-external/dsh-mnemon
用于 DeepSeek Harness (DSH) 的跨代理、本地优先持久内存插件,由 Mnemon 驱动。它在启用 Mnemon 的代理之间共享长期记忆,并添加运行时记忆、可搜索项目文档、语义召回、知识图谱和侧边栏 UI。
hindsight
vectorize-io/hindsight/tree/main/hindsight-integrations/coding-agents
Hindsight:会学习的 Agent 长期记忆系统,自动召回/保存、知识页、深度反思与按仓库隔离的记忆银行。
mcp-ssh-manager
bvisible/mcp-ssh-manager
MCP SSH 服务器:37 个远程 SSH 管理工具 | Claude Code 和 OpenAI Codex | DevOps 自动化、备份、数据库操作、健康监控