AI Agent Hub
Back to plugins
🖥️

dsh-prompt-optimizer

Client Updated 2026.08.24

Run the following command in DeepSeek Harness:

dsh plugin install wangyuanchuan2022/dsh-prompt-optimizer

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

In DeepSeek Harness, install this plugin by running the command dsh plugin install wangyuanchuan2022/dsh-prompt-optimizer, with the full source code available at https://github.com/wangyuanchuan2022/dsh-prompt-optimizer.

About this plugin

In DeepSeek Harness, users often need to craft prompts for coding agents, but drafts may lack structure or clarity, leading to suboptimal agent performance. Additionally, the input box has long-text editing flaws, such as height constraints and inconvenient indentation, hindering user experience.

This plugin addresses these issues by introducing a 'one-click optimize prompt' feature. It adds an optimize button to the input toolbar, which, when clicked, automatically invokes an auxiliary LLM to rewrite the draft into a structured, agent-executable instruction while preserving original context details like file paths and attachment placeholders. The optimization process allows configuring reasoning effort to balance speed and quality.

The plugin also fixes framework defects in long-text editing, raises the input box maximum height, and supports Tab/Shift+Tab indentation, making multi-line text editing smoother. These enhancements simplify writing complex prompts and long content.

It is ideal for all developers, researchers, or users who need efficient long-text input with DSH coding agents, especially those frequently optimizing prompts to enhance agent reliability. By streamlining the optimization process and improving editing tools, the plugin significantly boosts workflow efficiency and input experience.

Use Cases

  • One-click optimizing prompt structure when writing complex prompts.
  • Enhancing input experience when editing long code snippets or documents.
  • Preprocessing instructions before using DSH coding agents.

Best For

  • Developers using DeepSeek Harness.
  • Researchers who frequently optimize prompts.
  • Technical users handling long text input.