Introduction

DeepSeek Harness (DSH) uses a plugin-based architecture that allows developers to extend and define model behavior. In Chinese-language development scenarios, default-configured agents often struggle to balance “responses in Chinese” with “code kept as-is.” zoahdev/dsh-zh is a plugin designed for this pain point. It uses the system prompt registry mechanism to require agents to think and respond in Simplified Chinese while preserving the original form of technical details.

Plugin Overview

The plugin registers an ordered system prompt fragment (order: 110) through the official @deepseek-ai/dsh-system-prompt registry. It primarily addresses the following issues:

  1. Chinese interaction: Forces the agent to use Simplified Chinese for thinking and responses.
  2. Content fidelity: Keeps code, commands, error messages, identifiers, and URLs untranslated and unchanged.
  3. Specification alignment: Logically aligns with the specification in official discussion #320 (Chinese i18n).

Installation and Activation

Install the plugin under the DSH Web Profile:

dsh plugin --profile web add dsh-zh

After installation, the plugin takes effect automatically without any additional configuration.

Configuration

The plugin provides one configurable option:

Key Type Default Description
instructions string (see default below) Custom instructions

The default instruction content is:

You are the Chinese assistant for DeepSeek Harness. By default, think and respond in Simplified Chinese. Keep code, commands, error messages, identifiers, and URLs in their original form; do not translate them. Provide the conclusion first, then the necessary process; keep explanations concise and direct, without verbosity.

If you need to override the default behavior, you can modify the instructions configuration item with a custom string.

Use Cases and Notes

This plugin is suitable for developers who run DeepSeek Harness locally or in development environments and want the output to follow Chinese reading conventions. The plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license (MIT) before installation.

Summary

dsh-zh provides a lightweight way to adjust agent behavior patterns through the registry mechanism. It improves the interaction experience in Chinese-language contexts without breaking the executability of code.