DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

@local/dsh-prompt-optimizor

Prompt Optimizor

Prompt Optimizor — 使用可配置的模型润色编辑器草稿,再点击一次即可切回原稿。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Grampusworld/dsh-prompt-optimizor#5ab1626fc6ef69e910eb1ec011e32d08189fc18c
README兼容性版本
The ✦ button at the bottom-right of the composerSettings panel

兼容性与来源证明

Prompt Optimizor 以 @local/dsh-prompt-optimizor 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/29

版本

0.1.0stable
2026/10/29

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/10/29
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / pet / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Remotedsh-remoteDeepSeek Harness 的远程工作助手:连接 SSH(密码/密钥/代理/键盘交互、多跳 ProxyJump),从 ~/.ssh/config 列出主机,选择远程工作区,使用 21 个 rw_* 工具对其进行操作,支持感知冲突的镜像同步、内嵌 PTY tRewind Plugindsh-rewind-plugin窗口内对话回溯与工作区文件恢复Model Router@ljwei-stak/dsh-model-routerDeepSeek Harness Desktop 的统一 DS Bot 工作区:模型和 Bot 路由、私有库、录制的桌面流程以及范围限定的远程计算机控制。

README

Prompt Optimizor

A DeepSeek Harness plugin that puts a small ✦ button next to the composer: one click rewrites the draft into a tighter prompt with the model you pick, a second click puts the original back.

中文说明 →

What it does

  • Adds a ✦ button to the composer's right-hand control row.
  • Click once — the current draft is sent to the configured model and replaced in place with the polished prompt. The button turns into "restore".
  • Click again — the draft goes back to exactly what it was before the first click.
  • Click while a request is running — cancels it; the draft is left alone.
  • Drafts that contain attachment or @-reference placeholders are skipped with a hint instead of being rewritten, so references are never dropped.
  • Ships its own settings panel under Plugins → Prompt Optimizor.

The button sits at the bottom-right corner of the composer:

The ✦ button at the bottom-right of the composer

Install

dsh plugin add github:Grampusworld/dsh-prompt-optimizor

From a local checkout, use the plugin manager instead:

plugin_manager action=install_bundle target=/absolute/path/to/dsh-PromptOptimizor

Reload after editing the source: disable and re-enable the plugin (or refresh the page).

Settings

FieldMeaningDefault
ModeBuilt-in model (uses the models already configured in Harness, no API key needed) or Custom OpenAI-compatible APIBuilt-in
provider / modelUsed in built-in mode; the list comes from Harness' own model catalogdeepseek-official / deepseek-flash
Reasoning effortModel default / off / low / high / max; falls back to the model's default when unsupportedoff
Base URL / Model name / API keyUsed in custom mode; any service that accepts POST {base}/chat/completionsempty / deepseek-chat / empty
Polishing promptSystem instruction sent to the model; saving an empty value restores the defaultbuilt-in "prompt compressor" prompt
Max charactersRequests above this are refused with a hint instead of being sent8000
Request timeoutMilliseconds60000

Save and test saves first, then runs a sample prompt end to end and shows the before/after.

Settings panel

How it works

  • Host half (index.js) registers /api/prompt-optimizor/{state,catalog,optimize,test}. The routes accept loopback peers only, require application/json on POST, and cap request bodies at 256 KiB. Two polishing paths:
    • built-in mode streams through ctx.llm.stream, so it uses the providers Harness already has;
    • custom mode fetches any OpenAI-compatible /chat/completions endpoint.
  • Browser half (client.js) mounts the button into conversation.input.right (rewriting the draft through inputActions.setDraft) and the settings panel into plugins.bundle.config.
  • Configuration is read and written through the settings service under the namespace dsh-prompt-optimizor; the schema is declared with schemastery, so no manual package.json or cordis.patch.yml edits are needed.

Privacy

The API key is stored in your local Harness profile configuration and is never sent back to the page — GET /api/prompt-optimizor/state only answers hasApiKey. Requests go from your machine straight to the provider you configured.

Development

node --check index.js && node --check client.js

License

MIT.