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.

Input Optimizer — DSH Plugin for DeepSeek Harness
← Plugins
I

dsh-input-optimizer

Input Optimizer

Prompt optimization for DeepSeek Harness: rewrite the input-box draft into a better prompt through dsh's own LLM routes

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

npx -y @deepseek-ai/dsh plugin --profile web add github:xkjxziochu/dsh-input-optimizer#81b358003409a709937c8bdacd4c00f990a868b3
READMECompatibilityVersions

Compatibility and provenance

Input Optimizer is published as dsh-input-optimizer 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/1/2026

Versions

0.1.0stable
10/1/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
★ 0
Weekly downloads
0
Last push
10/1/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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in productivity-workflow.

Codex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航 · A Codex-style sidebar, workspace session tree, global search, and turn navigation for DSH WebRemotedsh-remoteRemote-work assistant for DeepSeek Harness: connect SSH (password/key/agent/keyboard-interactive/proxy jump), pick a remote workspace, operate on it with 22 rw_* tools (incl. rw_edit/rw_stat/rw_mkdir/rw_remove/rw_move/rw_forward), conflict-aware mirror syAi Novel Writer@ethanyoq/dsh-ai-novel-writerA local-first novel project plugin for DeepSeek HarnessMneme@modusensus/dsh-mnemeCross-session memory plugin for DeepSeek Harness with autoDream consolidation: SQLite store, Markdown mirrors, 9 model tools, automatic injection, session summarization, user profile/rules, custom slash commands, vector (semantic) search, and a Web GUI pa

README

dsh-input-optimizer

A standalone dsh plugin that adds a ✨ 提示词优化 button to the dsh input box: it rewrites the draft you are typing into a better prompt using the LLM routes the harness is already configured with, then shows an 原文 / 优化后 comparison so you decide whether to adopt the rewrite.

Extracted from dsh-better-input (only the prompt-optimize capability — the voice-recognition chain and the ASR transcript cleanup are not included).

Feature

  • ✨ optimize the input draft. Click the button next to the send button; the current draft is sent to the configured optimize route and the result appears in a confirm panel. 采纳 replaces the draft, 取消 keeps it untouched.
  • Uses dsh's own credentials. No separate API key: the plugin calls ctx.llm, so it reuses whatever providers the harness already has.
  • Recent conversation as context. The last N turns (default 3, configurable 0–20) are passed along so a follow-up like "改成更正式一点" is rewritten in context. 0 disables context entirely.

Settings

Settings live under the plugin's own namespace (dsh-input-optimizer) and are edited from the dsh settings page (settings section 「提示词优化」):

FieldMeaning
Optimize provider / modelThe route used for rewriting. Auto-filled with the first available route on first open.
Reasoning effortEffort tier for the rewrite; empty means "thinking off" (the model's off tier when advertised, otherwise the adapter default).
Custom optimize promptReplaces the built-in system prompt entirely. Empty uses the built-in.
Context turnsHow many recent turns to include as context, 0–20.

The plugin's settings namespace is derived from its exported Config schema, so every field is declared .volatile() — that is what makes the entry visible to dsh-settings and editable live.

Install

From npm (recommended)

dsh plugin --profile <profile> add dsh-input-optimizer

From a git checkout

git clone https://github.com/xkjxziochu/dsh-input-optimizer.git
cd dsh-input-optimizer && pnpm install && pnpm build

then add "dsh-input-optimizer": "file:/path/to/dsh-input-optimizer" to the profile's package.json dependencies, add dsh-input-optimizer to its dsh.profile.bundles list, and reinstall.

What the package installs

It ships a cordis.patch.yml (declared as dsh.bundle.patch) that inserts the plugin into the profile:

- insert:
    - id: dsh-input-optimizer
      name: dsh-input-optimizer

Build

pnpm install
pnpm build     # tsdown (host esm + browser cjs bundle) + tsc declarations
pnpm check     # tsc --noEmit

Layout:

  • src/index.ts — host entry (name / Config / apply).
  • src/optimize/service.ts — the PromptOptimizer Typert remote service (getSettings / updateSettings / listRoutes / resolveModelEfforts / optimize).
  • src/client.ts → lib/client.js — the browser half (button + confirm panel + settings section).
  • src/remote.ts — the Typert descriptor contribution.

Requirements

dsh ^0.2.0-rc.1. The 0.2 line changed two things this plugin depends on: the Typert codec is now { create: () => schema } instead of { schema }, and dsh-settings replaced register() with a Config-derived namespace plus describe() / update().