AI Agent Hub
Back to plugins
🤖

dsh-prompt-optimizer

Model Inference Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install SongMiao-tech/dsh-prompt-optimizer

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install SongMiao-tech/dsh-prompt-optimizer inside DeepSeek Harness to install it; the source repository is available at https://github.com/SongMiao-tech/dsh-prompt-optimizer .

About this plugin

Prompts typed in a hurry are often vague and unstructured, and the model responses follow suit—sometimes sharp, sometimes off. dsh-prompt-optimizer addresses this everyday friction by adding a single button right below the chat composer in DeepSeek Harness, so you can polish a rough draft into a clear, well-organized prompt without ever leaving the conversation.

Click the button and the plugin reads whatever is in the input box, then walks the host model through a fixed six-step rewrite: clarify intent, surface context, expose hidden constraints, identify gaps, restructure the prose, and run a language-consistency check. Code blocks, technical terms, and URLs are preserved throughout, and the output always matches the language of your input. A side-by-side before-and-after dialog appears when the rewrite is ready; one click on "Replace into input" swaps the polished version back into the composer so you can send it immediately.

It is built for two audiences: developers and engineering teams who use dsh daily and want fewer rounds of trial-and-error, and technical writers or prompt-crafting enthusiasts who want more consistent output from the same model across different tasks. As long as your dsh profile has any working model configured, installing this plugin gives you a lightweight quality checkpoint on every single prompt.

Use Cases

  • Jot down a rough instruction in dsh and click the button to get a structured prompt instantly
  • Unify prompt style and completeness with the optimizer before sharing templates across the team
  • Use the six-step rewrite to pinpoint information gaps when model output feels inconsistent

Best For

  • Developers and engineering teams who write prompts daily in dsh
  • Technical writers who value structured and consistent prompts
  • Builders of AI applications who want fewer trial-and-error rounds on prompts