DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
P

@local/dsh-prompt-optimizor

Prompt Optimizor

Prompt Optimizor — polish the composer draft with a configurable model, and switch back to the original with one more click.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Grampusworld/dsh-prompt-optimizor#5ab1626fc6ef69e910eb1ec011e32d08189fc18c
READMECompatibilityVersions
The ✦ button at the bottom-right of the composerSettings panel

Compatibility and provenance

Prompt Optimizor is published as @local/dsh-prompt-optimizor and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/29/2026

Versions

0.1.0stable
10/29/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
10/29/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in productivity-workflow.

Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / pet / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Remotedsh-remoteRemote-work assistant for DeepSeek Harness: connect SSH (password/key/agent/keyboard-interactive, multi-hop ProxyJump), list hosts from ~/.ssh/config, pick a remote workspace, operate on it with 21 rw_* tools, conflict-aware mirror sync, an embedded PTY tRewind Plugindsh-rewind-pluginIn-window conversation rewind with workspace file restoreModel Router@ljwei-stak/dsh-model-routerA unified DS Bot workspace for DeepSeek Harness Desktop: model and Bot routing, private libraries, recorded desktop routines and scoped remote computer control.

README

Prompt Optimizor

A DeepSeek Harness plugin that puts a small ✦ button next to the composer: one click rewrites the draft into a tighter prompt with the model you pick, a second click puts the original back.

中文说明 →

What it does

  • Adds a ✦ button to the composer's right-hand control row.
  • Click once — the current draft is sent to the configured model and replaced in place with the polished prompt. The button turns into "restore".
  • Click again — the draft goes back to exactly what it was before the first click.
  • Click while a request is running — cancels it; the draft is left alone.
  • Drafts that contain attachment or @-reference placeholders are skipped with a hint instead of being rewritten, so references are never dropped.
  • Ships its own settings panel under Plugins → Prompt Optimizor.

The button sits at the bottom-right corner of the composer:

The ✦ button at the bottom-right of the composer

Install

dsh plugin add github:Grampusworld/dsh-prompt-optimizor

From a local checkout, use the plugin manager instead:

plugin_manager action=install_bundle target=/absolute/path/to/dsh-PromptOptimizor

Reload after editing the source: disable and re-enable the plugin (or refresh the page).

Settings

FieldMeaningDefault
ModeBuilt-in model (uses the models already configured in Harness, no API key needed) or Custom OpenAI-compatible APIBuilt-in
provider / modelUsed in built-in mode; the list comes from Harness' own model catalogdeepseek-official / deepseek-flash
Reasoning effortModel default / off / low / high / max; falls back to the model's default when unsupportedoff
Base URL / Model name / API keyUsed in custom mode; any service that accepts POST {base}/chat/completionsempty / deepseek-chat / empty
Polishing promptSystem instruction sent to the model; saving an empty value restores the defaultbuilt-in "prompt compressor" prompt
Max charactersRequests above this are refused with a hint instead of being sent8000
Request timeoutMilliseconds60000

Save and test saves first, then runs a sample prompt end to end and shows the before/after.

Settings panel

How it works

  • Host half (index.js) registers /api/prompt-optimizor/{state,catalog,optimize,test}. The routes accept loopback peers only, require application/json on POST, and cap request bodies at 256 KiB. Two polishing paths:
    • built-in mode streams through ctx.llm.stream, so it uses the providers Harness already has;
    • custom mode fetches any OpenAI-compatible /chat/completions endpoint.
  • Browser half (client.js) mounts the button into conversation.input.right (rewriting the draft through inputActions.setDraft) and the settings panel into plugins.bundle.config.
  • Configuration is read and written through the settings service under the namespace dsh-prompt-optimizor; the schema is declared with schemastery, so no manual package.json or cordis.patch.yml edits are needed.

Privacy

The API key is stored in your local Harness profile configuration and is never sent back to the page — GET /api/prompt-optimizor/state only answers hasApiKey. Requests go from your machine straight to the provider you configured.

Development

node --check index.js && node --check client.js

License

MIT.