The plugin architecture of DeepSeek Harness (DSH) supports functional extension via plugins. Custom mode is a configuration commonly used by developers to define specific system prompts and run environments. Native configurations typically do not include default Chinese prompts or base modes upon first installation. The dsh-chinese-minimal-mode plugin addresses this issue by modifying the default configuration upon first installation and providing an editable Markdown system prompt.
Plugin Positioning¶
Maintained by GemChance and licensed under MIT, this plugin is a Minimal preset plugin for DeepSeek Harness. Its core modification lies solely in changing the default values during the initial installation: the default base mode is set to Minimal, and the default system prompt is set to “You are a Chinese assistant”. It does not alter the core logic but retains the complete dsh-custom-mode settings UI, allowing users to configure it further based on these defaults.
Core Features¶
- Full UI Preservation: Retains the complete
dsh-custom-modesettings interface, supporting base mode switching, plugin enable/disable toggles, and management of multiple assistants. - Default Configuration: Upon first installation, it automatically creates a custom mode, initializes the base mode to Minimal, and sets the initial system prompt to “You are a Chinese assistant”.
- Markdown Editing: Provides a
prompt.mdfile in Markdown format for users to edit the system prompt. A direct save button is provided below the editor.
Installation and Activation¶
Execute the following command in the terminal to install:
dsh plugin --profile web add https://codeload.github.com/GemChance/dsh-chinese-minimal-mode/tar.gz/refs/tags/v2.3.0
After installation, the process corresponding to the profile must be restarted to take effect. Desktop applications can be installed via the plugin page within the app. Note that the CLI cannot modify desktop configuration files.
Typical Usage¶
- Navigate to Settings → Custom Mode.
- Save the system prompt directly below the editor. The system checks if
prompt.mdhas been modified externally upon saving; if a conflict is detected, the overwrite will be rejected. - When creating a new session, if
agent-presets.defaultis not specified insettings.yaml, this assistant will be used.
Use Cases and Notes¶
This plugin is suitable for scenarios where users need to quickly start with a Minimal base mode and a default Chinese assistant.
Please note the following limitations when using it:
- Does Not Replace Official Modes: The plugin does not replace Standard, PTC, Minimal, or Creator modes.
- No Roleplay Presets: It does not include any roleplay presets.
- CLI Limitation: It cannot be run within desktop configuration files via the CLI.
- Headless Mode Limitation: Headless mode does not initiate sessions using assistant presets.
Summary¶
By modifying the default configuration, this plugin lowers the configuration barrier for using DeepSeek Harness in Chinese scenarios. For more technical details and source code, please refer to the project repository.