DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

dsh-smart-prompt

Smart Prompt

一键将输入框中的草稿改写为更清晰、更适合 Agent 执行的提示词,并支持撤销和重试。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:Arrosam/dsh-smart-prompt#1ea420d69e5b8d7e185f23fdc90f128ceb29c0f3
README兼容性版本

兼容性与来源证明

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

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

版本

0.10.1stable
2026/10/19

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Headless@deepseek-ai/dsh-headlessdsh one-shot bundle:基于 dsh-base 的直接核心 Agent/Session 运行器,不包含 Host、HTTP 或浏览器层Experimental Agent Team Profile@deepseek-ai/dsh-experimental-agent-team-profile在一个实验性捆绑包中提供 Agent Teams 协作、工具和 Web UIExperimental Ralph Bundle@deepseek-ai/dsh-experimental-ralph-bundle使用全新代理执行明确请求的重复工作。Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序

README

dsh-smart-prompt

A DSH plugin that turns a rough composer draft into a clear prompt an agent can act on, in one click.

Type your request the way you would say it, click the ✦ button next to Send, and the draft is replaced with a cleaner version. Paths, names, numbers, URLs and code from your draft are kept exactly as you wrote them.

Install

In DSH, open Plugins → Add plugin and enter dsh-smart-prompt. Or from a terminal:

dsh plugin --profile web add dsh-smart-prompt

Restart DSH. The ✦ button appears in the composer, just left of Send. No API key is needed: the plugin uses the models you have already set up in DSH.

To uninstall:

dsh plugin --profile web remove dsh-smart-prompt

Use it

  1. Type a draft, for example:

    can you change maxRatioFor in src/host/config.ts to 2.5 and check it with pnpm build

  2. Click ✦. After a few seconds the draft becomes:

    Change maxRatioFor in src/host/config.ts to 2.5, then verify with pnpm build.

  3. A short note above the composer shows the result: how many hard facts were kept, the length change, and the time taken.

  4. Not happy with it? Use the Revert | Retry buttons next to ✦:

    • Revert puts your original draft back.
    • Retry generates a new version from your original draft.

    They stay available until you edit or send the draft.

Click ✦ again while it is working to cancel. If anything goes wrong (no model, timeout, network error), your draft is left untouched and a short error explains why.

Slash commands work too: in /bugfix <text> the command stays as is and only the text is rewritten.

Follow-up questions

If the draft is missing something only you can answer (which endpoint, what limit, which option), DSH's question card opens in place of the composer with a few short questions. Answer them and the prompt is rewritten again with your answers included.

  • Answer "I don't know" and the prompt tells the agent to find it out itself, or to suggest options and carry on with the most reasonable one.
  • Skip a question or close the card, and you get the first rewrite with (TBD: …) notes for the gaps.
  • If the request fails after you answered, click Retry on the error bubble. Your answers are reused, so you are not asked again.
  • No questions are asked when the draft already has what it needs.

What it guarantees

  • Nothing important is lost. Before rewriting, the plugin lists the hard facts in your draft: file paths, identifiers, numbers and versions, URLs, code, and @mentions. It then checks that each one survived. If the model dropped one, it gets one more try. If a fact is still missing, it is added back at the end under "Preserved original details".
  • Nothing is invented. A vague draft is not padded with made-up requirements. Gaps are marked (TBD: …) instead.
  • No runaway length in Light mode. A Light rewrite may grow to 2× the draft, and always at least 600 characters. A longer result gets one chance to shorten. If it is still too long, it is discarded and your draft is kept. Standard mode has no length cap by default (set standardMaxRatio to add one).
  • At most three model calls per click: the rewrite, a second rewrite with your answers (only when you answered follow-up questions), and one repair.

Settings

Open Settings → Plugins → dsh-smart-prompt (DSH 0.2 or later).

SettingOptions
Improvement methodStandard: restructures the draft so an agent can execute it directly. Light: only removes filler and clears up ambiguity.
Model used to improve promptsConversation model: uses the model chosen in the current conversation, or your DSH default. Dedicated model: always uses the model you pick here, with its own reasoning effort.
Follow-up questionsThe most questions to ask when the draft is missing information. Default 5.

Session context

When a draft can't stand on its own, such as "do the same for that endpoint" or a very short draft, the plugin includes the last few turns of the conversation. Only your messages and the assistant's text replies are sent. Tool results, images and source code are not.

Advanced

Configuration

Other options live in the profile's cordis.patch.yml. All are optional; the values below are the defaults:

- insert:
    - id: dsh-smart-prompt
      config:
        lightMaxRatio: 2
        standardMaxRatio: 0        # 0 = no length cap
        acceptanceCriteria: false  # Standard: add a checkable "done when" line
        temperature: 0.3
        maxTokens: 8192
        timeoutMs: 180000
        maxInputChars: 20000
        contextTurns: 3            # 0 turns session context off
        contextChars: 6000
        smartContext: true
        fidelityGate: true
        lengthGate: true
        reasoningEffort: low       # effort used with the conversation model
        logFailures: true

Custom prompts

The rewriting instructions are plain Markdown files in prompts/:

  • discipline.md: the shared rules.
  • standard.md and light.md: one file per mode.
  • questions.md: when and how to ask follow-up questions.
  • answers.md: how to fold your answers in, including "I don't know".

To change them, put a file with the same name in $DSH_HOME/dsh-smart-prompt/prompts/. Your file is used instead of the built-in one.

Local HTTP API

These endpoints accept local connections only:

  • GET /dsh-smart-prompt/api/config returns the current mode and limits.
  • POST /dsh-smart-prompt/api/improve with { "text": "...", "sessionId": "...", "mode": "standard" } returns the rewritten text and its quality figures.

Build from source

pnpm install
npx tsc -p tsconfig.json   # host half → lib/
npx tsdown                 # browser half → lib/client.js
node --test test/*.test.mjs

The built lib/ is committed, so installing from GitHub needs no build.

Credits

Forked from dsh-improve-prompt by hoyyang. See CONTRIBUTORS.

License

MIT