Skip to content
dsh.fish
Bundle

dsh-plugin-iam-deepseek-v4ga

DeepSeek Harness plugin: injects an [IMPORTANT] chain-of-thought rule block at the very top of the system prompt of every model request (English CoT starting with I'm, no 'Let me', direct verbs).

Source
XuezuoYS
License
MIT
Updated
Updated 3 days ago

Readme

# dsh-plugin-IamDeepseekV4ga

一个基于 **玄学** 的让 deepseek 思维链模仿灰测神必模型的 [deepseek harness](https://github.com/deepseek-ai/deepseek-harness) 娱乐插件,已适配 **dsh-v0.1.3-alpha.1**。

> 0.3.0 适配说明:0.1.3-alpha.1 移除了 `@deepseek-ai/dsh-settings` 的独立
> `installSettingsSection` / `settingsNamespace` 帮助函数,插件随之改用
> `ctx.settings` 服务(`SettingsProvider.installSection`)注册自己的设置命名空间,
> 否则插件模块会因不存在导出而加载失败、导致启动失败。

### 机制

在每次模型请求(每轮对话 / 每个 agent step)的 system 字段最顶部注入一段固定的规则块,约束模型的思维链(chain of thought):

```markdown
You are a helpful software engineer assistant. **When you thought, use English and start with `We need` or `I'm`**.
```

### 插件设置项

- **plugin-iam-deepseek-v4ga: 插件开关**(`enablePromptInjection`),默认**开启**。
- 开启后:每轮 `system` 都会注入上述提示词。
- 关闭后:插件完全不注册也不保留任何 prompt section,等于无行动。
- 该设置项由插件自身提供(`@deepseek-ai/dsh-settings` 命名空间 `iam-deepseek-v4ga`),可在 **设置 → 插件 → 插件配置** 中切换;也可在插件 row 的 `config` 中写 `enablePromptInjection: true/false`。

## 安装

1. 安装 `pnpm`
2. 运行
```powershell
npx @deepseek-ai/dsh plugin --profile web add github:XuezuoYS/dsh-IamDeepSeekV4ga
```

### 如何卸载

```powershell
npx @deepseek-ai/dsh plugin --profile web remove dsh-plugin-iam-deepseek-v4ga
```

## 使用注意

目前,经过多轮测试,使用此插件会出现以下神必情况:

### 抽卡触发

- 对于 Deepseek V4 Pro 模型,在部分时间段有少半数情况可完全让思维链出现另一种更高效的形态,但多数时间仅能实现让 I'm 替换掉**部分** Let me 的纯图一乐效果。
- 对于 Deepseek V4 Flash,几乎没有触发过让思维链出现更高效的形态的情况,仅实现部分文本替换(还换不全)的情况。

### 性能下降

- 测试中部分场景会随机导致模型性能下降(但也可能是 Deepseek 服务器那边的问题),依旧抽卡。

### 破甲问题

- 在测试中,当思维链在 Deepseek V4 Pro 下被抽卡到完全变更的版本时,较大概率出现 D 小姐的 ~心之壁~ 自带甲变厚,导致破甲词完全失效、拒绝执行的情况。
- 在测试中,当 Deepseek V4 Flash 的思维链被有效影响的时候,出现了模型自主绕开破甲词所允许范围的情况。

Install

dsh plugin --profile web add github:XuezuoYS/dsh-IamDeepSeekV4ga

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source