Plugin directory / Developer / zzy-dsh-prompt-optimizer
zzy-dsh-prompt-optimizer
Unverified zhengzeyong9527-droid
What it does
A plugin in the Developer category for DeepSeek Harness.
Unverified — not yet verified
A plugin in the Developer category for DeepSeek Harness. Not yet verified — install and test it yourself.
“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
zzy-dsh-prompt-optimizer
DeepSeek Harness(DSH)的提示词优化插件。插件在对话输入框增加“提示词优化”操作:优化完成后直接将结果填入输入框,并允许你随时撤回到原始提示词。
功能
- 三种明确的优化模式:保真优化、开发化表达、规格扩展。
- 优化中可取消,并显示加载状态。
- 优化结果直接填入对话框,可一键撤回原始提示词。
- 可选的会话内短期记忆:最多保留最近三轮已应用的优化结果。
- 可选的当前会话上下文,并可设置字符预算。
- 可选的工作区 Markdown 文档上下文,仅限当前会话的工作区根目录。
- 可配置主模型、回退模型、超时和最大输出 token。
- 不存储 API Key。
界面
输入框入口

高级设置
高级设置按优化策略、会话上下文、工作区文档上下文和模型限制分段展示,避免长说明和输入项交错。

模型与执行限制

优化模式
- 保真优化:提升表达清晰度,但不虚构需求、事实、架构或范围。
- 开发化表达:将用户已经提供的开发信息整理成更适合实现的表述,不替你选择技术栈或设计方案。
- 规格扩展:允许补充必要默认项,但必须在
## Default assumptions下明确标示,供你审阅。
隐私与上下文
当前草稿会发送给你选择的 DSH 模型路由。所有额外上下文默认关闭。
启用会话上下文后,插件只读取当前会话 Surface 中的 user/message 和 assistant/message 文本。启用工作区上下文后,插件最多读取当前会话工作区根目录内三个相关 Markdown 文件。两个来源都各自受字符预算限制;服务不可用或读取失败时会自动降级为无该来源上下文。插件不会持久化完整草稿、会话历史或文档内容。
安装
将已发布的 npm 包安装到 Web profile:
dsh plugin --profile web add zzy-dsh-prompt-optimizer
重启现有 DSH Web 进程并刷新当前 URL。
许可证
MIT
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install zzy-dsh-prompt-optimizer for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:zhengzeyong9527-droid/zzy-dsh-prompt-optimizer Headless (CLI) profile:
dsh plugin --profile headless add github:zhengzeyong9527-droid/zzy-dsh-prompt-optimizer Test report
Not yet L3-verified — see failure note below if we already ran it.
2026-08-26 · flagged webonly Note: 验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. Browse all pending failures →