dsh-modes: View and Manage DSH Agent Modes in Web Settings

Preface

DeepSeek Harness (dsh) distinguishes different agent presets using “modes”: which tools can be run, how system prompts are written, whether skills are attached—capabilities are often scattered across configuration files and plugin switches. Modifying a mode’s capabilities sometimes requires dealing with a long list of plugin names; after upgrading dsh, built-in modes may be updated, requiring manual comparison and merging. If you primarily use dsh web for daily development and want to quickly see mode differences in the browser, using switches instead of memorizing plugin names to adjust capabilities, you need a mode management tool for the Web interface.

Below introduces the community plugin dsh-modes (maintainer xiaohai-78, GitHub repository xiaohai-78/dsh-modes). It adds a Modes page to Settings for switching mode capabilities, editing system prompts and tool descriptions, managing skills per mode, creating custom modes from templates, and one-click merging of built-in mode updates after dsh upgrades.

What This Is

dsh-modes is a Mode Manager plugin for DeepSeek Harness, classified under workflows. The official description summarizes it as: viewing and managing agent modes in Web Settings—switching plugin capabilities, editing system prompts, creating modes from templates, etc. (consistent with the capability list in the README).

The plugin injects into the Web client (dsh.client.platform: web) via Cordis patches, not replacing dsh core, but overlaying mode management capabilities on existing Web settings workflows.

Core Features

The capabilities listed in the materials can all be operated in Settings → Modes and related subpages after installation.

Mode List and Capability Switches

One card per mode: name and description, Default/Custom labels, capability summary (e.g., Commands · Files (read-only) · Web), plugin and session status, New session with it and other operations. Click a card to access three tabs: Capabilities, Prompt, and All plugins.

Capabilities are divided into groups. The README describes 15 capabilities total, with one master switch per group, e.g.:

Group Capabilities (excerpt)
What it can do Run commands; Files (includes separate Allow file changes); Web; Subagents and workflows; Extend itself
How it works Plan mode; To-do list; Session goals; Skills; Ask you; Deliverables; Reminders
Context Workspace instructions; Time awareness; Context compaction

Toggling a capability on restores the corresponding plugin combination according to the built-in mode; toggling off disables all plugins included in that capability. Some plugins show Partly on when enabled. Capabilities without corresponding plugins in the current dsh version are hidden (e.g., Reminders was unavailable before 0.2.1).

System Prompts (Prompt)

You can edit system prompts for each mode, supporting variables (e.g., {{model}}) and Preview full system prompt. Advanced options include closing prompt, “use only the opening text as the complete prompt”, and whether to include runtime context. Each save is recorded in history (up to 30 versions), with import/export .md support, and the ability to restore built-in prompts. Unsaved drafts remain local in the browser.

The In chat section has two instant-save switches (only affecting sessions created afterward):

  • Live prompt: After saving, running sessions will use the new prompt starting from the next step.
  • Allow prompt changes in chat: Allows reading/writing prompts via the mode_prompt tool during conversations, requiring your confirmation before each save.

Tool Descriptions

Under Settings → Modes → Tool descriptions, you can rewrite the tool description text seen by the model without altering the tool definitions themselves; supports single-mode or multi-mode batch editing with one-click restoration of built-in text.

Skills

Enable/disable skills per mode, pin to a saved version, view/restore/delete version history; toggling and pinning do not move skill files. You can create new skills on the page or bulk import from Codex, Claude Code, or folders; when sources change, the page prompts and offers one-click re-import.

Creating Modes and Upgrade Merging

Create custom modes from four template types (Develop, Write, Chat, Read-only research) or by copying existing modes. When built-in modes are updated by dsh, cards will prompt, allowing one-click merging while preserving your customizations; plugins that fail to load can also be disabled directly in the interface. When the plugin itself has new versions, the page can prompt and update via the dsh installer after confirmation.

Installation and Activation

You need to be able to use the dsh Web interface (dsh web) first. The installation command given in the README is:

dsh plugin --profile web add dsh-modes

If running from dsh source code, execute in the source directory:

pnpm dsh plugin --profile web add dsh-modes

After installation, restart dsh web and open Settings → Modes. package.json shows the plugin version as 0.8.1, licensed under MIT; Node engine requirement is ^22.19.0 || >=24.0.0. Specific compatibility with dsh versions follows the Compatibility section in the repository README.

The plugin runs with the current dsh process privileges. It is recommended to review the repository source code and license before installation to ensure compliance with your environment and security policies.

Typical Usage

The reproducible workflow from the README Quick start is as follows.

  1. Open Settings → Modes, view the small tags on built-in mode cards, indicating the capabilities each mode has.
  2. Click New mode at the top right, select Read-only research, then click Create.
  3. The new card shows in the Capabilities tab: Run commands is off, Files is on with Allow file changes off.
  4. Click New session with it on the card, asking it to modify files—this mode lacks tools for writing files, changing files, or running commands, only allowing reading and searching.
  5. Return to the card’s Prompt tab, modify a sentence and save; new sessions will immediately take effect. To make running sessions use the new prompt too, enable Live prompt below.

To compare differences between “disabling capabilities” vs. “disabling plugin names”, you can first scan capability tags across multiple cards on the same page, then fine-tune Capabilities for only one mode, without needing to go through plugin lists individually.

Applicable Scenarios and Notes

Suitable for developers who primarily use dsh web and frequently switch or customize agent modes: e.g., creating read-only modes for research scenarios, tightening command and file writing permissions for writing scenarios, or uniformly adjusting tool descriptions and skill policies across multiple modes.

Not suitable for workflows expecting to completely detach from Web, relying solely on CLI to edit mode YAML and never opening Settings—this plugin’s value lies in visualization and batch operations within Web Settings.

The community plugin catalog page is at skillhub.cn/plugins/xiaohai-78/dsh-modes. This catalog is a community site, not officially affiliated with DeepSeek / High-Flyer; installation and configuration should still follow GitHub repository documentation.

Conclusion

dsh-modes consolidates “what each mode can do, prompts and tool text, skills, and built-in updates” into a single workflow in Settings → Modes, replacing a mass of plugin names with 15 capability switches, and supports creating modes from templates, prompt versioning and Live prompt, skill imports, and upgrade merging. If you are already using dsh Web, you can install it with the above command and walk through the mode list and Read-only research example in Settings.

  • Catalog page: https://www.skillhub.cn/plugins/xiaohai-78/dsh-modes
  • GitHub: https://github.com/xiaohai-78/dsh-modes
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye