zhu1090093659/dsh-web--packages-dsh-skill-explorer ↗★ 5.8k
@linxin666/dsh-client-ui-skill-explorer
DSH skill center: browse loaded skills by source (bundled / project / user / custom / runtime), enable or disable, create and delete, in a web GUI panel.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhu1090093659/dsh-web#8d02146df032e6de8d54b7a0aba2c9da039d47e4&path:packages/dsh-skill-explorer说明文档
阅读完整 README ↗@linxin666/dsh-client-ui-skill-explorer
English | 中文
DSH Web GUI 的技能中心:按来源分级浏览已加载的全部 skill,启用/禁用模型 调用,创建新技能,删除技能(移入可恢复的回收站)。
功能
- 侧边栏「技能中心」入口,打开面板含两个 tab。
- 技能 tab:按来源分级展示(系统内置 / 项目
.dsh/skills/ 项目.agents/skills/ 自定义目录 / 用户~/.dsh/skills/ 用户~/.agents/skills/ 运行时注册),每张卡片显示描述、适用场景、可调用标记、 启用/禁用开关(改写 SKILL.md frontmatter 的disable-model-invocation, 模型目录热刷新)与删除按钮(文件移入.trash,可恢复)。 - 创建 tab:表单创建新技能,可写入用户根(
~/.dsh/skills)或项目根 (.dsh/skills),生成标准 SKILL.md。 - 数据来自按官方 dsh-skill-filesystem 根约定的文件系统扫描,并与
ctx.skills注册表(bundled / runtime 条目)合并。本插件不改变 skill 的 加载/注入语义——纯 GUI 管理层。
安装
从 npm(推荐)
dsh plugin --profile web add @linxin666/dsh-client-ui-skill-explorer@latest
从仓库(开发)
git clone https://github.com/zhu1090093659/dsh-web.git
cd dsh-web
pnpm install
pnpm -r build
dsh plugin --profile web add link:$(pwd)/packages/dsh-skill-explorer
安装后重启 dsh web,侧边栏出现「技能中心」入口。
路由
| 路由 | 方法 | 说明 |
|---|---|---|
/api/dsh-skill-explorer/list | GET | 分级技能列表 |
/api/dsh-skill-explorer/set-enabled | POST | 启用/禁用(改写 frontmatter) |
/api/dsh-skill-explorer/create | POST | 创建技能(user/project 根) |
/api/dsh-skill-explorer/delete | POST | 删除(移入 .trash) |
/api/dsh-skill-explorer/health | GET | 健康检查 |
安全模型
- 全部
/api/dsh-skill-explorer/*路由默认仅限 loopback(插件家族共享围栏: loopback 套接字 + Host 头 + 浏览器同源标记):未配对的局域网客户端在任何 技能文件访问前即收到 。同时装了 时,有效的已配对设备 cookie 是额外放行路径(与 检查同一枚 cookie);未配对与已撤销设备仍 403。技能中心不硬依赖 远程插件。