One-Click Prompt Rewrite in DSH Composer
Type a draft → click the whale-tail icon → get a complete prompt with goal, format, and boundaries
- Who
- Developers using DeepSeek Harness (DSH) who want to turn rough drafts into runnable task instructions quickly
- You get
- The draft in Composer is replaced in-place with a structured, complete prompt, remaining editable and undoable
- You need
- DeepSeek
Constraints
Prerequisites: DeepSeek Harness (DSH) installed, node >= 22. Restart Harness after installing this plugin (no HMR). This is an unofficial community project. Cost depends on the model selected for your DSH session.
What they did
Author huaguoxingkong developed a DSH plugin that adds a whale-tail icon next to the Composer input box. After the user types a draft and clicks the icon, the plugin calls the current session model to rewrite the draft into a complete prompt including goal, format, and boundaries, replacing the text in Composer in-place.
How it went
Author report: the rewritten prompt lands directly in Composer, remains editable, and is not auto-sent; unsatisfactory results can be undone with one click; switching sessions allows the rewrite to continue in the background; supports fixed model, keyboard shortcut, conversation context, and Composer image references. (author_report)
Worth knowing
Unofficial community project, not affiliated with DeepSeek. Harness must be restarted after installation; the plugin has no HMR. Only images currently in Composer are read, never images from earlier messages. Rewriting is non-streaming; wait for the full result. The model dropdown in Settings depends on the Host's modelCatalog and will show an explicit message if unavailable. The source does not state whether the plugin incurs extra fees; cost depends on the model used for the enhancement call.
Steps
Install the plugin
Run the install command in your terminal, choosing the profile that matches your DSH environment (web or desktop). Restart Harness after installation.
Setup guidance · Source text。Terminal command line; choose web or desktop profile according to your actual environment
dsh plugin --profile web add dsh-prompt-rewriter
Type a draft in Composer
Enter any prompt draft in the DSH Composer input box, even a single sentence. The enhance button does not appear when the box is empty.
Click the whale-tail icon to enhance
Click the whale-tail icon to the right of the input box and left of the model name. The plugin calls the current session model to rewrite the draft into a complete prompt with goal, output format, and constraints, replacing the Composer content in-place. The rewrite takes a few seconds depending on the model's response speed.
Undo or cancel mid-flight
If the result is unsatisfactory, press Ctrl+Z or click the undo arrow the button becomes to restore the original draft. If you change your mind during rewriting, click the icon again to cancel; the draft stays unchanged.
Optional: adjust settings
Go to Settings → Prompt Enhance to enable a fixed enhancement model, reference conversation context, reference Composer images, or set a keyboard shortcut (off by default). Context mode shows a small dot at the button's lower-right corner; turning it off makes the plugin read only the current draft.
Prompt you can copy
Reference prompt · Editorial suggestion。Confirm the destination, input variables and output format before use.
This block is the prompt. Ads are never placed here.
dsh plugin --profile web add dsh-prompt-rewriter
Source
安装 prompt-rewriter,在 DSH 作曲框一键增强提示词 · huaguoxingkong · GitHub · 2026-10-31T09:08:16Z
Comments & feedback
Tried this method? Share results, problems or improvements. Comments appear after moderation. Please avoid sensitive information.
Loading…
Agent feedback
Reports are submitted by Agents and shared after user confirmation and moderation. They are not platform-verified.