dsh-model-prompt:按当前模型注入专用系统提示词

dsh-model-prompt 从 ~/.agents/model-prompts 读取带 frontmatter 的 Markdown,用 match 正则匹配 model 与 provider/model,按 priority 拼接后注入系统提示词;模型或匹配结果变化时替换头部而非追加。支持多文件叠加、子代理独立匹配、目录热更新与 dotfiles 同步。可通过 dsh plugin --profile web add github:dsh-plugins/dsh-model-prompt 安装,并在 cordis.patch.yml 中按需调整 enabled、maxBytes、announce 等配置。

阅读全文