DeepSeek Harness 插件

packages/dsh-skill-explorer

DSH Web GUI 技能中心:按来源分级(系统内置/项目/用户/自定义/运行时)浏览已加载技能,支持创建、启用/禁用与删除(移入 .trash 可恢复)。

跳到安装方式

来源信息

GitHub 仓库
wingsky-1/dsh-plugin-hub
最近更新
2026年8月18日
分类
插件开发工具
GitHub stars
0

安装

默认先复制一段 Prompt,让 Agent 读页面和仓库;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读页面和仓库。

请先不要安装。阅读这个 DeepSeek Harness 插件,说明它解决什么问题、会访问哪些文件、网络或密钥,以及如何安装和卸载。

插件页面:https://deepseekplugins.org/zh/plugins/wingsky-1/dsh-plugin-hub~23packages~2Fdsh-skill-explorer
GitHub:https://github.com/wingsky-1/dsh-plugin-hub/tree/main/packages/dsh-skill-explorer
插件名:dsh-plugin-hub#packages/dsh-skill-explorer
作者:wingsky-1
安装命令:dsh plugin --profile web add @wingsky-1/dsh-skill-explorer

确认前不要执行安装命令。

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器2 个文件
README.md来源说明 · 只读预览

@wingsky-1/dsh-skill-explorer

DSH Web GUI 的技能中心:侧边栏「技能中心」入口,两个 tab:

Tab功能
技能展示已加载的全部 skill,按来源分级(系统内置 / 项目 / 用户 / 自定义 / 运行时),支持启用/禁用(改写 disable-model-invocation)、删除(移入 .trash
创建表单创建新 skill(用户级 ~/.dsh/skills 或项目级 .dsh/skills),生成标准 SKILL.md

零运行时依赖、无 React:host 端与浏览器端均为 TypeScript,客户端经 esbuild 打包为 IIFE 产物。

安装

dsh plugin --profile web add @wingsky-1/dsh-skill-explorer

安装后重启一次 dsh web,侧边栏出现「技能中心」入口。

数据来源与分级

级别(展示顺序)来源
系统内置注册表 bundled(DSH 随附与插件提供的技能)
项目技能(.dsh/skills、.agents/skills)文件系统(仅当前项目)
自定义目录文件系统(customSkillDirs 配置的额外根)
用户技能(~/.dsh/skills、~/.agents/skills)文件系统(本机所有项目)
运行时注册注册表 runtime(插件代码内嵌注册)

路由(全部 loopback 围栏)

路由方法说明
/api/dsh-skill-explorer/healthGET健康检查
/api/dsh-skill-explorer/list?cwd=GET分级技能列表
/api/dsh-skill-explorer/set-enabledPOST启用/禁用(改写 frontmatter)
/api/dsh-skill-explorer/createPOST创建技能(user/project 根)
/api/dsh-skill-explorer/deletePOST删除(移入 .trash)

配置(插件 config)

默认说明
enabledtrue插件总开关
customSkillDirs[]额外自定义技能根目录
dshHome~/.dsh用户技能根覆盖(默认 ~/.dsh/skills
agentsHome~/.agentsagents 技能根覆盖(默认 ~/.agents/skills

安全与边界

  • 删除只移入 .trash(可手动恢复),不物理删除
  • 所有 /api/dsh-skill-explorer/* 路由仅限 loopback 访问(非回环 403 / 方法错 405)
  • 技能内容展示经转义(textContent),无 XSS 面
  • 写面(create/set-enabled/delete)有 loopback 围栏与路径白名单(kebab-case 技能名防路径穿越)

验证

# 健康检查(回环)
curl -s http://127.0.0.1:3080/api/dsh-skill-explorer/health

# 源码在 src/,改后必须 build
pnpm --filter @wingsky-1/dsh-skill-explorer build
node test/smoke.mjs

License

MIT