lnyuqian/dsh-skill-sidebar

English: A DSH Web plugin that adds a "Skills" page tab to DSH's official right Sidebar (@deepseek-ai/dsh-client-ui-sidebar-right, the docking tab surface added in DSH 0.1.5-rc.1). It scans the local skill directories (.agents/skills, .codex/skills, .claude/skills, .opencode/skills), lists every skill with a short 4–6 character phrase describing what it does, and offers one-click copy of the /skill-name trigger syntax, pinning, directory tags, live re-scan on new skills, and instant rendering from cache. As of v0.2.0 it registers through the official two-stage tab-type API and no longer depends on the third-party betterSidebar service.(中文说明见下)

catalog descriptioncatalog 简介 / catalog description:dsh-skill-sidebar 技能面板:DSH 右侧边栏技能面板(Skills panel)— 扫描本机技能目录列出全部技能,4-6 字功能短语 + 目录标签 + 一键复制调用 + 置顶 + 默认自动打开 + 每周刷新

Project Overview项目介绍

dsh-skill-sidebar is a DSH web plugin that adds a Skills tab to the dsh-better-sidebar right panel. It merges the live skill registry with local .agents, .codex, .claude, and .opencode skill directories, showing names, short descriptions, directory tags, and controls for copying /skill-name and pinning entries, with caching and automatic rescans. Use it to browse or quickly invoke local skills. It requires the sidebar plugin; restart dsh web and hard-refresh after installation.

dsh-skill-sidebar 是 DSH web 插件,在 dsh-better-sidebar 右侧面板新增「技能」选项卡,合并实时注册表与本机 .agents、.codex、.claude、.opencode 技能目录,展示名称、短描述、目录标签,支持复制 /技能名、置顶、缓存与自动刷新。需要浏览或快速调用本机技能时使用;依赖侧边栏插件,安装后需重启 dsh web 并硬刷新。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
  • 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 github:lnyuqian/dsh-skill-sidebar

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

READMEREADME

dsh-skill-sidebar

English: A DSH Web plugin that adds a "Skills" page tab to DSH's official right Sidebar (@deepseek-ai/dsh-client-ui-sidebar-right, the docking tab surface added in DSH 0.1.5-rc.1). It scans the local skill directories (.agents/skills, .codex/skills, .claude/skills, .opencode/skills), lists every skill with a short 4–6 character phrase describing what it does, and offers one-click copy of the /skill-name trigger syntax, pinning, directory tags, live re-scan on new skills, and instant rendering from cache. As of v0.2.0 it registers through the official two-stage tab-type API and no longer depends on the third-party betterSidebar service.(中文说明见下)

DSH web 插件:在 DSH 官方右侧边栏(@deepseek-ai/dsh-client-ui-sidebar-right,官方新增的可停靠标签页系统)中新增一个「技能」标签页,列出本机可读取的全部技能,并以简短描述介绍每个技能的功能。

v0.2.0 起从第三方 dsh-better-sidebar 面板迁移到官方侧边栏;不再依赖 betterSidebar 服务。版本历史见 CHANGELOG.md。

功能

  • 官方侧边栏标签页:走官方两段式注册 —— 先在 ctx.sidebarRightTabs.register 声明页面类型(kind: 'skills',priority: 'extension'),再在 sidebar.right.pane.tab / sidebar.right.pane.tab.title 两个 keyed 座位下以定义 id 注册主体与标签头。图标为官方技能图标 IconSkillOutline16。
  • 指南页入口:类型自带一个 guide 条目,官方侧边栏的「开始」指南页出现「技能」胶囊,点击即以 replaceTab 打开技能页(与官方「工作区文件」同样的公开路径)。
  • 默认自动打开:官方侧边栏默认折叠且为空,openTab 会在同一步展开右栏;本插件在每个新会话打开一次(AUTO_OPEN = true,lib/client.js 顶部一个常量即可关闭)。侧边栏座位未挂载时命令会抛错,故做了有界重试(250ms 起,最多 25 次);关闭标签页后本次页面加载内不再自动打开。
  • 紧凑排版:每个技能两行展示 —— 第一行技能名(+ 目录标签 + 操作按钮),第二行 4-6 字功能短语;行与行之间以细分隔线隔开,鼠标悬停任意技能行弹出浮层显示完整功能描述。
  • 目录标签:非公共目录(.codex / .claude / .opencode)的技能名后跟 #目录 小标签;公共目录 .agents 不加。
  • 复制(一键调用):每行「复制」按钮,点击复制 /技能名(带斜杠,DSH 输入框的技能触发语法),粘贴到输入框即可触发该技能。
  • 置顶 / 取消置顶:每行 12px 图钉按钮;点击置顶后该技能排到列表最前(图标变主题色实心),再点取消;置顶状态存浏览器 localStorage(dsh-skill-sidebar:pins:v1),刷新后保留。
  • 目录扩展扫描:扫描本机 4 个技能目录 —— .agents/skills(公共)、.codex/skills、.claude/skills、.opencode/skills(后三个均可用环境变量 DSH_CODEX_SKILL_DIR / DSH_CLAUDE_SKILL_DIR / DSH_OPENCODE_SKILL_DIR 覆盖);同名技能以 .agents 优先去重(.claude 的 junction 软链接不重复显示)。各目录类型均支持 $DSH_SKILL_DIRS 追加。
  • 短语来源:插件自带 lib/phrases.json(为全部技能手写的 4-6 字短语清单);新安装的技能自动用规则从描述中拆分生成短语(按标点切分、取每段前 6 字、去重、最多 6 条)。解析自动处理 UTF-8 BOM 与 GBK 编码文件。
  • 立即列出,无需等待:服务端把技能列表直接注入页面(window.__DSH_SKILLS__),同时持久化到浏览器 localStorage 与会话缓存文件,再次启动打开选项卡即可瞬间渲染,无需网络往返。
  • 自动添加新技能:4 个技能目录被 fs.watch 监听(含父目录),新技能安装后自动重新扫描;标签页可见期间每 30 秒后台刷新一次实时目录;缓存随目录集合变化自动失效重扫。
  • 每周一重新读取:周一时服务端强制对全部技能做一次全量重读;此后每 6 小时校验一次,若缓存早于当天则再次刷新。

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-tool-git 下一个 Next dsh-session-progress →