dsh-prompt-polish
Run the following command in DeepSeek Harness:
dsh plugin install gaowei-AFK/dsh-prompt-polish
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install gaowei-AFK/dsh-prompt-polish inside DeepSeek Harness, or fetch the pre-built package from https://github.com/gaowei-AFK/dsh-prompt-polish, then restart the WebUI so the polish button appears in the input toolbar.
About this plugin
Writing a first draft in the WebUI is fast; refining it into a clean, structured prompt is where time goes. dsh-prompt-polish drops a single ✨ button into the input toolbar. One click and the plugin calls your configured LLM (DeepSeek by default) to rewrite a rough, fragmented request into a clear, actionable prompt, writing the result straight back into the input box for your review. Nothing is submitted automatically and the process is fully non-destructive.
On the server side the plugin exposes a same-origin POST endpoint at /dsh-prompt-polish/polish. You can set a default provider and model via the cordis patch, or override them per request from the client. Output is capped at 2000 tokens by default; if the model hits that ceiling the response still returns usable text with a truncated flag so downstream logic can adapt.
It is aimed at developers and technical writers who live in the DeepSeek Harness WebUI and want a one-click path from rough idea to polished prompt, as well as front-end engineers who need a clean, programmatic polish endpoint to wire into their own workflows or pipelines.
Use Cases
- Polish a rough draft into a structured prompt with one click in the WebUI toolbar
- Integrate LLM-based prompt rewriting into a custom pipeline via the same-origin polish endpoint
- Review and edit the polished text before sending, keeping the workflow fully non-destructive
Best For
- Developers who write prompts daily in the DeepSeek Harness WebUI
- Front-end engineers who want a one-click path from rough idea to polished prompt
- Technical teams that need a clean, standalone polish endpoint for their own integrations
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.