GongYuanCaiJi/dsh-chinese-thinking0

dsh-chinese-thinking

DeepSeek Harness 插件,通过注入系统提示词让 Agent 默认使用中文进行思考与回复。

AI 分析

核心用途是强制 Agent 采用中文思维链和中文输出。适合希望改善模型中英混杂、提升中文对话质量和逻辑连贯性的中文用户。

包名
dsh-chinese-thinking
版本
0.1.0
许可证
MIT
最近更新
2026年8月15日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GongYuanCaiJi/dsh-chinese-thinking

配置 / Configuration

默认配置(cordis.patch.yml 里的 config: {} 走 schema 默认值):

默认说明
enabledtrue是否注入「中文思考」system prompt 节
order60节的顺序(-100 身份、0 persona、100–199 工具指引)
textprompt.js提示词正文,可整体覆盖

覆盖示例(写在你自己 profile 的 cordis.patch.yml,patch 会整体替换该行的 config):

- insert:
    - id: chinese-thinking
      name: 'dsh-chinese-thinking'
      config:
        enabled: true
        order: 60
        text: |
          用中文思考,用中文回复。

Configuration

Defaults (the config: {} in cordis.patch.yml resolves to schema defaults):

KeyDefaultMeaning
enabledtrueWhether to inject the "Chinese Thinking" system-prompt section
order60Section order (-100 identity, 0 persona, 100–199 tool guidance)
textsee prompt.jsThe prompt body; replace wholesale to customize

Override example (in your profile's own cordis.patch.yml — a patch replaces the row's entire config):

- insert:
    - id: chinese-thinking
      name: 'dsh-chinese-thinking'
      config:
        enabled: true
        order: 60
        text: |
          Think in Chinese, answer in Chinese.