HuanLinOTO/dsh-plugin-preface-context ↗★ 0
@huanlin/dsh-plugin-preface-context
在每次会话开头固定注入用户配置的文本上下文作为首轮请求系统指令的 DSH 插件。
AI 分析
实现全局个性化系统提示词注入。适合需要为所有新会话统一设定角色背景、回复偏好或工作流约束的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-preface-context說明文件
閱讀完整 README ↗配置
设置页卡片中:
- 启用:开关关闭时不注入任何文本。
- 上下文文本:输入要注入的文本(支持多行)。文本为空时不注入。
也可通过 cordis.patch.yml 的 plugin-row config 块提供 composition base(默认 enabled: true, contextText: '')。