把技能归入具名分组,自由勾选组合切换,拖拽排序,并预览每组的目录 token 成本。
安装
# npm 包(预构建)
dsh plugin --profile web add @cccuuuhhh/dsh-skill-groups
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:cccuuuhhh/dsh-skill-groups
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Quick-switch named skill groups for DSH. Some skills are situational: you want them the moment you are doing research or trading, and you do not want them adding noise to the model's catalog the rest of the time. This plugin groups skills and switches between the groups in one click.
What it actually changes
Only which skills the model can discover. A masked skill:
- disappears from the session skill catalog (saving context on every step),
- is still invocable by you with
/skill-name, - is not deleted, moved, or rewritten on disk, and
- keeps its real instructions — the plugin holds the captured body from the discovered provider, so a masked skill never degrades into a stub.
That last point is the reason the plugin does not rename files or edit SKILL.md frontmatter the way some skill managers do: those approaches pollute git and desynchronise every SKILL.md on every switch.
Two kinds of group
| Kind | Behaviour |
|---|---|
| Exclusive | The "mode". Applying one automatically deactivates the other exclusive groups. |
| Additive | Overlays. Any number can be on at once, for the handful of skills you always want. |
A skill in no group is governed by the default policy — visible by default, so installing this plugin can never silently take skills away.
Where to switch
- Composer chip (
conversation.input.left) — the group name sits beside the input box; click to switch. /skillset <group>— from the composer. Also/skillset off,/skillset add <group>,/skillset rm <group>./skillsetwith no argument lists every group and its current state.- Sidebar panel — the full manager: groups, members, cost preview, auto rules, import/export, undo.
- Model tools —
skillgroup_current,skillgroup_list,skillgroup_apply,skillgroup_toggle,skillgroup_create,skillgroup_set_members,skillgroup_clear, so you can just say "switch me to research mode".
Per-session, not global
A switch scopes to the session you made it in. Two conversations can run different groups at once, and a new session falls back to your default. This is implemented with an agent-scoped skill provider rather than a global one, so the isolation is real rather than cosmetic.
Cost preview
Before switching you can see roughly what the group costs: the catalog characters and estimated tokens it puts in front of the model. Descriptions are counted at the host's own 500-character cap, so the number matches what the model actually receives.
Auto-activation rules
Optional, off by default. A rule can activate a group by workspace path, agent preset, or keywords. Rules only ever activate — an explicit switch always wins, and rules never deactivate something you chose.
Configuration
Installed through the plugin manager. Two switches: the sidebar entry and the composer chip. State lives in $DSH_HOME/skill-groups/state.json (atomic write; a corrupt file degrades to defaults rather than throwing).
Known limits
- Skills the host does not expose to
ctx.skillscannot be grouped. - MCP servers do not follow a group. The host has no runtime MCP toggle, so coupling them would require a restart — out of scope rather than faked.
/skillset --for-turndepends on a turn counter; if it cannot be resolved the switch is made persistent and says so.
链接
同类插件
zhu1090093659/dsh-web#packages/dsh-skill-explorer★ 9959
技能中心:按来源分级浏览已加载的全部 skill,启用/禁用模型调用、创建新技能、删除进可恢复回收站。
iflytek/skillhub#dsh★ 5358
在 DeepSeek Harness 内浏览、搜索 SkillHub 技能,并管理本地技能的安装、更新和卸载。适配 DSH 0.2.0-rc.2 与 0.2.1-rc.2,暂不兼容 0.2.1-rc.3。
QingYunA/answer-me-with-html★ 5085
把回答做成一页可视化 HTML:模型只写简短的 Markdown 草稿,随包附带的 `am` 命令行生成页面,支持流程图、时序图、树、时间线、ER 图、表格和提示框。
hyhmrright/brooks-lint★ 1556
提供六个代码质量技能,涵盖代码审查、架构审计、技术债、测试质量、健康看板与修复。
GanyuanRan/Aegis★ 1411
面向编码 Agent 的软件工程方法包,提供基线优先规划、系统化调试、提示词卫生、完成前验证,以及修复/退役双轨跟踪技能。
superdesigndev/superdesign-skill★ 935
在 Superdesign 画布上做 UI 与营销图的设计技能:先读代码库拿上下文、抽取现有设计系统,再通过 Superdesign CLI 生成并迭代可分支的设计稿、流程页与可复用组件。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。