dsh-session-prompt
Run the following command in DeepSeek Harness:
dsh plugin install masknull/dsh-session-prompt
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install masknull/dsh-session-prompt in a DSH-enabled terminal; the command fetches the prebuilt package from https://github.com/masknull/dsh-session-prompt, links it into the profile, and after a DSH restart the plugin is available in the web settings page.
About this plugin
DSH assembles each session's system prompt from multiple ordered sections, and developers frequently need to slot a custom instruction block at the very top — say, a company security policy, a domain glossary, or a tone guideline — that is neither the built-in identity nor the role definition. DSH's native configuration surface does not expose that layer. dsh-session-prompt fills exactly that gap: it claims the first position in the prompt with order -200, ahead of the built-in identity (-100) and the role setup (0), and it applies to every session and every request.
Everything is managed from the web settings page under the Plugin configuration tab. A single card provides an enable toggle, a multi-line prompt editor, Save / Discard, and a Restore-defaults action. The prompt text is re-read at the moment each request is assembled, so a new save takes effect on the very next request with no process restart. The plugin also guards against a subtle failure mode: at save time it scans the text for complete {{…}} template groups and refuses to persist any that could make the system-prompt renderer throw, ensuring a malformed prompt can never break a request while leaving lone {{ sequences as harmless literal prose.
It is well suited to teams that run DSH with the web UI and want a single, low-maintenance lever for global top-of-prompt constraints without touching role templates; and to prompt engineers who iterate on wording and want to see the effect in the next turn — edit, save, and the following conversation already reflects the change, all without a terminal session or a service restart.
Use Cases
- A team enforces a single security-policy or glossary block at the top of every session
- A prompt engineer iterates on top-of-prompt wording and sees the effect in the very next turn
- Adding global pre-constraints to every request without touching role templates
Best For
- Teams running the DSH web UI that need centralized top-of-prompt governance
- Prompt engineers who want to validate wording changes without a restart
- Platform owners seeking a single low-maintenance lever for global session constraints
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.