dsh-prompt-better
Manifest validAdds a button to the composer that rewrites the current draft into a clearer, more specific prompt through a one-shot LLM call, with one-click revert and cancel.
DSH Prompt Better
✨ One click. A clearer prompt.
Turn a rough idea into a focused prompt—right where you write. Enhance, cancel, or restore without leaving your conversation.
English · 简体中文
From rough idea to ready-to-send
Ask a quick question, then enhance it into a clear request with useful context.
| BEFORE | AFTER |
![]() | ![]() |
A simple three-state button
| ✨ Enhance | ↺ Restore | |
|---|---|---|
| Rewrite your draft in place. | The animated spinner shows the request is running. | Bring back the original draft at any time after enhancement. |
The rewrite keeps your draft's language. Your text stays safe, too: if a request fails or you keep typing while it runs, the plugin won't replace it. File-reference chips are preserved.
Uses your current DSH model
Enhancement follows the model selected for the conversation when you click ✨, using your existing DSH provider and API setup. No separate API key or model setup is needed. If the conversation has no model selection, the DSH host's default model is used.
Get started
You need a working DSH installation and profile.
-
Build the package:
pnpm install pnpm build -
Add it to your profile's
package.jsonand bundle list:{ "dependencies": { "dsh-prompt-better": "link:<absolute path to this package>" }, "dsh": { "profile": { "bundles": ["...", "dsh-prompt-better"] } } } -
Restart DSH, type a draft, and click ✨ beside the chat input.
Optional: set a timeout or pin a model
Add this to your profile's cordis.patch.yml. Usually, no extra configuration is needed.
- id: enhance-prompt
name: dsh-prompt-better
config:
timeoutMs: 120000
# Optional: use a fixed model instead of the conversation's selection.
# provider: deepseek-account
# model: deepseek-flash
Development
pnpm install
pnpm build
pnpm typecheck
Comments
Loading…
Similar plugins
Optimize Prompt button under the composer: one click rewrites your draft into a clearer, more executable prompt, with a before-and-after dialog and one-click replacement.
★ 0
↓ 185/wk
dsh plugin --profile web add dsh-prompt-optimizerby LCQ-1024
Adds a prompt-enhancement button to the DSH composer that rewrites drafts into agent-ready prompts.
★ 3
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-prompt-enhancerOne-click draft polish for the DSH composer: rewrites your spoken draft into professional wording, sends only the draft snapshot (never conversation context), and never blocks sending if the LLM is un
★ 0
dsh plugin --profile web add dsh-draft-polishby du-u-uck
Adds a one-click prompt optimization button to the DSH composer, with undo and an optional dedicated optimizer model.
★ 0
MIT
TypeScript
Sep 13, 2026
dsh plugin --profile web add dsh-prompt-optimizationOne-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.
★ 0
MIT
JavaScript
dsh plugin --profile web add dsh-prompt-enhanceOne-button prompt optimizer: rewrites the composer draft via a configurable strategy, with an editable template, few-shot examples, pinned models and reasoning effort.
★ 0
dsh plugin --profile web add @panando/dsh-prompt-optimizer
