Plugin insight center: one answer to "哪些值得装" — plugin_guide matches needs to plugins, recipe installs whole environments, plugin_rank scores health (0-100), plugin_audit static-scans a local checkout for security, and plugin_verdict outputs install / caution / research / avoid.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-insight
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:863683348/dsh-insight
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
一个插件,一个答案:"哪些值得装"。 把需求推荐、质量评分、安全审计、环境配方合并成同一个决策面 —— 装 dsh-insight 一个包,用户就得到完整结论,而不是在三个工具间自己拼答案。
为什么是合并(而不是 3 个插件)
"没有评分、没有审计、没有'哪些值得装'的答案" —— 这是同一个决策的三个维度(安全吗 → 好不好 → 适合我吗)。拆成多个插件 = 用户自己拼答案;合一个 = 一次调用拿结论。
五个工具
| 工具 | 回答的问题 |
|---|---|
plugin_guide |
用户说需求 → 推荐最匹配的插件(84 个精选 / 14 分类,带理由与安装命令) |
recipe |
用户要整套环境 → 8 个社区配方(通知全家桶、安全审计套装...)有序安装计划 |
plugin_rank |
"哪些值得装" → 健康分排行榜(maintenance/docs/npm/ecosystem,0-100) |
plugin_audit |
"这个安全吗" → 本地目录静态安全扫描(外泄/凭据/混淆/持久化启发式) |
plugin_verdict |
"这个值得装吗" → 综合评分+扫描+需求匹配,输出 install / caution / research / avoid |
安装
dsh plugin --profile <profile> add dsh-insight
用法示例
- "我想抓取网页" →
plugin_guide(need="抓取网页") - "手机远程访问" →
recipe(search need="手机远程") → apply - "哪些插件值得装" →
plugin_rank(sort=score) - "这个仓库安全吗" →
plugin_audit(dir=/path/to/checkout) - "dsh-browser 值得装吗,我用来抓网页" →
plugin_verdict(repo + need + dir 可选)
设计
- 纯逻辑层零依赖:
match.js、recipe.js、scoring.js、security.js、verdict.js全部可独立单测。 - 评分模型:0-100 = maintenance 30 + docs 25 + npm 30 + ecosystem 15;grade A-F;安全高危 flag 封顶 D。
- 数据:
lib/guide-data.json(精选目录)+data/catalog.json(700+ 插件评分数据)。 - 安全:插件本身零网络请求;
plugin_audit只读模型指定的本地目录做静态扫描(信任边界:只扫可信源码)。
测试
node --test test/
License
MIT
Links
More in this category
dsh-market/dsh-market★ 666
(Recommended) The plugin market inside DSH: a Settings page to browse and search the full community catalog by category, with confirmed one-click installs and an installed-plugins view.
bradeGithub/DSH-Plugins-Marketplace★ 102
GitHub-topic-driven plugin & skill marketplace: a Settings page that browses the auto-collected registry (the whole dsh-plugin topic plus the skills index, CI-refreshed every 2 hours) with one-click install, type detection, install-script and host-shadow-dependency safety confirmations, env-key management, and the STANDARD.md recognition spec.
Sanqi-normal/dsh-webui-market-plugin★ 66
In-harness plugin market for the dsh web GUI: browse the awesome-dsh-plugin.com catalog and install/uninstall plugins into a profile from Settings → Plugins → Plugin Market.
whyihaveyou/dsh-suite#plugin-manager★ 38
In-app plugin store for the DSH Web UI: browse, search, one-click install, compat badges.
Noob-stupid/dsh-plugin-hub★ 34
A plugin management panel: one-click enable/disable for installed plugins plus a GitHub dsh-plugin marketplace with details and one-click installs.
yyyyukari/dsh-plugin-workshop★ 26
Steam Workshop-style in-app plugin browser: search, hot/newest/trending (7/30/90-day) sorting, Chinese keyword mapping, bilingual descriptions and README translation, plugin-signature filtering, and one-click install/update.