dsh-purge: A Jailbreak Prompt Manager for DeepSeek Harness
yujunzhixue/dsh-purge
dsh-purge is a settings plugin for DeepSeek Harness that patches default copy, permission policy, and tool limits, adding a Rules card for grouped patches, session override editor, and multiple rule sets.
dsh-purge is a jailbreak settings plugin for DeepSeek Harness that lets every model run jailbreak prompts and supports swapping prompts per model. It solves the problem of a single default prompt that only fits one model, with the default targeting the Chinese model '小码酱'. It provides a visual rule management interface, including a Rules card, session override editor, and multiple rule sets. The plugin also re-applies patches automatically after an npm upgrade overwrites node_modules, with adaptive path resolution and no hardcoded drive letters.
How to Install
dsh plugin --profile web add github:yujunzhixue/dsh-purge- Category
- Tools & Capabilities
- Platform
- DSH Plugin
- Author
- yujunzhixue
- Distribution
- Plugin
dsh-purge Key Features
dsh-purge Repo Summary
What Does It Do?
dsh-purge is a jailbreak settings plugin for DeepSeek Harness that lets every model run jailbreak prompts and supports swapping prompts per model. It solves the problem of a single default prompt that only fits one model, with the default prompt targeting the Chinese model "小码酱". It provides a visual rule management interface and updates default copy, permission policy, and tool limits in installed packages.
Core Features
- Jailbreak prompt management: configure different prompts for different models, with the default targeting "小码酱".
- Rules card: shows grouped patches on the DSH settings page, with Apply / Restore, session override editor, and multiple rule sets.
- Auto re-apply: re-applies patches on start after an npm upgrade overwrites node_modules.
- Path detection: no hardcoded drive letters; resolves $DSH_HOME, .dsh next to the launcher, then ~/.dsh.
- CLI and slash commands: provides dsh-purge commands and /purge, /rules slash commands for status, apply, revert, edit, and more.
How to Use This Plugin?
After enabling the plugin in DSH and restarting, the Rules card appears on the settings page. Click Apply to apply patches and restart when prompted; if the client bundle is cached, hard-refresh (Ctrl+F5). Use /purge status to view DSH_HOME and the patch list, /purge apply to apply patches, and /purge revert to restore. To adjust prompts, edit $DSH_HOME/prompt-inject.md or use /rules commands to manage rule sets.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: yujunzhixue/dsh-purge. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
