A native DSH diagnostic plugin that surfaces redundant context, rank-shadow conflicts, and trimming priorities.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-09-08
License
BSD-3-Clause
01What can it help you accomplish?
Measure and diagnose the context automatically injected into DSH requests
Token estimates, duplicate and rank-shadow findings, plus prioritized trimming suggestions
DSH users who need to reduce instruction, skill, tool-schema, and MCP context overhead
02How to install into DeepSeek Harness
Prerequisites
- DSH `>= 0.1.2-rc.1`
Installation steps
- 01
Install with `dsh plugin --profile web add "github:Zhenyu98/dsh-context-doctor#main"`.
$ dsh plugin --profile web add "github:Zhenyu98/dsh-context-doctor#main"
- 02
Restart DSH web and invoke `context_audit` in a new session.
Verify the integration
- Run `dsh --profile web --dump-config | grep context-doctor` and confirm the plugin is inserted.
03DSH integration and capability boundaries
Native DSH web-profile plugin with a web panel and `context_audit` model tool
Context-audit panel and tool
DSH instruction chains, skill catalog entries, tool schemas, and MCP tool names→A sectioned audit report with token estimates, conflict findings, and suggestions
Reads files and metadata only; files larger than 256 KB are skipped
04Who is it for? When not to use it?
Good for
- DSH users who need to reduce instruction, skill, tool-schema, and MCP context overhead
Not for
- Token counts are heuristic estimates for comparison, not the model tokenizer’s exact values.
05Compatibility, maintenance and safety notes
- Token counts are heuristic estimates for comparison, not the model tokenizer’s exact values.
Author README tracked from the referenced commit
06Frequently asked questions
What does `context_audit` inspect?
It reports DSH instruction chains, skill catalog entries, tool schemas, MCP tools, conflicts, and suggestions.
Will it edit my project files?
No. The documented boundary is read/stat/list only, with no writes, deletes, or execution of audited objects.
Why can its number differ from the DSH meter?
It uses a heuristic token estimate for comparison; the model tokenizer remains the source for exact token counts.
07Related DSH workflows
dsh-context
by bowenliang123
Context dashboard tab + /context command showing context-window composition, per-turn history, compaction/prune events, per-message token costs
deepseek-harness-control-center
by feibi-mochi
Web control center for DSH: account monitoring, usage accounting, completion alerts, official recharge link, flexible layout, agent-assisted session controls (capability-gated)
dsh-balance-plugin
by yxxbc
DeepSeek 余额监控与用量统计:CNY/USD 双余额池多账户查询、低余额告警、官方充值入口、Miyu 风格用量仪表盘、三方插件管理、query_api_quota 模型工具
dsh-think-zh
by len7183
DSH 插件:强制思考用简体中文、回复跟随提问语言(注入 system prompt)
08Data and sources
DSH 上下文注入审计插件:看清模型每个请求到底背着多少上下文,找出重复、冲突与浪费 token 的注入物。
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-08. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
