dsh-clear-mind
让模型自主压缩自身上下文的 dsh 插件:mind_map 工具俯瞰模型自己的上下文表面(稳定 seq、角色、token 重量、清理边界标记,返回内附清理手册),clear_mind 工具把选定的对话历史区间替换成模型自写的检查点(走平台原生 compaction 事务,GUI 渲染可展开的压缩行),调用对自动折叠成单行墓碑,上下文过长或单轮步数过多时主动提醒模型清理;人类侧会话记录保持原样、可审计可回退。
Model-autonomous context compaction for DeepSeek Harness: a mind_map tool surveys the agent context surface (stable seq ids, roles, token weights, clear-boundary markers, the clear-mind playbook), a clear_mind tool replaces a chosen conversation-history span with a model-written checkpoint through the native compaction transaction, call and result pairs self-collapse into one-line tombstones, and a proactive reminder nudges the model when the context grows long or a turn runs too many steps.
怎么安装
dsh plugin add dsh-clear-mind 简介
dsh-clear-mind 让模型自主压缩自身上下文的 DeepSeek Harness 插件(cordis plugin):当失败探索和大输出把上下文拖累时,模型调用 clear_mind「清空脑子」——把一段对话历史替换成自己写的检查点,只留笔记,释放注意力与 token 预算。人类侧的会话记录始终原样保留,每次清理在 GUI 里都是一条可展开的压缩行。 模型看到什么 **mind_map** 俯瞰模型自己的上下文表面:每条消息的稳定 seq、角色、token 重量、一行预览,按 turn 分组;▸ 标记合法区间起点、◂ 合法区间终点、◆ 既有检查点,末尾内附 clear-mind 操作手册(何时清、怎么选区间、怎么写 notes、提交前自检): Mind surface: 31 nodes, ~41.2k tokens; request pressure ~41.2k tokens. Seqs are ids in surface order (the list is NOT numeric-sorted after any clear/compaction) — use them as identities, not as an interval. Range boundaries are marked ▸ (may start a clear) and ◂ (may e…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-17
- 创建于
- 2026-09-17
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- ai-agent, context-compaction, deepseek-harness, dsh-plugin, memory
同类推荐
dsh-mnemon
omdsh-dev/dsh-mnemon
由 Mnemon 驱动的 DeepSeek Harness(DSH)跨 Agent、本地优先的持久记忆插件。它可在支持 Mnemon 的 Agent 之间共享长期记忆,并提供运行时记忆、可检索项目档案、语义召回、知识图谱和 Sidebar UI。
memsearch
zilliztech/memsearch
为所有AI Agent(如Claude Code、Codex)提供的持久统一记忆层,由Markdown和Milvus支持。
dsh-mnemon
dsh-external/dsh-mnemon
用于 DeepSeek Harness (DSH) 的跨代理、本地优先持久内存插件,由 Mnemon 驱动。它在启用 Mnemon 的代理之间共享长期记忆,并添加运行时记忆、可搜索项目文档、语义召回、知识图谱和侧边栏 UI。
markdownify-mcp
zcaceres/markdownify-mcp
用于将几乎任何内容转换为Markdown的Model Context Protocol服务器。