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 等配置。
閱讀全文