dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:HanYu-me/dsh-prompt-booster
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
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.

/boost command share them./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.| Mode editor | Preview panel (dark) |
|---|---|
![]() |
![]() |
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-enhanceis 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.
| Action | Result |
|---|---|
Left-click ✨ / Ctrl+Alt+E |
Boost with the default mode (quick boost by default: applied in place, undoable) |
| Right-click ✨ | Open the mode menu |
| Click a mode in the menu | Boost with that mode |
| ✎ next to a mode, or → on a focused row | Edit its name and template (⌘/Ctrl+Enter saves, Esc goes back) |
| + Add a mode | Create a mode |
| Boost model | Choose 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".
Edited on dsh's plugin configuration page (prompt-boost); changes apply to the next boost without a restart.
| Field | Default | Description |
|---|---|---|
enabled |
true |
Master switch |
quickApply |
true |
The quick boost replaces the draft directly; off = preview like the other modes |
defaultDirection |
general |
Mode id used by left-click and the shortcut |
customDirections |
empty | Modes defined as text, one id \| name \| instruction per line (modes saved from the menu editor take precedence) |
provider + model |
empty | Fixed model route (fill both); a model picked in the menu wins over it |
temperature |
0.3 |
Sampling temperature |
maxOutputTokens |
2048 |
Output budget of one boost |
maxInputChars |
12000 |
Draft length cap; longer drafts are refused, never truncated |
timeoutMs |
60000 |
Deadline of one boost |
systemPrompt / strategyMode |
empty / replace-default |
Custom base rewrite rules and how they combine with the built-in ones |
shortcut |
ctrl+alt+e |
Keyboard shortcut; empty disables it |
streaming |
true |
Stream the result into the preview panel |
contextAware |
true |
Use the last few turns of the conversation to resolve references |
contextMaxMessages / contextMaxChars |
8 / 4000 |
How much conversation it may use |
maxConcurrent / rateLimitPerMinute |
2 / 10 |
Concurrency and per-minute caps |
contextAware on it also sends the last few turns of the conversation. Turn contextAware off when the conversation holds anything sensitive.~/.dsh/prompt-boost/directions.json (override with DSH_PROMPT_BOOST_DIRECTIONS_FILE).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.
Attribution and the list of changes are in NOTICE. Thanks to rongxingda for the original implementation.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。