boomzikazita/dsh-skill-lazy ↗★ 0
dsh-skill-lazy
DSH skill 目录懒加载:首轮只注入名字+一行短摘要(~500 tokens),完整摘要走 skill_search 按需检索,调用频率排序。 适合技能数量较多、需要减少首轮Token消耗的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:boomzikazita/dsh-skill-lazyドキュメント
README 全文を読む ↗Usage tracking
- A
tools/post-executehook records everyskilltool invocation intousage.json(runtime data — see .gitignore). The accumulated counts drive catalog ordering. - An optional proactive match hint (top-3 skills with relevance ≥ threshold) can be injected right after a user message.
Configuration
| Option | Default | Description |
|---|---|---|
catalogDescriptionMaxLength | 40 | Max characters of the one-line summary per skill in the compact catalog. |
topK | 6 | Max hits per domain group returned by skill_search (clamped to 1–20). |
sortByUsage | true | Sort catalog entries by recorded call frequency (fallback: alphabetical). |
matchThreshold | 6 | Minimum relevance score for the proactive match hint. |
Example bundle patch with custom config:
- insert:
- id: skill-lazy
name: 'dsh-skill-lazy'
config:
catalogDescriptionMaxLength: 40
topK: 6