DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Prompt Crafter — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-prompt-crafter

Prompt Crafter

提示词优化按钮(完全免费):一键把输入改写成更清晰的提示词。内置免费模型通道,零配置零费用,不可用时自动回退到对话模型。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-prompt-crafter@1.2.2
README兼容性版本

兼容性与来源证明

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

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

版本

1.2.2stable
2026/10/18

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Experimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundle为 Web 组合添加 Schedule、其任务页面和时间上下文的可选捆绑包Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。

README

dsh-prompt-crafter

中文 | English

输入框右侧的「优化」按钮:写完一段话按一下,让模型把它改写成更容易被执行好的提示词。

完全免费。 插件自带一个免费模型通道,装好即用,不需要任何账号、API Key 或付费——你发送的每一条优化请求都不消耗对话额度。免费通道不可用时自动回退到你当前对话的模型,功能永远不会因为免费通道挂掉而失效。

用法

  1. 在输入框写下你想说的话(可以很随意)
  2. 点按钮
  3. 草稿被替换成改写后的版本,可以直接发送,也可以 Ctrl+Z 撤销

优化期间按钮显示「优化中…」,失败时上方弹出原因,5 秒后自动消失。

三档力度

设置 → 优化里可选:

档位做什么
精简只修语病和指代不清,几乎不改结构
均衡(默认)补齐含糊处,明确产出与约束,长度相当
详细把任务拆细讲透,补背景、步骤、约束、验收标准
自定义完全自己写系统提示词,留空则回退到均衡

一个刻意的设计

三档都先做性质判断:确认 / 道谢 / 闲聊 / 简单提问 → 保持原样那么短;只有任务要求才按档位加码。

没有这条规则时,「ok,完成的很好」会被「详细」档扩写成带目标、背景、步骤、约束、验收标准的一整篇文档——那只是把噪声写进了提示词。

除了提示词,还有一道工程兜底:短的非任务输入配上了远超它的输出时,自动改用「精简」档重试一次。

模型:三选一

设置 → 优化里的「优化用的模型」:

选项做什么
免费通道(标着「优先」)走插件内置的免费模型,零成本、无需配置;打开设置页会自动测试连通性,也可以手动重测
自动跟随当前对话正在使用的模型
手动固定用一个模型,从完整模型列表里选

免费通道的免费是字面意义的免费:插件内置了一个公开的模型端点,所有安装者共用,你不花一分钱,也不需要注册任何服务。作为交换,它有额度上限、可能偶尔拥挤——所以它失败时自动改用你当前对话的模型跑完,设置页会显示回退原因。

连通性测试:选中「免费通道」后,设置页会发一句 Hi 给免费通道,显示耗时和回复。这是端到端验证——绿点表示真的收到了模型回应,不是空连接。

想换成自己的额度(更稳、更快),用环境变量覆盖即可:

DSH_FREE_CHANNEL_BASE_URL=https://your-endpoint/v1
DSH_FREE_CHANNEL_API_KEY=sk-...
DSH_FREE_CHANNEL_MODEL=your-model

自动模式靠监听 agent/request 事件记下每个会话实际调用的路由。这是唯一能在 HTTP 路由里拿到「当前对话模型」的入口——agents.currentInitiator() 只在模型调用链里有效,sessions.binding() 在浏览器上下文不可用。

设置页会显示「上次实际调用」,这个值由代码记录,可以用来核实路由(模型自述自己是谁并不可靠)。

安装

推荐:内置插件安装程序。 打开「设置 → 内置插件」,粘贴包名,点安装,再重启应用:

dsh-prompt-crafter

安装程序会自动写进 dsh.profile.bundles,不用手改任何文件。

命令行方式(先完全退出应用):

cd ~/.dsh/profiles/desktop
pnpm add dsh-prompt-crafter

然后把包名加进 dsh.profile.bundles,重启应用。

存储

~/.dsh/prompt-optimizer/settings.json


English | 中文

An Optimize button next to the send key: write a draft, press it once, and let the model rewrite it into a prompt that is easier to execute well.

Completely free. The plugin ships with a free model channel that works out of the box — no account, no API key, no payment. Every optimization request costs you nothing from your conversation budget, and if the free channel is unavailable, the plugin falls back to your current conversation's model automatically. The button never stops working because the free channel did.

Usage

  1. Type whatever you want to say (it can be rough)
  2. Press the button
  3. The draft is replaced with the rewritten version — send it, or undo with Ctrl+Z

While working the button reads "Optimizing…". On failure the reason appears above it and disappears after 5 seconds.

Three levels

Settings → Optimize:

LevelWhat it does
BriefOnly fixes grammar and unclear references; structure stays
Balanced (default)Fills in vague spots, states the expected output and constraints, keeps the length roughly the same
DetailedBreaks the task down, adds background, steps, constraints and acceptance criteria
CustomWrite the system prompt yourself; leaving it empty falls back to Balanced

One deliberate design choice

All three levels first classify the input: acknowledgements, thanks, small talk and simple questions stay as short as they were; only task requests are expanded according to the level.

Without that rule, "ok, good job" gets rewritten by Detailed into a full document with goals, background, steps, constraints and acceptance criteria — which is just noise inserted into your prompt.

Beyond the prompt itself there is an engineering backstop: when a short, non-task input produces an output far longer than itself, the plugin retries once with Brief.

Model: three choices

"Model for optimization" under Settings → Optimize:

OptionWhat it does
Free channel (tagged "priority")Uses the bundled free model — zero cost, zero configuration. Opening the settings page probes connectivity automatically; you can re-test manually
AutomaticFollow the model the current conversation is using
ManualPin one model, chosen from the full model list

The free channel is free in the literal sense: the plugin embeds a public model endpoint shared by all installers. You pay nothing and sign up for nothing. In exchange it has quota limits and can get crowded — so when it fails, the optimization continues on your current conversation's model, and the settings page shows why.

Connectivity probe: selecting "Free channel" sends a literal Hi to the endpoint and reports the round-trip latency and the reply. That is end-to-end verification — a green dot means a real model response came back, not just an open socket.

To use your own quota instead (more stable, faster), override it with environment variables:

DSH_FREE_CHANNEL_BASE_URL=https://your-endpoint/v1
DSH_FREE_CHANNEL_API_KEY=sk-...
DSH_FREE_CHANNEL_MODEL=your-model

Automatic mode works by listening to agent/request and recording the route each conversation actually calls. That is the only way to reach "the model this conversation is using" from an HTTP route — agents.currentInitiator() only works inside the model call chain, and sessions.binding() is unavailable in the browser context.

The settings page shows "last actual call". That value is recorded by code, so it can be used to verify routing — a model's self-description is not reliable.

Install

The built-in plugin installer is the recommended way. Open Settings → Built-in Plugins, paste the package name, press install, then restart the app:

dsh-prompt-crafter

The installer writes the entry into dsh.profile.bundles for you; no manual file edits.

From the command line (quit the app completely first):

cd ~/.dsh/profiles/desktop
pnpm add dsh-prompt-crafter

Add the package name to dsh.profile.bundles and restart the app.

Storage

~/.dsh/prompt-optimizer/settings.json