AI Agent Hub
Back to plugins
dsh-purge preview

dsh-purge

Model Inference Updated 2026.09.05

Run the following command in DeepSeek Harness:

dsh plugin install YuJunZhiXue/dsh-purge

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install YuJunZhiXue/dsh-purge in your terminal. The full source lives at https://github.com/YuJunZhiXue/dsh-purge . After install, restart DeepSeek Harness and the Rules card will appear on the settings page.

About this plugin

DeepSeek Harness ships with a default persona that carries refusal and anti-roleplay constraints. Many developers want to strip those constraints and let the model operate as an executable agent while keeping Harness tool optimizations intact. dsh-purge targets exactly this: a set of grouped patches that rewrite the default persona into executable, roleplay-permissive session directives, and a startup hook that re-applies them after npm upgrades overwrite node_modules.

Beyond a single prompt swap, the plugin surfaces a Rules card on the settings page. Patches are grouped by area with live status, a one-click Apply, and a full Restore (every target is backed up on first apply, so rollback is clean and residue-free). Multiple AGENTS.md or CLAUDE.md rule sets can be listed, enabled, or deleted row by row. A per-session override editor lets you edit prompt-inject.md without affecting other sessions. Windows users get targeted fixes for the Node 24 ESM spawn binding issue that causes CMD flash, leftover .dshpurge.bak entries in dsh-desktop sealed bins, and the liangshen phase-1 first-turn injection drop-all of release 1.3.x.

It is built for local or desktop DeepSeek Harness users who want to customize the system prompt, manage multiple rule sets, or are hit by Windows subprocess pop-ups. The plugin only touches local @deepseek-ai packages and override files under the harness home; it never rewrites the Harness source tree, never scans unrelated directories, and every change is fully reversible.

Screenshots

Use Cases

  • Default patches break after an npm upgrade overwrites node_modules; dsh-purge re-applies everything on startup
  • Maintain multiple AGENTS.md or CLAUDE.md rule sets with per-row enable or delete without conflict
  • Node 24 on Windows causes CMD flash and first-turn injection drops due to ESM spawn binding, needing a targeted fix

Best For

  • Developers running DeepSeek Harness locally or on desktop
  • Users who want to strip default refusal persona while keeping tool optimizations
  • Power users dealing with Windows subprocess pop-ups or needing multi-rule-set management