Skip to content

JoukoPuro/dsh-prompt-polish

30Last commit Aug 14, 2026

dsh-prompt-polish DSH plugin

This plugin adds an icon-only button to the web composer's tool row. Click it, pick a rewrite style, and the connected LLM rewrites your draft prompt to be more professional and easier for AI to understand. The polished text replaces the draft for review before sending.

How to install the dsh-prompt-polish DSH plugin

dsh plugin --profile web add ./dsh-prompt-polish

Copying does not run this command. Review the repository and version before installing the dsh-prompt-polish DSH plugin.

dsh-prompt-polish DSH plugin data source

dsh-prompt-polish DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-prompt-polish DSH plugin can do

  • Adds a sparkle glyph button in the composer tool row with a tooltip.
  • Four rewrite styles: balanced, concise, detailed, and code-oriented.
  • Multi-language UI supporting zh, en, ja, ko, fr, de, es, pt, ru, it, tr, vi.
  • Uses the current default agent model or an explicitly configured provider/model.
  • Configurable via YAML patch in the profile's cordis.patch.yml.

Where the dsh-prompt-polish DSH plugin fits

  • Polishing a draft prompt to improve clarity and professionalism.
  • Switching between different rewrite styles (balanced, concise, detailed, code) for various tasks.
  • Quickly rewriting prompts without leaving the composer interface.
  • Customizing the rewrite behavior by setting default style, max tokens, or custom system prompt.
  • Using the plugin with a specific model or provider via config.

Who the dsh-prompt-polish DSH plugin is for

  • Users of DeepSeek Harness web who want to improve their prompts efficiently.
  • Developers who want to extend or customize the plugin's behavior through configuration.

dsh-prompt-polish DSH plugin limitations

  • Requires a running DeepSeek Harness web profile with a configured model adapter (e.g., API key).
  • Only works in the web composer's tool row; not available in other contexts.
  • Rewrite quality depends on the underlying model's capability.
  • Configuration requires manual editing of cordis.patch.yml; no in-app UI for settings.

dsh-prompt-polish DSH plugin: from the repository README

Quoted from the JoukoPuro/dsh-prompt-polish README, the upstream source of the dsh-prompt-polish DSH plugin. Copyright remains with the original authors.

English | [中文](README.zh.md) A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH) plugin that adds a ✨ sparkle button to the web composer's tool row. Click it, pick a rewrite style, and the already-connected LLM rewrites your draft prompt to be more professional and easier for an AI to understand — then replaces the draft so you can review before sending. - **Icon-only button** — a sparkle glyph in the composer tool row; no text, tooltip gives the full description. - **Four rewrite styles** — balanced / concise / detailed / code-oriented. - **Multi-language UI** — menu copy follows your browser language (zh, en, ja, ko, fr, de, es, pt, ru, it, tr, vi; falls back to English). - **Uses your connected model** — resolves the current default agent model (`agentDefaultModel`), or an explicit `provider`/`model` from config. ## Requirements - DeepSeek Harness (`@deepseek-ai/dsh`) web profile running, with a model adapter configured (e.g. the DeepSeek provider with an API key in Settings). ## Install ```sh # from a checkout of this repository (or the directory containing it) dsh plugin --profile web add ./dsh-prompt-polish ``` Then restart `dsh web` so

Read the full READMERepository license: MIT

dsh-prompt-polish DSH plugin questions

How do I install the dsh-prompt-polish plugin?

Clone the repository and run `dsh plugin --profile web add ./dsh-prompt-polish` from the directory containing the plugin. Then restart `dsh web` to load the new bundle. The sparkle button will appear in the composer tool row.

What rewrite styles are available?

The plugin offers four styles: balanced (default), concise, detailed, and code-oriented. You can switch between them by clicking the sparkle button and selecting a style from the menu. The default style can be changed in the configuration file.

Can I use a specific model for rewriting instead of the default one?

Yes, you can specify an explicit provider and model in the plugin's configuration under `cordis.patch.yml`. For example, set `provider: deepseek-official` and `model: deepseek-v4-flash`. If omitted, the plugin uses the same default model as the session.

Why doesn't the sparkle button appear after installation?

Make sure you have a running DeepSeek Harness web profile with a model adapter configured (e.g., an API key for the DeepSeek provider). Also check that the plugin was added to the correct profile and that you restarted `dsh web`. The button only appears in the composer tool row when composing a new message.

How can I customize the rewrite prompt used by the plugin?

You can set a custom system prompt in the configuration file by adding a `system` field under the plugin's config section. This replaces the built-in per-style prompts entirely. The setting is optional and only available via YAML patch.