AI Agent Hub
Back to plugins
⚙️

dsh-prompt-enhancer

Workflow Updated 2026.08.20

Run the following command in DeepSeek Harness:

dsh plugin install Vinzelles/dsh-prompt-enhancer

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

In your DeepSeek Harness chat, send the message "Please install the plugin from https://github.com/Vinzelles/dsh-prompt-enhancer", then restart dsh web or refresh the page to start using it.

About this plugin

A common frustration when running agent workflows in DSH is this: you know exactly what you want in your head, yet the prompt that lands in the input box is scattered, missing file references, and under-specified. The agent either guesses wildly or fires back a dozen clarifying questions. dsh-prompt-enhancer closes that gap with a single Enhance button next to the input field. Your draft is handed to an isolated background agent in a sub-session that pulls in your conversation context, globs and greps the repository to find the files that genuinely matter, and rewrites the draft into a well-structured, constraint-rich task brief with a presence-verified reference file list appended at the end. The result replaces your draft in the input box; nothing is auto-sent and nothing leaks into the main chat history, so you review before sending.

Three intensity levels cover the range: Low does light wording and structure polish closest to the original; Medium (default) delivers a standard optimization with compact output listing reference paths only; High fully expands background, steps, and acceptance criteria with annotated file references. Skill reference tokens such as /tdd or /code-review are preserved verbatim through the rewrite, with an automatic fallback section if the model accidentally drops them. Changed your mind? One click on Restore puts the original text back, and the button disappears on its own once you have edited the draft or sent the message. You can also point a lightweight model at the enhancement pass independently of your session default, with the setting taking effect immediately without a restart.

What makes it trustworthy is the refusal to fabricate: every path in the reference list is checked for existence and invented entries are silently dropped; if there is no repository or the search returns zero hits, the section is omitted entirely. A failed sub-session degrades gracefully to a direct model call, and if that fails too, your original text is kept with a retry prompt. You can abort the enhancement at any time and the draft stays untouched. If you work daily with DSH on agent workflows, code generation, or task automation and would rather not manually structure every prompt or hunt down file paths by hand, this plugin is a quiet, dependable quality-of-life upgrade worth trying.

Use Cases

  • You have a rough one-line requirement and want the agent to understand it instantly with relevant file references
  • Your prompt is scattered and missing file paths, so the agent keeps asking clarifying questions
  • Manually structuring prompts and hunting down file paths eats into your dev time

Best For

  • Developers who run DSH agent workflows daily
  • Prompt writers who want to skip manual structuring and file-path hunting
  • Heavy DSH users who care about prompt quality without sacrificing speed