wyzh0117/dsh-skill-select 预览 preview

wyzh0117/dsh-skill-select

DSH web plugin: pick skills from a sidebar and inject them into the current session.

项目介绍Project Overview

dsh-SkillSelect 是 DSH Web 插件,在右侧边栏列出已配置技能,勾选后会在当前会话注入。支持 Auto-start、Global 标记、按 Repo/Name/使用次数/来源排序;Guard 开启时仅放行本次勾选与自动启动范围内的 skill 调用。兼容 dsh-better-sidebar 标签页,缺省时自绘右栏;通过 dsh plugin --profile web add 安装。Update 会 git pull 并刷新带源标记的技能。运行后需重启 dsh web 并硬刷新浏览器。

dsh-SkillSelect is a DSH web plugin that lists configured skills in a sidebar and injects checked ones into the current session. Core capability: session-only skill and auto-start injection, plus Guard mode that rejects model skill tool calls outside the active picks. Use it to manage skills across DSH, Codex, Grok, and Hermes from one panel, with repo/name/usage/source sorting and a per-skill update via git pull. It integrates with dsh-better-sidebar or renders its own right sidebar. Caveat: web profile only, requires a restart and a hard browser refresh, and external-agent skills are not registered in the model's available_skills.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add "github:wyzh0117/dsh-skill-select#main"

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

READMEREADME

dsh-SkillSelect — Pick skills from the sidebar.

dsh-SkillSelect

English · 中文

DSH web plugin: pick installed skills from a sidebar and inject them into the current session.

Features

  • Lists every configured skill. Marks Global, and a repo label when it can be inferred.
  • Skills: session-only checks. A skill appends /skill-name to the composer; a fully checked repo writes /repo and expands on send. Reopening the sidebar clears this tab.
  • Auto-start: persistent defaults, injected once on the first message of each session. Same grouping and checkboxes as Skills.
  • Sort: Repo (default) / Name / Most used / Source. Repo and Source views fold by group.
  • Guard (off by default): when on, model skill tool calls outside Auto-start ∪ this session's picks are rejected. Typed /skill is never blocked.
  • Uses frontmatter description when present; otherwise generates one English line and caches it. Never writes skill files.
  • Also lists Codex / Grok / Hermes user skills (builtins skipped). Duplicates across agents are listed separately. Checks write /name@agent; the plugin injects that source's SKILL.md. These are not registered in the model's available_skills.
  • Update runs git pull on git-backed skills and re-fetches skills with a per-skill origin marker. Root-level markers and skills with no source are skipped. A changelog appears in the panel.

Install

Web profile only.

dsh plugin --profile web add "github:wyzh0117/dsh-skill-select#main"

# local development — use link: so edits apply after restart
# dsh plugin --profile web add "link:/path/to/skill-select"

Restart dsh web, then hard-refresh the browser (Cmd/Ctrl+Shift+R).

Sidebar compatibility

This plugin does not bundle another sidebar.

If dsh-better-sidebar is installed, it registers a Skills tab there (ctx.betterSidebar.registerTab). Open the side card and pick Skills from the + menu.

Skills tab inside dsh-better-sidebar

If dsh-better-sidebar is missing or disabled, it draws its own right sidebar in the same place: toggle to the right of Session log, layout via #root { margin-right }, click outside to close.

To force the standalone sidebar:

# ~/.dsh/profiles/web/cordis.patch.yml
- { id: better-sidebar, disabled: true }

Develop

node --test
node --check lib/index.js && node --check lib/client.js

Design: docs/design.md.

上一个 Prev dsh-kiro 下一个 Next dsh-taskboard