Mvyvn/dsh-skill-manager 预览 preview

Mvyvn/dsh-skill-manager

为 DSH 打造的技能管理器插件:扫描/一键导入技能、分组启停、默认组与全部禁用、会话级选择器、全中文 UI,AI 可经 skillmg_* 工具自主管理。A DSH skill-manager plugin: scan & one-click import skills, group enable/disable via atomic SKILL.md rename, default group & all-off mode, per-session picker, all-Chinese UI, and AI self-service via skillmg_* tools.

Project Overview项目介绍

dsh-skill-manager is a native plugin built exclusively for DeepSeek Harness (DSH). It automatically loads when you launch the dsh web command, and no extra approval steps are required. To install the plugin, you first need to have launched dsh web at least once to generate the required web profile. After cloning the repository, you can run the platform-specific install script (PowerShell for Windows, Bash for macOS/Linux) to copy the plugin files to the correct DSH directory. Once the install completes, you must fully restart the dsh web process, not just refresh the page, to activate the plugin.

After installation, you can start importing skills from your configured source directories, which default to ~/.agents/skills and $DSH_HOME/skills, and you can adjust these source directories in the plugin configuration any time. You can create custom groups, add imported skills to these groups, and set one group as the default for all new chat sessions. You can also use the dropdown selector on the left of the chat input bar to assign a custom group to the current active session. All core management functions can also be handled autonomously by AI via the built-in skillmg_* tools.

This plugin is released under the permissive MIT open source license, so you can use and modify it freely for any personal or commercial purpose. It relies on DSH's current behavior of only recognizing skills with the exact filename SKILL.md, and it handles disabling skills by atomically renaming SKILL.md to SKILL.md.disable, which is concurrent-safe and avoids corrupting skill data. It was primarily developed and tested on Windows, but it also works correctly on macOS and Linux with standard path handling. Browser uploads are limited to 2MB per file and 16MB total content.

这是一款专为 DeepSeek Harness (DSH) 打造的原生技能管理器插件,会随 dsh web 启动自动加载,无需额外审批。它支持从多个来源目录扫描、导入技能,也支持通过浏览器上传 zip 包或文件夹导入,可对技能进行分组启停,通过原子重命名 SKILL.md 实现启停,并发安全,还提供全中文界面适配官方 DSH 主题。

它面向需要整理、管理大量第三方技能的 DSH 用户,核心使用流程非常简单:先从设置的技能管理页导入所需技能,接着新建分组并把对应技能加入分组,将分组设为默认就能全局生效,也支持让 AI 通过内置工具自主完成所有管理操作,还可针对当前会话单独指定技能分组。

该插件采用 MIT 许可证开源免费使用,安装需要先运行过一次 dsh web 生成 web 配置文件,可通过仓库提供的脚本自动安装,也可手动复制文件到指定目录,安装后需要完全重启 dsh web 才能生效,主要在 Windows 开发测试,macOS 和 Linux 也兼容使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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 github:Mvyvn/dsh-skill-manager

把 Mvyvn/dsh-skill-manager 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Skill Manager

为 DSH 打造的技能管理器插件,随 dsh web 启动自动加载(无需审批)。

  • 扫描 / 导入 / 上传:列出来源目录(~/.agents/skills、$DSH_HOME/skills)的全部技能,一键复制进 $DSH_HOME/skills,或浏览器上传 .zip / 文件夹
  • 分组启停:建组、加技能、组内停用;停用即把 SKILL.md 原子改名为 SKILL.md.disable(零内容写入、并发安全)
  • 默认组:控制所有会话的模型技能目录;保留 id __all_off__ = 全部禁用
  • 会话级选择器:聊天输入栏左侧下拉,为当前会话单独指定分组
  • 全中文 UI,官方 DSH 主题 token;skillmg_* 模型工具让 AI 可自主完成全部管理

截图

技能导入 分组管理 会话级选择器
ui-import ui-groups ui-picker

安装

前置条件:已启动过一次 dsh web(需已生成 web profile)。

# Windows
git clone https://github.com/Mvyvn/dsh-skill-manager.git
cd dsh-skill-manager
powershell -ExecutionPolicy Bypass -File scripts/install.ps1
# macOS / Linux
git clone https://github.com/Mvyvn/dsh-skill-manager.git
cd dsh-skill-manager
bash scripts/install.sh

脚本把插件装入 $DSH_HOME/profiles/web/node_modules/dsh-skill-manager/($DSH_HOME 默认 ~/.dsh),然后完全重启 dsh web(结束进程重开,不是刷新页面)。也可手动复制 lib/、cordis.patch.yml、package.json 到同目录。

验证:设置里出现「Skill 管理」侧栏;聊天输入栏左侧出现「技能组:」下拉。

快速上手

  1. 设置 → Skill 管理 → 技能导入:勾选技能,点「导入所选」;
  2. 切到 分组管理:新建分组,把技能加入;
  3. 点「设为默认」→ 所有会话的技能目录立即切换为该分组;
  4. 想让 AI 自己管?直接对它说「把 xxx 技能分到 xxx 组」即可。

⚠️ 技能可见性:两套引擎(skill-only 预设已非必需)

插件控制"模型能看到哪些技能"有两套引擎,启动时自动选择(skillmg_get_config 的 engine 字段可查):

引擎 何时使用 行为
scope(新,推荐) DSH ≥ 0.1.7 且按会话分层可用(启动时自动探测) 在每个会话自己的注册表层里隐藏/放行技能:选组只影响这一个会话、下一步生效、完全不动磁盘;两个会话可同时使用不同分组
rename(旧,自动回退) 探测失败,或配置 engine: "rename" 原子改名 SKILL.md ⇄ SKILL.md.disable 控制可见性:全局生效,切组会重排磁盘

scope 引擎下磁盘必须保留可发现的 SKILL.md(引擎需要先从官方 provider 取到真实定义才能遮蔽它), 因此首次启用会把历史 .disable 文件改回来一次,此后切组不再触碰磁盘。

旧引擎仍需要 skill-only 预设:DSH 默认从多个根合并加载技能(~/.agents/skills、项目根、bundled),改名只作用于导入目标那一份,其他根里同名技能照样能被发现。需要 multi-root 兼容时运行:

node scripts/apply-skill-only-preset.mjs             # 追加 skill-only 预设,并设为默认
node scripts/apply-skill-only-preset.mjs --refresh   # DSH 升级后重新对齐官方插件表
bash scripts/install.sh                              # 或 install.ps1:装完会提示这一步

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-labnana 下一个 Next dsh-wigolo →