kezboardpj/dsh-skill-loader
DeepSeek Harness(dsh)的按会话技能目录选择器——为每次对话选择要加载的技能。未选中的技能在该对话中不可用。
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH) that enables selective skill loading for new DSH conversations. When you start a new conversation, you can check which skills you want to load into the current session, and any unchecked skills will be fully disabled for that conversation. It adds a new "Skill List" tab next to the default "Work Directory" and "Agent Preset" tabs on the new conversation start page, and this tab automatically disappears once the conversation begins. To install the plugin, you can use the official DSH plugin command from your terminal, replacing the placeholder profile name with your actual profile name, which is web by default for the web interface.
Only checked skills are added to the <available_skills> list that the LLM sees, so unselected skills can't be called via any method, including slash commands or the skill catalog. If you do not make any selection, the default DSH behavior of loading all skills remains unchanged. The plugin also adds two useful slash commands: /skill-select lets you set the active skills for the current conversation (comma-separated, no input clears the selection), and /skill-unarchive lets you unarchive archived sessions that DSH does not provide a native unarchive entry for. This plugin is ideal for DSH users who have many installed skills and want to reduce clutter and context bloat in specific conversations.
Version 0.2 fixed a critical issue where v0.1 saved selection data as a custom session event, which caused DSH to throw a SessionFormatUnsupportedError when loading old sessions because it does not recognize custom event types from third-party plugins. The current version stores selection state in the official DSH settings file under the skill-loader namespace, which avoids this error entirely. If you are upgrading from v0.1, you need to run the provided repair script from your terminal while DSH is stopped to fix old session logs, then update the plugin dependency and restart DSH. This plugin is released under the open source MIT license, with no associated costs for use or modification.
这是一款原生DeepSeek Harness(DSH)插件,用于为新建对话提供自定义技能选择功能。创建新对话时,用户可勾选需要载入当前会话的技能,未勾选的技能会在该对话中完全禁用。它在新建对话起始页的「工作目录」「agent 预设」标签旁新增了「技能清单」标签,对话开始后该标签会自动消失。
用户勾选的技能会被加入当前对话的可用技能列表,大语言模型只会看到勾选后的技能,未勾选技能无法被调用,也不会出现在技能目录中。未做选择的对话保持DSH默认行为,也就是加载全部技能。用户的选择状态会保存在DSH设置文件$DSH_HOME/settings.yaml的skill-loader命名空间下,重启后依然保留。
该插件可通过DSH官方命令行工具从GitHub直接安装,也支持从本地目录安装,安装完成后需要重启对应配置文件的DSH才能生效。从v0.1版本升级需要先运行官方修复脚本修复旧会话日志,再更新插件依赖,最后重启DSH。本插件采用MIT许可证开源,可供免费使用,没有额外使用成本。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-skill-loader(kezboardpj/dsh-skill-loader)
仓库:https://github.com/kezboardpj/dsh-skill-loader
本站详情页:https://www.yhbd.top/plugins/kezboardpj-dsh-skill-loader/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-08-15 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add https://github.com/kezboardpj/dsh-skill-loader.git
把 kezboardpj/dsh-skill-loader 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-skill-loader
English | 中文
DeepSeek Harness (dsh) 的按对话技能清单选择器:新建对话时选择要把哪些技能的清单条目(name + description)载入本对话(载入技能清单);未勾选的技能在该对话中不可用。
功能
- 新建对话的开始页,「工作目录」「agent 预设」chip 旁新增「技能清单」chip;对话开始后自动消失。
- 勾选的 skill 会把其清单条目载入本对话:模型看到的技能目录(
<available_skills>)只包含勾选的技能。 - 未勾选的 skill 在本对话不可用(模型目录、
/名称手势与skill工具都会拒绝)。 - 没有做过选择的对话保持 dsh 默认行为(全部载入)。
- 选择状态存储在 dsh settings(
skill-loader命名空间,$DSH_HOME/settings.yaml),刷新/重启后依然准确。
位置说明:开始页那一行是内置 UI 里硬编码的 JSX,只声明了两个 single 槽位(均被内置选择器占用),插件无法在其中声明第三个槽位。本插件因此在该行内追加自己的 chip 节点并用 react-dom 渲染(锚点:
[data-phase="hero"]内的button[aria-haspopup="menu"],由 MutationObserver 在 React 重挂载后自动恢复),仅当当前会话处于 blank(未开始对话)时出现。
命令
| 命令 | 说明 |
|---|---|
/skill-select <name1,name2,...> |
将本对话的技能清单设为这些技能(逗号分隔;无参数=清空) |
/skill-unarchive <sessionId1,...> |
取消归档指定会话,使其重新出现在侧边栏(dsh 界面本身没有取消归档入口) |
实现要点
- 目录接管:宿主
agent/pre-step监听器在 dsh-tool-skill 之后运行,丢弃其未过滤目录并发布自己的过滤目录(沿用skill-catalog来源与source.entries格式,保证 dsh 自带的历史/摘要逻辑一致,避免每轮重发)。 - 拦截:
tools/pre-execute瀑布拒绝未选技能的skill调用;手势注入按选择过滤。 - 选择状态写入 dsh settings(
$DSH_HOME/settings.yaml),不写自定义会话事件类型——该 dsh 版本会因未知事件类型拒绝加载会话日志(SessionFormatUnsupportedError)。
安装
<profile>是占位符:换成你的 profile 名(Web 界面默认是web;可用dsh --profile <name>启动指定 profile)。
从 GitHub 安装(推荐):
dsh plugin --profile web add https://github.com/kezboardpj/dsh-skill-loader.git
或从本地目录安装:
dsh plugin --profile web add ./dsh-skill-loader
安装后重启该 profile 的 dsh(已安装插件不做热加载)。
(注:dsh plugin add 不能处理含空格的路径;路径含空格时请直接编辑 profile 的 package.json 依赖 + dsh.profile.bundles 后运行 pnpm install。)
从 0.1 升级
全新安装的用户直接执行上面的安装命令即可,装到的就是 0.2.0。已安装 0.1 的用户按以下顺序升级(全程 dsh 保持停止):
运行修复脚本,让被 0.1 写坏的历史会话日志恢复可读(原文件自动备份为
.bak;脚本是幂等的,没有受影响日志时直接输出 nothing to repair。从未在 0.1 里勾选过技能、没有产生过skill-loader/selection事件的用户可以跳过这一步,其余用户跳过会导致旧会话升级后仍然打不开)。一条命令完成下载并运行(无需先 clone 仓库;dsh 保持停止状态):Windows PowerShell:
Invoke-WebRequest "https://raw.githubusercontent.com/kezboardpj/dsh-skill-loader/main/scripts/repair-v01-logs.mjs" -OutFile "$env:TEMP\dsh-skill-loader-repair.mjs"; node "$env:TEMP\dsh-skill-loader-repair.mjs"
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Jungod1121/dsh-anchored-standard
lilyblessing/dsh-mcp-skill-panel
SaiSenBox/dsh-prompt-manager
jiesou/dsh-stream-rules