← Back to list

dsh-clear-mind

DeepSeek Harness Memory Low risk

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 插件:mind_map 工具俯瞰模型自己的上下文表面(稳定 seq、角色、token 重量、清理边界标记,返回内附清理手册),clear_mind 工具把选定的对话历史区间替换成模型自写的检查点(走平台原生 compaction 事务,GUI 渲染可展开的压缩行),调用对自动折叠成单行墓碑,上下文过长或单轮步数过多时主动提醒模型清理;人类侧会话记录保持原样、可审计可回退。

How to install

DeepSeek Harness dsh plugin add dsh-clear-mind

About

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…

Recommendation signals

49 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
49 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
0
mo. downloads
Last push
2026-09-17
Created
2026-09-17

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
ai-agent, context-compaction, deepseek-harness, dsh-plugin, memory

Related plugins

DeepSeek Harness
Score83

dsh-mnemon

omdsh-dev/dsh-mnemon

Cross-agent, local-first persistent memory plugin for DeepSeek Harness (DSH), powered by Mnemon. It shares long-term memory across Mnemon-enabled agents and adds runtime memory, searchable project documents, semantic recall, knowledge graph, and a Sidebar UI.

☆ 393 ↓ 36.2K Memory
DeepSeek HarnessClaude CodeCodex Featured
Score81

memsearch

zilliztech/memsearch

A persistent, unified memory layer for all your AI agents (e.g. Claude Code, Codex, DSH), backed by Markdown and Milvus.

☆ 2.6K ↓ 1.7K Memory
DeepSeek Harness
Score80

dsh-mnemon

dsh-external/dsh-mnemon

Composable, view-based memory for DeepSeek Harness. Pluggable sources and strategies, with three-tier memory out of the box.

☆ 393 ↓ 36.2K Memory
MCP ServerClaude Code
Score80

markdownify-mcp

zcaceres/markdownify-mcp

A Model Context Protocol server for converting almost anything to Markdown

☆ 3.0K ↓ 1.2K Memory