← Back to list

dsh-context-doctor

DeepSeek Harness Development & Runtime Low risk

Context injection audit: token costs of instruction chains / skill catalogs / tool schemas, duplicate and conflict detection.

上下文注入审计:统计指令链/技能目录/工具 schema 的 token 成本,检测重复与冲突。

How to install

DeepSeek Harness dsh plugin add github:Zhenyu98/dsh-context-doctor

About

Why DSH 会话里,模型每个请求都自动携带一批注入物:层层叠加的 AGENTS.md 指令链、一百多个技能的目录摘要、几十个工具 schema、MCP 工具面。它们悄悄消耗输入 token,且经常出现跨文件重复段落、同名技能互相遮蔽、工具面膨胀——但平时没人量化,问题到上下文告警时才暴露。 | 之前 | 之后 | |---|---| | 只能靠上下文计量条猜个大概,说不清是谁在消耗 | 指令链 / 技能 catalog / 工具 schema / MCP 四项逐项给出 token 估算 | | 重复指令、重复技能描述散落在各层文件里,无人察觉 | 自动检测跨文件完全相同的重复段落、描述完全相同的冗余技能 | | 同名技能多来源并存时被静默遮蔽,模型用的是哪个要靠猜 | 报告冲突胜出者与被遮蔽者(rank shadow) | | 看到告警只能手工翻文件找线索 | 模型可直接调用 context_audit 拿到分节报告与按严重度排序的裁剪建议 | Quick Start sh 1. 安装(官方 bundle 插件机制;构建产物已入库,git 源安装无需构建) dsh plugin --profile web add "github:Zhenyu98/dsh-context-doctor#main" 2. 验证合成树含该条目 dsh --profile web --dump-con…

Recommendation signals

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

Meta

License
BSD-3-Clause
Language
TypeScript
GitHub stars
32
mo. downloads
–
Last push
2026-09-06
Created
2026-08-12

Links

GitHub ↗ Report issue ↗

Basic safety check

Findings
curated 收录但无 npm 包/安装命令
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin, curated:0xsline/awesome-deepseek-harness
Topics
context, deepseek-harness, dsh, dsh-plugin, tool, ui

Related plugins

MCP Server
Score100

langfuse

langfuse/langfuse

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

☆ 35.0K ↓ 6.7M Development & Runtime ↗
Claude Code
Score92

claude-code-templates

davila7/claude-code-templates

CLI tool for configuring and monitoring Claude Code

☆ 31.7K ↓ 10.7K Development & Runtime ↗
MCP Server
Score86

semiotic

nteract/semiotic

React data visualization library for streaming, networks, and AI-assisted development

☆ 2.7K ↓ 25.0K Development & Runtime ↗
DeepSeek Harness Featured
Score84

dsh-desktop

dataelement/dsh-desktop

DSHDesktop:DeepSeek Harness Desktop / DeepSeek Harness 桌面版

☆ 9.1K ↓ 930 Development & Runtime ↗