Harness Trust
插件商店
检查已安装插件
搜索插件、npm 包名或仓库
EN
首页
/
插件商店
/
开发
/
@wm-coders/dsh-custom-first-control-prompt
@wm-coders/dsh-custom-first-control-prompt
@WM-CODER · 开发
检测未发现问题
无安装脚本
来源一致
为每次对话请求注入部署级系统提示词段落与参考问答历史,并提供设置面板管理
v0.2.3
版本
npm 预构建包
安装方式
2026-08-21
最近更新
12 · 0
Star · 周下载
复制安装命令
dsh plugin --profile web add @wm-coders/dsh-custom-first-control-prompt
查看仓库
插件介绍
根据仓库资料整理 · commit d2c9a05
主要功能
支持配置多段有序的系统提示词片段,按 order 值插入到 persona 前后(默认插入到人设之前)
可配置一组 user/assistant 参考对话,作为真实交替消息注入每次普通对话请求的最前面
通过拦截 llm/stream 请求实现注入,不写入会话日志,session.history 中看不到这些注入内容
静态内容在每次请求中字节级一致,保留 prefix-cache 可复用性;辅助调用和子代理会话默认被跳过
提供 Web 设置面板可编辑配置、查看已注入的真实请求(LLM 监听),保存时仅覆盖本插件配置行,不影响其他条目
适合什么时候用
需要给部署环境统一附加一段稳定的系统级规则(如公司规范、工具使用约束),且要求这段文字在所有对话中保持字节一致以复用 KV-cache
希望模型在每次对话中都能看到几组示例问答(few-shot 参考对话),但不希望这些内容污染真实会话历史或被压缩逻辑吞掉
安装后会多出什么
界面
设置页面板:Custom first control prompt(配置编辑器 + LLM 监听视图) · 输入框上方的 dock 条,用于快速查看注入的请求内容
使用前需要
仅支持 DSH web profile(client platform 为 web)
依赖 DSH 内部模块:dsh-llm、dsh-system-prompt、dsh-typert-protocol、cordis、dsh-api-remotes、dsh-client-locale、dsh-client-runtime、dsh-client-ui-conversation、dsh-client-ui-settings、dsh-client-ui-slots
安装后需重启 web 应用(dsh --profile web)以生效
在 GitHub 阅读完整 README
权限与能力
安装后它能碰到什么
不覆盖任何 dsh-base 宿主行:不接管沙箱、审批、凭据等能力。
宿主能力
Agent 控制
浏览器 UI
文件系统
会话数据
能力是范围不是结论:很多能力是功能所需。
基本信息
仓库
WM-CODER/custom-first-control-prompt
npm
@wm-coders/dsh-custom-first-control-prompt@0.2.1
安装方式
npm 预构建包
收录日期
2026-08-21
固定 commit
d2c9a0535c45
· 2026-08-21
dsh plugin --profile web add @wm-coders/dsh-custom-first-control-prompt
复制
@wm-coders/dsh-custom-first-control-prompt — DeepSeek Harness 插件商店 · Harness Trust