Git-fans1100/dsh-skill-router ↗★ 0

dsh-skill-router

Skill Router for DeepSeek Harness — global capability dispatch: read-only skill/MCP index, capability_search (with names_only) / capability_load (brief default, section/full/ref modes) / capability_stats (read-only funnel + preheat effectiveness), unified scorer with synonym expansion, per-Bot preheat mounting with anti-double-mount handshake against ds-bot's smart-scheduling switch (SPEC.md v1.2, migration step 3 started). 适合挂载了大量工具、需要通过检索减少上下文占用的重度Agent用户。

Package
dsh-skill-router
Compatibility
Unverified
Cordis peer range
*
Version
0.3.1
License
Apache-2.0
Last updated
Oct 23, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Git-fans1100/dsh-skill-router

使用方法

安装后插件自动向全部会话(含经典 Agent 与 Bot 团队)注册两个元工具,模型自主调用:

capability_search(query: "画一张生存曲线", scope: "skill")
→ Top 5 of 12 candidates (17 indexed):
  - 图表生成 [skill] — 生成统计图表与学术配图 ★0.67 [已预热]
  ...
→ Use capability_load with the exact name to read the full instructions.

capability_load(name: "图表生成", section: "用法")
→ [skill: 图表生成] Section "用法"
  ...

典型场景:技能/MCP 数量多、全量挂载撑大上下文时,用检索替代常驻;打开智能调度开关即切换到本插件的调度模式(常用技能自动预热挂载,其余靠检索兜底)。

配置说明

配置项类型默认说明
homestring$DSH_HOME/skill-router(无 DSH_HOME 时回落 ~/.dsh/skill-router)数据目录,存放 state.json(使用计数 + 漏斗统计)与握手信号文件
synonymsstring[][]内置 10 组中英高频同义对追加自定义同义组(如 [["生存曲线","km"]]):组内任一词出现在查询中,其余词并入检索

cordis 配置示例:

- id: skill-router
  name: dsh-skill-router
  config:
    home: D:/some/path/skill-router