dsh-skill-runner
chenghuaian0721/dsh-skill-runner
Lists every installed skill grouped into five categories, each colour-coded on the header dot, the label and every card left bar, with a search box and built-in Chinese descriptions; clicking a card delivers it to the current session through agent.followup so the model loads the skill and starts working - not merely filling the composer.
Установка
dsh plugin --profile web add github:chenghuaian0721/dsh-skill-runnerREADME
dsh-skill-runner
一键把技能跑起来。 浏览全部已装技能、按分类分组、点一下就投递到当前会话 —— 不是只把指令填进输入框。
English · 简体中文
与 dsh-skill-launcher 的区别
市场里有个同名的包(V1.0.1,作者 zhuyu1992),描述里写着:
fills a skill's invocation instruction into the composer without sending it
它只填不发送,你得自己按回车;本插件直接投递并执行。
| dsh-skill-launcher | dsh-skill-runner | |
|---|---|---|
| 浏览 / 分类 / 搜索 | ✅ | ✅ |
| 中文说明 | ✅ | ✅(70 条内置映射) |
| 把指令填进输入框 | ✅ | ❌ |
| 真正投递到会话 | ❌ | ✅ agent.followup |
| 带任务描述一起发 | ❌ | ✅ |
| 手动命令 | — | /run <skill> [task] |
分类与配色
70 个技能按职责分五组,每组一个专属色,标题、色点、卡片左边条同时上色 —— 滚到列表中间也能一眼看出卡片属于哪类:
| 色值 | 分类 | 数量 |
|---|---|---|
#f85149 红 | 安全狩猎 | 29 |
#58a6ff 蓝 | 工程流程 | 22 |
#3fb950 绿 | 代码开发 | 11 |
#bc8cff 紫 | 写作表达 | 6 |
#39c5cf 青 | 检索研究 | 2 |
未匹配任何规则的技能归入「其他」(#8b949e 灰);当前 70 个技能全部有归属,无遗漏。
安装
先在 DSH 里装好 dsh-skill-mcp-panel(技能列表来自它的 remote.skillsViewer),然后:
dsh plugin --profile desktop add dsh-skill-runner
重启 DSH。侧边栏出现 Skill Launcher 一行(⚡ 图标)。
用法
面板:点 ⚡ → 搜索或按分类浏览 → 点卡片 →(可选)填任务 → 点「运行」。
命令:不想开面板就打
/run hunt-idor 帮我审一下这个 /api/users/{id} 接口
/run easy-search
它怎么工作
不碰 composer、不直连模型:
点卡片
→ remote.commands.execute(sessionId, "/run hunt-idor 审计这个接口", [])
→ index.js 的 /run 命令 handler
→ agent.followup({ role: "user", content: [...] })
→ 会话里出现一条普通用户消息
→ 模型看到后自己载入技能
和手打完全一致,只是省了输入。
Requirements
- DSH
>=0.2.2-rc.1 <0.3.0-0预发布版宿主必须写进 range:>=0.2.0不匹配0.2.2-rc.3,插件会被静默跳过,连报错都没有。 - dsh-skill-mcp-panel —— 必需,提供技能列表。
- 宿主
commands服务 —— 用来注册/run。
权限
本插件不读文件、不联网、不起进程。只做两件事:读技能列表(走 dsh-skill-mcp-panel 的远程服务)、往当前会话投一条文本消息。
License
MIT