dsh-mode
Run the following command in DeepSeek Harness:
dsh plugin install xiyiyiru/dsh-mode
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install xiyiyiru/dsh-mode in the DeepSeek Harness terminal to install; the source lives at https://github.com/xiyiyiru/dsh-mode and all peer dependencies are resolved automatically from your dsh installation, requiring no extra setup.
About this plugin
An agent that plans a one-line answer with full todo-list ceremony, or improvises a multi-step refactor without structure, wastes turns on every turn. Pushing methodology into the system prompt fails in the opposite direction: thousands of tokens of standing law eventually fade into wallpaper the model stops reading. dsh-mode cuts both extremes. The methodology is no longer resident in the prompt; it arrives as an ordinary tool result at the exact moment you switch phase.
The plugin ships five modes — base, planner, analyst, explorer, executor — each carrying a complete mindset text that codifies phase-specific discipline: the analyst must reproduce before concluding and tag every claim with evidence level, the executor must stop and report before any irreversible action. One switch_mode call enters the mode; it writes zero session events, never touches the system prompt, and leaves no residue on later turns. After a context compaction, re-switching to the same mode restores the methodology idempotently. Beneath the variable mode layer, a static core-behavior section provides mode-independent working principles — root cause before action, honesty about uncertainty, scope discipline, conclusions first — as a fixed floor shared by all five modes.
Built for developers in the dsh-agent ecosystem who want their agent to shift working posture as the task phase changes, without stacking rule lists into the system prompt or manually narrating phase changes. One explicit tool call, the methodology arrives, it guides the phase, and it walks away without sticking.
Use Cases
- Agent lacks structured pacing during a multi-step refactor; one switch to planner mode loads the full planning methodology on demand
- Triage a production incident by switching to analyst mode, forcing reproduction-first and evidence-tagged reasoning before any conclusion
- After context compaction, re-switch to the same mode to instantly restore the phase methodology without reconfiguration
Best For
- Developers in the dsh-agent ecosystem who want phase-aware working posture without static prompt bloat
- Agent architects who prefer on-demand methodology injection over standing system-prompt rule lists
- Workflow authors who need explicit, re-enterable mode switches across planning, analysis, exploration, and execution
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.