Back to directory

dsh-prompt-rewriter

In a curated listMaintenance: Active

huaguoxingkong/dsh-prompt-rewriter

One-click prompt enhancement beside the DeepSeek Harness composer: rewrites a draft in place without sending it.

View on GitHub
$ dsh plugin --profile web add dsh-prompt-rewriter

203

stars

1

forks

JavaScript

Language

MIT

License

2026-10-28

Created

2026-10-31

Last push

A composer button fills in goals, format and boundaries while keeping the result editable. It uses the selected session model or a fixed model, with optional conversation context.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-10-30

License

MIT

01What can it help you accomplish?

  • Expand a rough draft into a more complete task instruction.

    An editable prompt in the composer with clearer goal, format and boundaries; nothing is sent automatically.

    DeepSeek Harness users preparing a draft before sending it.

02How to install into DeepSeek Harness

Prerequisites

  • DeepSeek Harness and Node.js 22 or later.

Installation steps

  1. 01

    For the web build, run `dsh plugin --profile web add dsh-prompt-rewriter`; for the desktop app, run `dsh plugin --profile desktop add dsh-prompt-rewriter`.

    $ dsh plugin --profile web add dsh-prompt-rewriter

  2. 02

    Restart Harness after installing.

Verify the integration

  • Enter a nonempty draft and click the whale-tail icon just left of the model name; the rewritten prompt replaces the draft.

Rollback

  • Undo the draft edit with `Ctrl+Z` or the button’s undo arrow.

03DSH integration and capability boundaries

DSH integrationNative runtime

Host and client plugin for the web or desktop profile; edits the composer draft in place.

04Who is it for? When not to use it?

Good for

  • DeepSeek Harness users preparing a draft before sending it.

Not for

  • Node.js 22 or later is required; installation requires a Harness restart because the plugin has no HMR.

05Compatibility, maintenance and safety notes

  • Node.js 22 or later is required; installation requires a Harness restart because the plugin has no HMR.
  • Only composer images can participate; images from earlier messages are never read.
  • Replacement is non-streaming; the button stays animated until the rewrite arrives.
2026-10-282026-10-30v1.6.1

Public GitHub source; README code license: MIT.

06Frequently asked questions

Does it send the rewritten prompt in DeepSeek Harness?

No. It only replaces the composer draft. Use Ctrl+Z or the undo arrow to restore it.

Which DeepSeek Harness profile should I install into?

Use the web add command for the web build or the desktop add command for the desktop app. Node.js 22 or later and a Harness restart are required.

Can the rewrite use a different model from normal chat?

Yes. Under Settings → Prompt rewriter, enable Use a fixed model. Otherwise it follows the model selected for the session.

Can it read older conversation images?

No. Only images currently in the composer can participate. Earlier turns can be referenced as conversation context, which costs extra tokens.

08Data and sources

  • Author-claimedgithub.com99090b92feb5…

    DeepSeek Harness, `node >= 22`. **Restart Harness after installing** — this plugin has no HMR.

  • Author-claimedgithub.com99090b92feb5…

    dsh plugin --profile web add dsh-prompt-rewriter # web build

  • Author-claimedgithub.com99090b92feb5…

    dsh plugin --profile desktop add dsh-prompt-rewriter # desktop app

  • Author-claimedgithub.com99090b92feb5…

    **It rewrites the box, it never sends.** Don't like it? `Ctrl+Z` and you're back.

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-10-30. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.