dsh-prompt-optimizer
Run the following command in DeepSeek Harness:
dsh plugin install xinmo114514/dsh-prompt-optimizer
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install xinmo114514/dsh-prompt-optimizer in your terminal to install; the source code is available at https://github.com/xinmo114514/dsh-prompt-optimizer
About this plugin
When prompting an AI agent, vague requests tend to produce off-target results, while manually crafting structured prompts for every task is exhausting. dsh-prompt-optimizer bridges that gap: type a rough request in the input box, click the spark button, and the plugin uses your currently selected model to rewrite it into a high-quality, agent-ready instruction that supports autonomous planning, execution, and self-verification. The polished output is dropped straight back into the input field, ready to send.
The design centers on two adaptive templates. Content-oriented tasks receive a structured-instruction template; code and execution tasks receive an Agent execution manual that includes verifiable goals, phased plans with checkpoints, an acceptance checklist, and a self-correction protocol. Missing information is never assumed-it is written as an exploration directive so the agent can discover the answer on its own. The plugin also cues the agent to inventory its loaded Skills and invoke only those that match the task domain. While optimization runs, the input field is locked via conversation.blocks to prevent accidental overwrites, a flowing rainbow gradient border signals progress, and a status line displays the model name plus success or failure details.
Best suited for developers who drive coding agents through DSH on a daily basis: frontend engineers, full-stack developers, and anyone who frequently issues complex tasks to AI agents and expects them to get it right the first time.
Use Cases
- Describe a vague task in one sentence and get a structured, agent-ready instruction with one click
- Transform a simple request into a full execution manual with acceptance criteria and phased plans
- Locked input and rainbow gradient border keep you informed during optimization without losing your draft
Best For
- Frontend and full-stack developers who drive coding agents through DSH daily
- Engineers who frequently issue complex tasks to AI agents and want results right the first time
- AI tool users who want to cut manual prompt-writing time and boost task success rates
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.