dsh-skill-pack:爲 DeepSeek Harness 增加一組工作流技能

前言

DSH 裏做智能體流程時,經常要把一些固定動作沉澱成技能:會話模式選擇、交接、triage、生成 spec/tickets、教學、顧問式建議等。已有做法往往是把技能文件放進某個項目目錄,換一個 profile 或另一個項目時再複製一遍。

jeremy9682/dsh-skill-pack 把這類 workflow skills 做成一個可安裝的 DSH 插件:一次安裝,註冊到一個 profile 的技能發現路徑中,並且不替換你已有的項目技能和用戶技能。

這是什麼

jeremy9682/dsh-skill-pack 是 DeepSeek Harness(dsh)的一組 12 個 workflow skills 的共享包。

  • 倉庫:jeremy9682/dsh-skill-pack
  • 許可證:MIT
  • 最低要求:dsh >= 0.1.0-rc.6
  • 形態:單個 dsh 插件包,內含一個 FileSystemSkillProvider
  • 作用:把包內 skills/ 目錄作爲共享技能根目錄註冊到當前 profile

它適合需要在 DSH 中使用一組 workflow skills,同時保留項目級和用戶級技能的人。

核心能力

該插件註冊的是文件系統中的技能提供器,安裝後會和現有技能並存:

  • 包內提供 12 個 workflow skills
  • 單個插件包註冊一個 FileSystemSkillProvider
  • 指向包內的 skills/ 目錄
  • 與 project skills、user skills 一起被發現,而不是替換它們

包含的技能名稱如下:

  • dsh-mode-routing
  • handoff
  • triage
  • to-spec
  • to-tickets
  • wayfinder
  • wait-what
  • teach
  • ask-matt
  • overnight-execution
  • full-throttle
  • skill-advisor

其中,overnight-execution 需要事先批准;full-throttle 是顯式升級協議,僅 $full-throttle;skill-advisor 不會在缺少明確批准時執行。

安裝與啓用

示例命令使用 web profile。實際使用時,把 web 替換爲你使用的 profile,例如 headless、tui、acp 等。

npm registry

從 npm registry 安裝:

dsh plugin --profile web add @jeremy9682/dsh-skill-pack

Git

從 Git 倉庫安裝:

dsh plugin --profile web add github:jeremy9682/dsh-skill-pack

Local path (file:)

從本地路徑安裝:

dsh plugin --profile web add file:/path/to/dsh-skill-pack

這些安裝形式都是向當前 profile 添加同一個包。安裝完成後,可以通過 --dump-config 檢查是否已經出現在當前 profile 的配置裏。

驗證

運行下面的命令,查看當前 profile 的配置輸出:

dsh --profile web --dump-config | grep -A 2 dsh-skill-pack

如果輸出中包含 dsh-skill-pack 以及相鄰配置信息,說明包已經進入當前 profile 的配置。

卸載

從當前 profile 移除:

dsh plugin --profile web remove @jeremy9682/dsh-skill-pack

如果當前 dsh 構建沒有 remove 轉發能力,需要從 profile 的 package.json 中刪除該依賴,並重新運行:

dsh plugin --profile web install

依賴與權限注意

該包沒有聲明 @deepseek-ai/* 依賴。官方包由 profile 的 closure 在啓動時注入,插件從 profile 自己的 node_modules 中解析它們。

安裝前應檢查源碼和許可證。插件會以當前 dsh 進程權限運行,註冊的技能會影響該 profile 的技能發現與執行路徑;對於需要批准或顯式升級協議的技能,使用前確認你的流程裏有明確批准步驟。

鏈接

GitHub:https://github.com/jeremy9682/dsh-skill-pack

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

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

小夜