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工具,需要系统自动匹配注入的用户。

Package
dsh-skill-router
Compatibility
Unverified
Harness peer range
>=0.0.1-rc <2
Version
0.4.1
License
MIT
Last updated
Sep 2, 2026

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 ↗

配置

字段默认说明
enabledtrue总开关
modehybridhybrid / heuristic(零 LLM)/ llm(全判定)
llmProvider / llmModel空指定判定模型;留空自动选第一个可用 provider
maxSkillsPerMessage2每条消息最多注入技能数
minScore0.5启发式强命中阈值
weakFormsummary弱信号带(LLM 未判定命中)的回退形态:summary 注入紧凑摘要发现块(技能名 + 一行描述 + /name 手势引导;plugin 源,不占全文防重名单,后续强命中可升级全文);full 回退注入全文(v0.2 行为);none 不注入
personalBaselinetrue首次安装/首次路由扫描当前环境技能目录 + MCP 工具面,落盘个人基线并周期刷新(千人千面)
hintMcpToolstrue弱信号发现块中包含按消息匹配的 MCP 工具(mcp____,来自基线扫描)
baselineRefreshHours24基线刷新周期(小时),到期后下一次路由触发重扫;删除基线文件可立即重扫
baselineDir空基线落盘目录;留空 = /plugins/dsh-skill-router/(按 cwd 哈希分文件)
llmTimeoutMs12000LLM 判定超时
skipShortMessagestrue"继续/嗯"等短消息不路由
respectOnDemandPresetstrue组合无任何技能加载/发现通道(严格 on-demand,如 anchored-standard)时让位;存在 skill 或 onDemandLoaderTools 中任一工具(standard / cot-gw / cot-dyn)时正常自动路由
onDemandLoaderTools['skill_load', 'skill_search']视为"已提供按需技能通道"的工具名;cot 类预设的 skill_load / skill_search 命中即默认开启路由。至少 1 个(空数组为无效配置:装配校验失败;程序化直调时自动回退默认值)