dsh-skill-panel:DeepSeek Harness Web 端的 Skill 管理面板

前言

在 DeepSeek Harness(DSH)「一切皆插件」的模型下,web app 里的 agent skills 可能来自多个来源:user .agents、user .dsh、project roots、custom、bundled。dsh-skill-panel 为 DSH web app 提供一个 Skill management panel,把这些技能集中到 Settings → Skills 页面和侧边栏 Skills 按钮,便于浏览、搜索、过滤、启停、卸载。下面介绍它的定位、功能、安装方式和入口配置。

这是什么

dsh-skill-panel 是 dsh web app 的 Skill management panel,由 nianchen8 维护,许可证为 MIT。

它没有 fork,不使用内部 API,也没有构建步骤(pure JS)。运行时依赖限定为 harness-provided @deepseek-ai/dsh-storage-domainzod(declared as dependencies)。

核心功能

  • Skill list:展示 name、description、source label,以及 per-source counts。
  • 搜索与来源过滤:支持 user .agents、user .dsh、project roots、custom、bundled。
  • Model / User invocation switches:改写 SKILL.md frontmatter;未指定的 switches 保留。
  • Disable / Enable:完全禁用一个 skill,并记住其 previous state;启用时恢复 exactly that state。
  • Uninstall:two-step confirm,删除 skill directory;bundled skills 受保护。
  • Detail view:展示 whenToUse、on-disk path 和 SKILL.md body。
  • Skill groups:创建 / 重命名 / 删除分组,按分组管理成员(add / remove skills),按分组浏览;通过 official ctx.storageDomain 持久化,不使用 self-made storage files。
  • Reads:所有读取均为 session-scoped,面板显示当前 session 提供的 catalog。
  • Writes:写操作同步 invalidate discovery,并通过 official forwarded events 刷新 slash-menu cache。

安装与启用

要求:

  • DeepSeek Harness 0.1.0-rc.6+(web profile)
  • pnpm 可用(corepack enable provides it)

以下命令提供 npm 和 GitHub 两种来源;执行 dsh web 重启以加载包。

corepack enable                                   # once per machine
dsh plugin --profile web add dsh-skill-panel     # from npm
# or: dsh plugin --profile web add github:nianchen8/dsh-skill-panel
dsh web                                           # restart to load the package

重启后,面板会出现在 Settings → Skills 和侧边栏的 Skills 按钮。

典型用法

1、打开入口:进入 Settings → Skills,或点击侧边栏 Skills 按钮。

2、查找技能:使用搜索,或按来源过滤(user .agents、user .dsh、project roots、custom、bundled)。

3、调整调用开关:切换 Model / User invocation switch;插件会改写 SKILL.md frontmatter,并保留未指定的 switches。

4、临时停用:点击 Disable / Enable;插件会记住 previous state,启用时恢复。

5、删除技能:点击 Uninstall 并完成 two-step confirm;bundled skills 受保护。

6、管理分组:创建、重命名、删除 Skill groups,添加或移除分组中的 skill,再按分组浏览。

7、查看细节:在 detail view 中查看 whenToUse、on-disk path 和 SKILL.md body。

配置 UI 入口

三个 UI entries(sidebar button、overlay、settings page)可以通过 loader entry 的 config 单独覆盖。文件路径示例:profiles/<name>/cordis.patch.yml

- id: skill-panel
  config:
    entries:
      sidebar:
        enabled: true        # show the sidebar button (default true)
        order: 5             # explicit position; omit = dynamic tail
        # slot: conversation.session.header.actions   # optional relocation
      overlay:
        enabled: true
        order: 10
      settings:
        enabled: false       # hide the settings page

配置含义:

  • entries.sidebar.enabled:是否注册 sidebar button,默认 true
  • entries.sidebar.order:显式位置;省略表示 dynamic tail。
  • entries.sidebar.slot:可选 relocation。
  • entries.overlay.enabledentries.overlay.order:控制 overlay。
  • entries.settings.enabled:例如设为 false 可隐藏 settings page。

适用场景与注意

  • 适合在 DSH web profile 中集中管理 SKILL.md 技能的使用者。
  • 需要 DeepSeek Harness 0.1.0-rc.6+(web profile)和可用 pnpm。
  • 写操作会改写 SKILL.md frontmatter 或删除 skill directory;bundled skills 受保护。
  • 当 storage 不可用时,面板会降级为 read-only group view。
  • 当 endpoint 不可用(例如重启前),browser half 会回退到上述默认入口配置。
  • 插件以当前 dsh 进程权限运行;安装前应检查源码和 MIT 许可。

相关链接

GitHub 仓库:dsh-skill-panel。目录页 URL 未在已核实材料中给出,可先查看上述仓库中的 README、安装命令和许可证。

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye