DSH Plugins Marketplace

DSH Plugins

Plugins

/

Sessions & Messages

/

dsh-prompt-booster

d

dsh-prompt-booster

Manifest valid

Prompt booster for the composer. Left-click the composer button and the draft is lightly polished and replaced in place (undoable, no popup). Right-click opens a menu with 8 built-in modes plus your o

UI (client)hasBundlePatch

dsh-prompt-booster

A prompt booster for the DeepSeek Harness (dsh) web GUI. A small button next to the composer: left-click polishes the draft and puts it straight back, right-click picks a boost mode, edits a mode's template, or chooses which model does the rewrite.

English | 简体中文

This plugin is a modified version of dsh-prompt-enhance 0.3.2 by rongxingda (Apache-2.0). The preview panel, undo, draft guards, rate limits and model-call plumbing come from the original; this project adds boost modes, the mode editor, boost-model choice and the in-place quick boost. See the CHANGELOG and NOTICE for what changed.

Right-click menu: boost modes and the boost model

Features

  • Left-click: quick boost, applied in place. No popup: the button spins, the result replaces the composer text, and an Undo chip appears above the composer. The quick boost is a light touch: it smooths the wording and adds a few details the draft or conversation clearly implies, stays within about 1.5x the original length, and adds no role line, headings, steps or acceptance criteria. Click again while it runs to cancel; if you edit the draft while waiting, the result opens in the preview instead of overwriting your edits.
  • Right-click: pick a boost mode. Eight built-in modes: quick boost, concise, structured, fill in details, coding task, research, academic writing, rewrite in English. Every mode except the quick boost shows an original / result preview first, then you apply, copy or cancel. A long press (touch) or the keyboard context-menu key also opens the menu.
  • Edit mode templates, add modes. The ✎ next to each mode (or → on a focused row) edits its name and template; + Add a mode at the end creates a new one. Edited built-ins can be restored to default; created modes can be deleted. Modes are saved on the dsh host, so every browser and the /boost command share them.
  • Choose the boost model. Boost model at the bottom of the menu lists the models dsh can currently route to (the same live list as dsh's own model picker). It only affects boosting, never the chat model. The default, Follow default, uses the plugin settings pair → the current session's model → the dsh default model.
  • Slash command. /boost [@mode] text, e.g. /boost @coding fix the login page error. The result shows in the command plane and never enters the conversation history.
  • Follows the dsh theme. Colors, radii and shadows come from dsh's own design tokens, so light/dark follows dsh's appearance setting.
Mode editorPreview panel (dark)
Editing a mode templatePreview panel

Install

Requires dsh >= 0.1.1-rc.2 < 0.3.0 (tested on 0.2.1-rc.3).

From GitHub (the built lib/ is committed, so nothing is compiled on your machine):

dsh plugin --profile web add github:HanYu-me/dsh-prompt-booster
# the desktop app's profile is called "desktop": dsh plugin --profile desktop add github:HanYu-me/dsh-prompt-booster

A prebuilt dsh-prompt-booster.tgz is also attached to each release. Restart dsh after installing.

If dsh-prompt-enhance is installed too, disable one of them: both add a composer button and share the default shortcut (Ctrl+Alt+E).

Uninstall: dsh plugin --profile web remove dsh-prompt-booster, then restart dsh.

Usage

ActionResult
Left-click ✨ / Ctrl+Alt+EBoost with the default mode (quick boost by default: applied in place, undoable)
Right-click ✨Open the mode menu
Click a mode in the menuBoost with that mode
✎ next to a mode, or → on a focused rowEdit its name and template (⌘/Ctrl+Enter saves, Esc goes back)
+ Add a modeCreate a mode
Boost modelChoose the model used for boosting

A mode's template is appended after the base rewrite rules. Whatever it says, the rewrite keeps your intent, invents nothing, and outputs only the rewritten prompt. Except for the quick boost, the base rules add structure (role, steps, acceptance criteria); to keep a mode short, say so in its template, e.g. "keep it brief, no steps or acceptance criteria".

Settings

Edited on dsh's plugin configuration page (prompt-boost); changes apply to the next boost without a restart.

FieldDefaultDescription
enabledtrueMaster switch
quickApplytrueThe quick boost replaces the draft directly; off = preview like the other modes
defaultDirectiongeneralMode id used by left-click and the shortcut
customDirectionsemptyModes defined as text, one id | name | instruction per line (modes saved from the menu editor take precedence)
provider + modelemptyFixed model route (fill both); a model picked in the menu wins over it
temperature0.3Sampling temperature
maxOutputTokens2048Output budget of one boost
maxInputChars12000Draft length cap; longer drafts are refused, never truncated
timeoutMs60000Deadline of one boost
systemPrompt / strategyModeempty / replace-defaultCustom base rewrite rules and how they combine with the built-in ones
shortcutctrl+alt+eKeyboard shortcut; empty disables it
streamingtrueStream the result into the preview panel
contextAwaretrueUse the last few turns of the conversation to resolve references
contextMaxMessages / contextMaxChars8 / 4000How much conversation it may use
maxConcurrent / rateLimitPerMinute2 / 10Concurrency and per-minute caps

Data and privacy

  • Every boost is one model call that sends the draft to the chosen model; with contextAware on it also sends the last few turns of the conversation. Turn contextAware off when the conversation holds anything sensitive.
  • Modes saved from the editor live on the dsh machine in ~/.dsh/prompt-boost/directions.json (override with DSH_PROMPT_BOOST_DIRECTIONS_FILE).
  • The boost-model choice is stored in the browser (localStorage).
  • The plugin's HTTP routes only accept loopback requests.

Development

git clone https://github.com/HanYu-me/dsh-prompt-booster.git
cd dsh-prompt-booster
npm install
npm test          # unit, real-HTTP and component suites
npm run typecheck
npm run build     # lib/index.js (host half) + lib/client.js (browser half)
dsh plugin --profile web add link:$PWD

Browser-half changes need a rebuild and a page reload; host-half changes need a dsh restart. Commit lib/ together with the source, because GitHub installs are not built on the user's machine.

License

Apache-2.0.

  • Original work: dsh-prompt-enhance © rongxingda, Apache-2.0.
  • Modifications © 2026 Yu Han, also released under Apache-2.0.

Attribution and the list of changes are in NOTICE. Thanks to rongxingda for the original implementation.

Comments

Loading…

Similar plugins

dsh-prompt-enhancer

by xindady

Adds a prompt enhancement button to the composer toolbar that rewrites the draft through a model call, keeps @file references verbatim, and offers one-click undo.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add dsh-prompt-enhancer

by sun04222

Adds an ✦ button to the DSH composer that rewrites the current draft into a clearer, more specific prompt in the same language, with one click to restore the original, plus an enhance_prompt tool the

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-prompt-enhance

One-click prompt enhancement for the DeepSeek Harness composer: a chip beside the model selector rewrites the draft into a structured prompt using the session's own model.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add dsh-prompt-enhance

by iStarryDust

The star button in the composer enhances the draft with the session model and toggles back to the original text; the enhancement template files are editable.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 25, 2026

dsh plugin --profile web add @istarry/dsh-prompt-enhance

by ruiyukirin

DSH 输入框一键提示词增强按钮 | One-click prompt enhancement for the DeepSeek Harness composer: rewrite the unsent draft into a clearer, more specific prompt, restore the original with one click. Ported from Tencent WorkBuddy's EnhancePrompt design; independent model call that never touches the session log.

UI & ExperienceSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Oct 25, 2026

dsh plugin --profile web add dsh-prompt-optimization-master

by zzy6-a

DSH 输入框旁的一键提示词增强:把口语化的一句话改写成目标明确、细节完整的任务说明,可一键撤销;五种改写风格、模型可跟随或固定,含 @引用/命令芯片时自动置灰保护。

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 0

↓ 2.7k/wk

MIT

TypeScript

Sep 14, 2026

dsh plugin --profile web add dsh-prompt-enhance