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.

Auto Preset Router — DSH Plugin for DeepSeek Harness
← Plugins
A

dsh-auto-preset-router

Auto Preset Router

Route the first prompt to one of DeepSeek Harness's four shipped Agent Presets with DeepSeek V4 Flash.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:yhfgyyf/dsh-auto-preset-router#0a292c14405879d66f6bba5150db82510bd05955
READMECompatibilityVersions

Compatibility and provenance

Auto Preset Router is published as dsh-auto-preset-router and currently resolves to version 0.2.4. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
9/7/2026

Versions

0.2.4stable
9/7/2026
0.2.2
stable
9/2/2026
0.2.1stable
8/31/2026
Show 5 more versionsCollapse versions
0.2.0stable
8/24/2026
0.1.5stable
8/22/2026
0.1.4stable
8/22/2026
0.1.2stable
8/21/2026
0.1.1stable
8/20/2026

Related plugins

Loading related plugins…

Latest
0.2.4
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 2
Weekly downloads
0
Last push
9/7/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.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Agent Teams@nanmicoder/dsh-agent-teamsAgentTeams for DeepSeek Harness: multi-agent team collaboration (captain, members, tasks with dependencies, messaging) driven by natural language, with a tree monitor in the web GUI

README

DSH Auto Preset Router

简体中文

A DeepSeek Harness profile bundle that adds an Auto Agent Preset. The first direct user prompt is classified by the fixed deepseek-official/deepseek-v4-flash model, then the untouched prompt runs under one of DSH's four shipped presets with the model selected for that session. After mounting the target preset, an isolated second V4 Flash call selects likely necessary installed tool and Skill names from a bounded, JSON-framed catalog; deterministic lexical ranking is the failure fallback. Auto appends only those bounded names. It never loads a Skill body or changes the target preset's tool prefix.

Routing policy

TargetSelected for
standardWeb/current information, mixed non-programming work, general assistance, full tool ecosystem, or ambiguity
codeAny repository/source-code analysis or programming task, plus broad batch/parallel tool orchestration
minimalDemanding self-contained reasoning, mathematics, or algorithmic analysis with no repository or programming work
cordisNon-programming DSH preset/Cordis conceptual or runtime work

The classifier uses no tools, reasoning effort off, temperature 0, and a 16-token output limit. On DSH rc.1 it receives the first prompt text plus safe attachment metadata (name, dimensions, and media type), never image bytes. A failed or ambiguous classification falls back to standard.

While Auto waits for the first prompt, it mounts only DSH's official filesystem Skill catalog provider so Web and TUI can offer user-invocable /skill-name entries. Auto itself still exposes no model-facing tools; after routing, the selected preset owns Skill loading and prompt injection.

Install

DeepSeek Harness 0.1.1-rc.1 or a compatible later build is required. Version 0.2.4 also supports DSH 0.1.3-alpha.2. The first-turn check supports both legacy Session.events and the snapshotEvents() API used by DSH 0.1.2-rc.1. On releases that ship ptc instead of code, the classifier's code result mounts ptc; the trace records rawOutput: "code" and finalPreset: "ptc" without marking the rename as a fallback. Legacy code selections also resolve to ptc when opening old sessions; an explicitly installed code preset keeps precedence and menus are unchanged.

dsh plugin --profile web add github:yhfgyyf/dsh-auto-preset-router
dsh plugin --profile web add github:yhfgyyf/dsh-progressive-tools
dsh web

For a separately installed TUI profile that composes the official agent-presets service, install the bundle into that profile too:

dsh plugin --profile tui add github:yhfgyyf/dsh-auto-preset-router
dsh plugin --profile tui add github:yhfgyyf/dsh-progressive-tools
dsh --profile tui

The bundle keeps the official roster service, contributes its package-owned read-only preset through that roster, and sets the assembly default to auto. It does not rewrite settings.yaml. An explicit user setting remains authoritative; set this if needed:

agent-presets:
  default: auto

After the first prompt is routed, DSH records auto-router/classified and then agent-preset/selected before the first real turn. The classification event is purely diagnostic and is persisted with the DSH ignorable envelope marker, so a harness without this plugin can safely skip it. It contains classifierProvider, classifierModel, rawOutput, finalPreset, fallbackUsed, errorCode, latencyMs, capabilitySelection, toolHints, and skillHints. The session is then locked to the selected preset by DSH's normal non-empty-session rule.

When at least one installed summary matches, a plugin-owned <auto-capability-hints> message follows the untouched first user message. It names at most five tools and three Skills. With dsh-progressive-tools, the agent uses search_tools/describe_tools for deferred schemas; selected Skills continue through DSH's official stable skill(name) loader.

Remove

dsh plugin --profile web remove dsh-auto-preset-router
dsh plugin --profile tui remove dsh-auto-preset-router

Existing sessions retain the preset recorded in their durable history. A local $DSH_HOME/.agent-presets/auto directory, if present, is shadowed while this bundle is installed and is never modified. Removing the bundle removes its roster contribution on the next process start.

Privacy and failure behavior

The first prompt text and attachment metadata are sent to DeepSeek V4 Flash even when the session uses a different model. Image bytes are never sent to the classifier. The untouched multimodal prompt goes through DSH's native rc.1 attachment path after routing, so the session's selected model must genuinely declare image input. DeepSeek's shipped Flash and Pro routes are text-only; rc.1 adds the official deepseek-v4-flash-vision-exp image model. DSH refuses the send and retains the draft until that model, or another image-capable route, is selected. Prompts over 24,000 characters are reduced to their beginning and end. Classifier failures route to standard.

Development

npm test
npm run check
npm pack --dry-run

With a configured TUI profile and DeepSeek credentials, the optional live gate runs one fresh session for each target (and creates four short session logs):

npm run test:live:tui

The repository uses the current DSH plugin distribution contract: package.json declares dsh.bundle.patch, and cordis.patch.yml composes the package through dsh plugin --profile … add ….