READMESource: main@00ace125
dsh-inject-system-prompt
Inject an extra system-prompt section into a DeepSeek Harness agent, shipped as a configurable bundle.
The plugin registers one section in the harness's system-prompt assembly registry via ctx.systemPrompt.section(). Empty text drops the section, so the bundle is inert until you configure it.
Install
# from git (pins latest main)
dsh plugin --profile demo add github:lovstudio/dsh-inject-system-prompt
# or from a local checkout / tarball
dsh plugin --profile demo add ./dsh-inject-system-prompt
Then enable the prompt by overriding the row in your profile's cordis.patch.yml (see the official publish guide for layer precedence):
- id: inject-system-prompt
name: '@lovstudio/dsh-inject-system-prompt'
config:
text: |
You are concise and always answer in Simplified Chinese.
Config
| Key | Default | Meaning |
|---|---|---|
text |
'' |
The section text to inject. Empty ⇒ no section. |
name |
injected:prompt |
Section name (must be unique within a scope layer). |
order |
50 |
Sort order. Bands: 0 = persona, 100–199 = tool guidance. |
complete |
false |
When true, this section becomes the complete system prompt. |
Notes
- Requires the
systemPromptservice, provided by@deepseek-ai/dsh-base(the first bundle of every profile). No runtime dependencies. - Distributed as a bundle (
dsh.bundle.patch→cordis.patch.yml).
No comments yet. Be the first to write one.