dsh-model-prompt: Inject Dedicated System Prompts Based on the Current Model

dsh-model-prompt reads frontmatter-equipped Markdown files from ~/.agents/model-prompts, matches them against the model or provider/model via the match regex, concatenates them by priority, and injects the result into the system prompt. When the model or match result changes, it replaces the header rather than appending. It supports multi-file stacking, independent matching per sub-agent, directory hot-reloading, and dotfiles sync. Install it with `dsh plugin --profile web add github:dsh-plugins/dsh-model-prompt`, then configure options such as `enabled`, `maxBytes`, and `announce` in `cordis.patch.yml` as needed.

Read More