dsh-skill-select
开发工具 活跃维护

dsh-skill-select

wyzh0117/dsh-skill-select

轻量级网页插件,提供侧边栏技能选择面板,支持点选技能后一键注入当前会话,无需额外配置,操作流畅便捷,可快速完成会话技能注入。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
305 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:wyzh0117/dsh-skill-select
git clone https://github.com/wyzh0117/dsh-skill-select.git
git clone git@github.com:wyzh0117/dsh-skill-select.git
README.md main

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.