YTxue/dsh-skill-manager-ytxue 预览 preview

YTxue/dsh-skill-manager-ytxue

DSH Web 插件:设置侧边栏中的技能管理器——列出/启用/禁用,支持文件夹批量导入并提示冲突,状态驱动的一键 DSH 规范检查与自动修复,系统/项目范围标签。

Project Overview项目介绍

This is a native web plugin built exclusively for DeepSeek Harness (DSH). It adds a dedicated "Skill Management" panel to DSH's settings sidebar, accessible after installation and restart. The plugin displays all skills from DSH's default system-level enabled directory ~/.dsh/skills and the optional zero-mounted skill pool ~/.dsh/skill-pool, and automatically labels each skill as either system-wide or project-specific. It also supports refreshing the skill list manually after external changes to skill files. It syncs the displayed skill list to the current open project based on the active session's working directory.

For skill imports, the plugin supports both manual path entry and a built-in local folder browser that can access any directory on your connected drives. It automatically detects if the selected path is a single skill or a batch of multiple skills stored in a parent folder, and runs a pre-check for name conflicts before starting the import. When conflicts are found, it clearly prompts users to choose between skipping conflicting skills, overwriting existing ones, or canceling the entire import operation. Users can also choose whether to import new skills directly to the enabled directory or the unused skill pool for later activation.

The plugin is released under the open source MIT license, and it requires manual installation via git clone from its public GitHub repository. To install, users can either run the dsh plugin --profile web add command with the repository URL, or clone the repo locally and manually add a mount entry to DSH's cordis.patch.yml config file before restarting DSH. It has no third-party runtime dependencies, relying only on built-in Node.js modules and DSH's internal core services. It requires the DSH process to have write access to the ~/.dsh/ directory, and it will fail silently without breaking DSH if any writes to that directory fail.

这是一款专为 DeepSeek Harness (DSH) 开发的原生网页端插件,会在 DSH 的设置侧边栏中新增「Skill 管理」面板。它支持同时查看系统级启用目录 ~/.dsh/skills 和零挂载技能池目录 ~/.dsh/skill-pool 中的所有技能,可区分系统级和项目级技能,还能根据当前会话的工作目录自动识别对应项目。核心功能包含技能启停、本地路径批量导入技能、不合规技能的规范检查与自动修复。

导入技能时支持手动输入路径或可视化选择本地文件夹,能自动识别单个技能文件/目录或批量识别大文件夹下的多个技能。遇到重名技能会弹出提示让用户选择跳过、覆盖还是取消导入,还支持选择将技能复制到启用目录(立即生效)或技能池(暂不启用)。面板会用红绿点标记技能检查状态,红点代表未检查或内容已变更,绿点代表检查通过无变更。

本插件采用 MIT 许可开源,托管在 GitHub 上,安装需通过 git clone 后使用 DSH 原生的插件挂载机制,可通过 dsh plugin 命令挂载或手动修改配置文件挂载。插件运行时零第三方依赖,仅依赖 Node.js 内置模块和 DSH 提供的内置服务。权限方面需要 DSH 进程对 ~/.dsh/ 目录有可写权限,写入失败会静默降级不影响主流程。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 12 stars - an early-stage project星标 12,属于早期项目
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:YTxue/dsh-skill-manager-ytxue

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

READMEREADME

dsh-skill-manager-ytxue

DSH Web 插件:在设置侧边栏中提供「Skill 管理」面板(列表 / 启用 / 停用 / 规范检查与自动修复)。

