dsh-plugin-skill-autoroute

对每条用户指令自动做一次确定性的技能路由,让技能目录在模型作答之前就被查阅,而不是等它自己想起来。宿主侧只依据指令关键词与目录元数据打分,不调用 LLM 也不做向量检索,然后向该步追加恰好一条带生产者标签的消息:默认是候选排名简报,分数过线时改注入冠军技能的 SKILL.md 正文,也可以只注入一句「立刻调用某个路由技能」。无关指令保持沉默。

插件介绍

对每条用户指令自动做一次确定性的技能路由,让技能目录在模型作答之前就被查阅,而不是等它自己想起来。宿主侧只依据指令关键词与目录元数据打分,不调用 LLM 也不做向量检索,然后向该步追加恰好一条带生产者标签的消息:默认是候选排名简报,分数过线时改注入冠军技能的 SKILL.md 正文,也可以只注入一句「立刻调用某个路由技能」。无关指令保持沉默。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-plugin-skill-autoroute

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:SOH4C4759/dsh-plugin-skill-autoroute

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。