AI Agent Hub
Back to plugins
🤖

dsh-prompt-polish

Model Inference Updated 2026.08.26

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