dsh-prompt-optimizer
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.
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.