Phantomcyber-ai/dsh-skill-router ↗★ 1
dsh-skill-router
Intent-level skill auto-routing for DeepSeek Harness: routes every user message against the skill catalog and injects the matching skill body automatically — the harness finally uses skills when it should. 适合安装了较多技能和MCP工具,需要系统自动匹配注入的用户。
Other repositories with this package name
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | 总开关 |
mode | hybrid | hybrid / heuristic(零 LLM)/ llm(全判定) |
llmProvider / llmModel | 空 | 指定判定模型;留空自动选第一个可用 provider |
maxSkillsPerMessage | 2 | 每条消息最多注入技能数 |
minScore | 0.5 | 启发式强命中阈值 |
weakForm | summary | 弱信号带(LLM 未判定命中)的回退形态:summary 注入紧凑摘要发现块(技能名 + 一行描述 + /name 手势引导;plugin 源,不占全文防重名单,后续强命中可升级全文);full 回退注入全文(v0.2 行为);none 不注入 |
personalBaseline | true | 首次安装/首次路由扫描当前环境技能目录 + MCP 工具面,落盘个人基线并周期刷新(千人千面) |
hintMcpTools | true | 弱信号发现块中包含按消息匹配的 MCP 工具(mcp____,来自基线扫描) |
baselineRefreshHours | 24 | 基线刷新周期(小时),到期后下一次路由触发重扫;删除基线文件可立即重扫 |
baselineDir | 空 | 基线落盘目录;留空 = /plugins/dsh-skill-router/(按 cwd 哈希分文件) |
llmTimeoutMs | 12000 | LLM 判定超时 |
skipShortMessages | true | "继续/嗯"等短消息不路由 |
respectOnDemandPresets | true | 组合无任何技能加载/发现通道(严格 on-demand,如 anchored-standard)时让位;存在 skill 或 onDemandLoaderTools 中任一工具(standard / cot-gw / cot-dyn)时正常自动路由 |
onDemandLoaderTools | ['skill_load', 'skill_search'] | 视为"已提供按需技能通道"的工具名;cot 类预设的 skill_load / skill_search 命中即默认开启路由。至少 1 个(空数组为无效配置:装配校验失败;程序化直调时自动回退默认值) |