QWE13-ART/dsh-skill-folder ↗★ 0
dsh-skill-folder
Fold the DSH skill catalog prompt surface: static KV-cache-stable catalog + BM25/bge-m3 hybrid skill_search + autoRoute hints. Rendering-only fold: source.entries stay untouched, the skill tool and /name injection stay host-owned. v0.3.0 adds a semantic retrieval leg (local Ollama bge-m3, RRF hybrid) and auto-route skill hints appended to the user message tail (KV-safe).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:QWE13-ART/dsh-skill-folder说明文档
阅读完整 README ↗配置(schemastery,profile 可按 id: skill-folder 覆盖)
| 键 | 默认 | 说明 |
|---|---|---|
enabled | true | 总开关:关闭则完全不注册监听器 |
core | ["dsh-injection-guard", "dsh-verifier"] | P0 常驻:每轮全量描述可见(安全底线,不截断;deny 不能删除 core) |
deny | ["autotelic-evolution", "dsh-team-orchestra"] | P3 剔除:精确名或 prefix*;core 技能豁免 |
aliases | 12 技能中文映射 | 意图词→技能:skill_search 检索索引(BM25 加分),中文意图可命中英文技能 |
maxDescLength | 100 | 非 core 技能描述最大长度(core 不受限) |
maxFoldMs | 5 | 裁剪耗时上限(ms),超时仅告警,结果仍应用 |
toolSearchEnabled | true | 注册 skill_search 检索工具(静态前缀,结果追加尾部,不破坏缓存) |
maxDescLength | 100 | 动态条目描述最大长度;core 不受限 |
maxFoldMs | 5 | 裁剪耗时上限(ms),超时仅告警,结果仍放行 |
默认 aliases:
{
"viking-memory-guide": ["记忆", "回忆", "记住", "memory", "remember"],
"dsh-grilling": ["访谈", "对齐", "先问我", "grilling", "问清楚", "开工前"],
"dsh-delegation-checklist": ["委派", "子智能体", "subagent", "delegate", "openhands"],
"dsh-context-language": ["术语", "词汇表", "领域语言", "context", "语言"],
"dsh-injection-guard": ["注入", "安全", "不可信", "injection", "外部内容"],
"dsh-verifier": ["验证", "检查完成", "防假完成", "verify", "验证器"],
}
core / deny / aliases 的键(技能名)均支持精确名或 prefix* 前缀匹配。