工具与能力
#dsh-plugin
dsh-inject-system-prompt
Inject an extra system-prompt section into a DeepSeek Harness agent, shipped as a configurable bundle.
lovstudio
@lovstudio
⬇ 2
★ 0
main
安装
dsh plugin --profile web add github:lovstudio/dsh-inject-system-prompt
需要可复现安装时,可在仓库后追加 #commit 固定提交。
Inject an extra system-prompt section into a DeepSeek Harness agent, shipped as a configurable bundle.
该插件未提供要点说明,请参考仓库 README。
dsh-plugin
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/lovstudio/dsh-inject-system-prompt |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 2 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-19 |
| 收录日期 | 2026-09-19 |
| 分类 | 工具与能力 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-inject-system-prompt
Inject an extra system-prompt section into a [DeepSeek Harness](https://github.com/deepseek-ai/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
`web` is the profile that `dsh web` boots by default, so installing into it makes the plugin active the next time you start the Web UI.
```sh
# from git (append # to pin a commit for reproducibility)
dsh plugin --profile web add github:lovstudio/dsh-inject-system-prompt
# or from a local checkout / tarball
dsh plugin --profile web add ./dsh-inject-system-prompt
```
Then enable the prompt by overriding the row in `$DSH_HOME/profiles/web/cordis.patch.yml` (see [the official publish guide](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/user/develop/basic/publish.md) for layer precedence):
```yaml
- id: inject-system-prompt
name: '@lovstudio/dsh-inject-system-prompt'
config:
text: |
You are concise and always answer in Simplified Chinese.
```
Start the Web UI:
```sh
dsh web # alias of dsh --profile web
```
## 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 `systemPrompt` service, 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`).
## License
[MIT](LICENSE)
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。