- Inicio
- Plugins
- Habilidades
- dsh-skill-harbor
dsh-skill-harbor
drscrewdriver/dsh-skill-harbor
A skill hub (skill control center) for DSH. Manage your local DSH skills right in the settings panel - list them, read a skill, and enable, disable or delete it - and view the public agent skills read-only. It answers the questions DSH leaves open: which skill lives in which root, and which one actually wins when two roots define the same name (lower rank wins, ties do not shadow, case-insensitive on Windows). It adds a security audit that normalises the text before matching - stripping zero-width, bidi and other control characters, so hiding a control char inside a token cannot slip past a rule - plus a character-budget check that counts name/description/whenToUse and ignores the skill body. Market sources are pinned to a commit and refuse floating refs, and downloaded archives are never auto-executed. Everything is read-through: anything not editable is reported as skipped, never as ok.
Instalar
dsh plugin --profile web add github:drscrewdriver/dsh-skill-harborREADME
dsh-skill-harbor(技能港湾)
DSH 技能管理面板插件:技能发现 / 遮蔽判定 / 审计 / 市场管理。
当前版本
0.0.1= 基础骨架(宿主半 + 客户端半 + 清单 + 构建脚本),业务逻辑按计划分阶段落地。
安装
dsh plugin --profile <name> add dsh-skill-harbor@0.0.1
版本线
| 版本 | 内容 | 状态 |
|---|---|---|
0.0.1 | 基础骨架 | ✅ 已发布 |
0.1.0 | Phase 1 证据层(根枚举 / frontmatter / observe / shadow / provider) | 规划中 |
0.2.0 | Phase 2 本地管理(路由闸 / 列表 / 写 / 导入) | 规划中 |
0.3.0 | Phase 3 预算与审计 = MVP | 规划中 |
0.4.0 | Phase 4 市场(不进 MVP) | 规划中 |
发布粒度:每 Phase 一个中版本,每 task 一次 rc。完整 26 个版本节点的拆解见 docs/plans/dsh-skill-harbor/tasks.md。
结构
src/index.js 宿主半(apply(ctx, config))
src/client.js 客户端半(__ModuleLoader__ 注册,id = 包名)
scripts/build.mjs 零依赖构建 → lib/
cordis.patch.yml bundle patch(dsh plugin add 自动挂载)
dsh.plugin.json DSH 插件清单
docs/plans/ 规划文档(spec / tasks / checklist / findings)
背景
DSH 官方没有技能管理界面,且 packages/bundle/web-app/cordis.patch.yml 把 skill-filesystem / tool-skill 在 host 层设为 disabled: true,技能发现被下放到 preset(agent scope)层——host 面的 ctx.skills 读不到项目/用户技能。本插件要回答:这个技能到底在哪、谁在遮蔽谁、模型收没收到。
License
MIT