DeepSeek Harness plugin

dsh-prompt-boost

Trae-style input booster for the dsh web GUI: a sparkle ( ) button beside the model selector optimizes the typed draft into a high-quality, faithful, directly executable prompt via the session's

Jump to install

Source facts

Repository
060625dfy/dsh-prompt-boost
Latest update
Aug 16, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/060625dfy/dsh-prompt-boost
Plugin: dsh-prompt-boost
Author: 060625dfy

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-prompt-boost — 优化输入内容

English | 中文

> Trae-style input booster for the DeepSeek Harness (DSH) web GUI. A sparkle (✨) button beside the model selector rewrites your typed draft into a high-quality, faithful, directly executable prompt — and after optimization the same button turns into an undo (↩) icon to restore the original input.

Inspired by Trae CN's "优化输入内容" (optimize input) feature: type a rough idea, click the magic wand, and the composer text is rewritten into a clear, structured instruction that the AI can execute directly. If you don't like the result, click the undo icon to get your original text back — you can loop optimize ⇄ undo as often as you like.

Features

FeatureDescription
✨ Optimize inputOne-click rewrite of the current draft into a clear, structured, executable prompt
↩ UndoAfter a successful write-back the button becomes an undo icon; click it to restore the original input
Task-awareThe optimizer detects the task type (coding, data processing, writing, analysis, research, ops, …) and organizes content accordingly
Fidelity-firstEvery concrete detail from your input (paths, numbers, names, commands) is kept verbatim; nothing is invented — missing key info becomes a 【请补充:××】 placeholder
Natural outputTrae-style natural instruction text with numbered points — no "角色设定:/验收标准:" label headers, no JSON, no template tables
Language-lockedOutput always follows the input language (Chinese in → Chinese out, English in → English out)
Anti-clobberIf you edit the draft while optimizing, the result is not written back and undo is not armed

Screenshots

✨ Optimize input⏳ Optimizing↩ Undo available
![Optimize input button](docs/screenshots/01-optimize-button.png)![Optimizing](docs/screenshots/02-optimizing.png)![Optimized, undo available](docs/screenshots/03-optimized-undo.png)

How it works

  • Host half (lib/index.js): serves POST /api/prompt-boost/optimize. It streams the optimization call through llm.stream using the deployment's default model (agentDefaultModel), applies the v6 optimizer policy, and returns { text } or { error } (90 s timeout, 8000-char input cap).
  • Browser half (lib/client.js): registers the conversation.input.right seat (tool row, right beside the model selector, before the send button), POSTs the draft, writes the result back via inputActions.setDraft, and manages the undo state machine.

Zero build: the package is plain JavaScript (ESM host + __ModuleLoader__ web bundle).

Install

Add the bundle patch to your web profile roster, e.g. in ~/.dsh/profiles/web/cordis.patch.yml:

- insert:
    - id: prompt-boost
      name: 'dsh-prompt-boost'

with the package available to the profile's node_modules (npm/link install), then reload the DSH host and refresh the GUI.

Usage

1. Type a rough idea in the composer, e.g. 帮我写个脚本整理下载文件夹,文件太乱了 2. Click the ✨ button (spinner while optimizing) 3. Review the optimized instruction in the composer, then send 4. Not happy? Click ↩ to restore the original input and try another phrasing

Requirements

  • DSH with llm + agentDefaultModel services mounted and a configured default model
  • Browser web GUI (conversation composer)

License

MIT