Browse, search, delete, undo-delete, and update user skills from the Web settings panel; checks GitHub/Gitee Releases for newer skill versions.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:tuogusa/dsh-skill-manager
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DeepSeek Harness (DSH) 技能管理器(host + client 一体包)。
功能
- 设置 → 技能:列出全部用户技能(含来源目录:项目/DSH-Home/用户目录)
- 按名称/描述搜索,显示技能大小与文件数、
user-invocable/disable-model-invocation标记 - 复制技能路径、删除用户技能(仅限已知用户技能根之下,防路径逃逸)
- 会话级撤回:删除技能时先移入同盘隐藏回收目录,当前会话内可一键恢复;也支持“彻底删除”和查看最近删除列表
- 版本检测与更新:支持在 SKILL.md 中声明
version/repository/sourcePath,从 GitHub/Gitee 检查最新 Release;有新版本时显示更新按钮,已最新时显示版本号
安装
dsh plugin --profile web add github:tuogusa/dsh-skill-manager
兼容 Profile:web(DSH Web GUI)。
然后按 dsh 引导添加 pnpm-workspace.yaml 的 allowBuilds 条目,重启 DSH 并 Ctrl+Shift+R 刷新浏览器。
更新
# 方式一:CLI 更新(推荐)
dsh plugin --profile web update dsh-skill-manager
# 方式二:重新从 GitHub 源安装/更新
dsh plugin --profile web add github:tuogusa/dsh-skill-manager
说明:
dsh plugin是 pnpm 的前置转发器,update会按当前依赖声明重新解析该包;通过github:tuogusa/dsh-skill-manager安装时,会更新到仓库默认分支的最新提交。本插件的“技能更新”功能更新的是用户技能(SKILL.md 中声明repository的 Release),不是插件自身;插件自身请用上面的 CLI 命令更新。
结构
lib/index.js— 主机侧:/api/skill-manager/list、/api/skill-manager/delete、/api/skill-manager/trash、/api/skill-manager/undo、/api/skill-manager/purge、/api/skill-manager/check-update、/api/skill-manager/updatelib/update.js— 更新检测/版本比较/清单/下载解压工具lib/client.js— 浏览器侧:设置 → 技能 分区test/delete-undo.test.mjs— 删除/撤回/彻底删除的验证测试test/update.test.mjs— 更新检测/更新流程的验证测试(npm test)
删除/撤回 API
POST /api/skill-manager/delete{ path }→ 移入会话回收站,返回{ undoId }GET /api/skill-manager/trash→ 当前会话可撤回的删除列表POST /api/skill-manager/undo{ id }→ 恢复技能到原路径POST /api/skill-manager/purge{ id }→ 彻底删除回收站中的技能
回收目录位于各技能根目录的同级隐藏目录 .dsh-skill-manager-trash;插件重启时会自动清理,保证“仅当前会话可撤回”。
更新检测/更新 API
POST /api/skill-manager/check-update{ path }或{}→ 检查单个/全部技能更新,返回更新状态POST /api/skill-manager/update{ path }→ 下载最新 Release 并整体替换技能目录,失败自动回滚
SKILL.md 可选元数据
---
name: demo
description: ...
version: 1.2.0
repository: https://github.com/owner/repo
sourcePath: . # 可选;仓库内技能所在子目录,默认仓库根目录
---
本地清单
更新状态会缓存到 $DSH_HOME/.dsh-skill-manager.json,避免每次打开设置页都请求外网。
扫描根(与 dsh-skill-filesystem 一致)
<项目>/.agents/skills、<项目>/.dsh/skills$DSH_HOME/skills、~/.agents/skills
License
MIT
Links
More in this category
yjh051108/dsh-routing-suite★ 7003
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3666
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
hust-open-atom-club/oh-dsh★ 325
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
weijiafu14/pi2dsh★ 206
Pi Host ABI compatibility engine: after one install, unmodified Pi extensions from npm mount as native DSH plugins with `dsh plugin add <pi-package>`. Verified end to end on stock DSH with pi-mcp-adapter (full MCP manager: OAuth, resources, prompts, MCP Apps, elicitation, sampling), @tintinweb/pi-subagents, pi-code, pi-hermes-memory and pi-background-tasks; `pi2dsh inspect` reports a package's compatibility before installing.
lire1131/dsh-undo-savepoint★ 166
Undo/redo & rollback system for DSH: every config change is auto-snapshotted; undo/redo/restore to any version from the WebUI or the offline CLI/GUI tools (works even when DSH fails to boot).
Fishquito7/dsh-skill-mcp-panel★ 155
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.