功能

  • 设置侧边栏条目:设置 → 侧边栏导航「Skill 管理」(注册 settings.section slot,order: 900)。
  • 工具栏:「刷新」(外部手动放入/改动 skill 后重新拉取列表)与「一键检查」(对红点条目检查并修复)。
  • 导入 Skill(支持文件夹选择、批量、重名询问):
    • 选择文件夹:输入框右侧 📂 图标打开内置目录浏览对话框——从**"此电脑"(全部盘符)**起步,可进入任意磁盘、任意层级;对话框标题栏右侧为 [选择此文件夹] [✕](选择在关闭左边),底部为独立的 [返回上级文件夹] 按钮避免误按;条目类型直接读取(不逐个探测),权限受限目录也不缺失;选中后自动填入路径;也可直接手动输入路径;
    • 单/批量自动识别:路径是单个 skill(含 SKILL.md 的目录或 .md 文件)→ 导入 1 个(kind: single);路径是包含多个 skill 的大文件夹 → 自动逐个导入直接子级(含 SKILL.md 的子目录 + 顶层 .md 文件),非 skill 文件忽略(kind: batch);
    • 重名询问(同系统重名文件逻辑):先预检(dry-run),发现重名时弹窗显示"将导入 N 个,M 个与现有条目重名:xxx",由您选择 跳过重名并导入其余 / 覆盖重名(替换现有) / 取消——不再默默跳过;
    • 目标选择:复制到启用目录 skills\(立即生效,导入后自动检查修复)**或**复制到池 skill-pool\(零挂载,之后按需启用);
    • 自动 kebab 规整(实测 guizang-ppt-skill-main → guizang-ppt-skill);结果逐条显示 ✓(覆盖标记)/△(重名跳过)/✗(失败)与警告。
  • 状态总览:已启用目录 ~/.dsh/skills\(**系统级**,DSH rank 400 原生扫描)与池目录 ~/.dsh\skill-pool\(零挂载)双列表。
  • 系统级 / 项目级标识:每个条目在 bundle/flat 标签后显示来源级别——系统级(~/.dsh/skills,对全部项目生效)与项目级(<项目根>\.dsh\skills rank 100 / <项目根>\.agents\skills rank 200,仅该项目生效;只读展示、灰点、不参与规范检查)。
  • 当前项目自动识别(切换会话即生效):默认只显示当前项目的 skill——面板打开/刷新时,客户端把当前会话的工作目录传给 host(订阅客户端 sessions 服务,切换会话立即同步,无需发言),host 向上探测 .git 祖先(与 DSH skill-filesystem 判定一致,无 .git 用 cwd 自身)。切到哪个文件夹的会话,面板就只显示哪个文件夹的项目级 skill,不显示其他项目的。<dshHome> 自身自动排除避免与系统级重复;config.projectRoots 可显式补充展示(标「配置」)。
  • 内容简介:每行显示 frontmatter description(无简介时提示"(无简介)")。
  • 红/绿点(检查状态):名字旁圆点——绿点 = 规范已检查且内容未变;红点 = 尚未检查或内容已变更。依据 ~/.dsh/skill-manager-ytxue.checked.json(按 SKILL.md 内容指纹 sha1 判定)。
  • 状态驱动的规范检查:检查只针对**未检查(红点)**的 skill——首次启用全量检查,之后每次(含插件每次启动)只检查新增/被修改的条目,已检查(绿点)的自动跳过。不合规自动修复并写日志 ~/.dsh/skill-manager-ytxue.log:
    • 目录名/文件名非 kebab-case → 规整重命名(同步 frontmatter name)
    • frontmatter name 缺失/非 kebab/与目录名不一致 → 以目录名为准修正
    • description 缺失 → 补充占位描述(DSH 会排除无 description 的 skill)
    • 布尔字段(disable-model-invocation / user-invocable)驼峰拼写 → 改为 kebab;非布尔值 → 修正/删除(TRUE/FALSE/1/0/yes/no/on/off 均识别)
  • 启用 / 停用:池 ↔ 启用目录间移动(目录 bundle 与平铺 .md 均支持;冲突/重复安全报错,绝不覆盖)。

关于 "bundle" / "flat" 标识

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

← 上一个 Prev better-model-provider 下一个 Next dsh-client-masquerade →