Prompt Manage: Reusing and Optimizing Prompts in DeepSeek Harness

Introduction

When building agents or engaging in long-running conversations with DeepSeek Harness (DSH), you’ll often find yourself rewriting similar prompts across different projects and sessions. Manually retyping or copy-pasting between windows wastes time and is error-prone. Prompt Manage is a client-side plugin that helps you reuse prompts you’ve already written and rewrites your draft into a clearer instruction before you send it.

What Is It

Prompt Manage (dsh-prompt-manage) is a client-side plugin for DeepSeek Harness. It provides three main capabilities: a searchable prompt palette that pops up beside the editor, draft optimization using the current model, and a full prompt history view accessible from the sidebar. Maintained by maxlee, it is released under the MIT License.

Core Features

Prompt Palette

Next to the model selector in the conversation view, there is a clock icon. Clicking it opens the prompt search panel. You can search by prompt content, project name, or conversation title. Multiple keywords can be separated by spaces, and all keywords must match. Once you find the right prompt, click “Apply” and it will be inserted at the cursor position. Edit as needed and send.

Prompt Optimization

Click the magic wand icon, and the plugin will use the current model to rewrite the draft in your input box. This is essentially sending your draft to the currently selected model and having it generate a clearer version. If you’re not satisfied, click “Undo” to restore the original text.

Prompt Management Page

From the sidebar, you can open the “Prompt Management” page to view all saved prompts along with their associated project, conversation, and timestamp. Each entry has a “Copy” button for one-click copying of the full prompt text.

Installation & Activation

Before installing, make sure your DeepSeek Harness version is 0.2.2 or higher, and that you are using the Web or Desktop profile.

Install from npm:

dsh plugin --profile desktop add dsh-prompt-manage

If installing from a local directory, open “Plugins → Add Plugin” in DeepSeek Harness and select the local directory.

Once installed, the plugin is active automatically—no additional configuration required.

Typical Workflows

Reusing a Prompt

  1. Open any conversation and click the clock icon next to the model selector.
  2. Enter keywords to search. For example, react login will find prompts containing both terms.
  3. Click “Apply” or press Enter to insert the prompt at the cursor position.
  4. Make any necessary edits and send.

Optimizing a Draft

  1. Type or paste a draft into the input box.
  2. Click the magic wand icon to let the current model rewrite it.
  3. Review the rewritten output. If needed, click “Undo” to restore the original.

Browsing Prompt Management

  1. Open the “Prompt Management” page from the sidebar.
  2. View all prompts with their project, conversation, and timestamp information.
  3. Click “Copy” to copy the full prompt text.

Use Cases & Notes

Ideal for agent developers who frequently reuse prompts or need to repeatedly refine instruction quality. The plugin runs with the permissions of the current DSH process, so it’s advisable to review the source code and license (MIT) before installation to ensure it meets your compliance requirements.

Conclusion

With Prompt Manage, you can quickly reuse prompts you’ve already crafted and leverage the model’s capabilities to polish your drafts into clearer instructions. For more details, see the plugin catalog page or the GitHub repository.

  • Plugin catalog: https://www.skillhub.cn/plugins/maxlee/dsh-prompt-manage
  • GitHub: https://github.com/maxlee/dsh-prompt-manage
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye