HubaKing/dsh-community-plugins
HubaKing★ 0JavaScriptLast synced: 2026-08-15
DeepSeek Harness 社区插件生态指南:注册 dsh-community-plugins skill,让每个会话都知道插件市场(dshmarket / dsh-plugin-marketplace)以及如何发现、评估、安装社区插件。| Community-plugin guide skill for DeepSeek Harness.
README excerpt
dsh-community-plugins 为 DeepSeek Harness 提供社区插件生态指南的 bundle 插件。安装后,每个 agent 会话都会注册 dsh-community-plugins skill,使 agent 具备发现、评估、安装社区插件的能力。 A DeepSeek Harness bundle plugin that registers the dsh-community-plugins skill, teaching agents how to discover, vet, and install community plugins. 功能 - 注册全局 skill:所有会话的 目录自动出现 dsh-community-plugins - 指导 agent 识别本机已安装插件(dshmarket、dsh-plugin-marketplace 等) - 提供社区插件查找途径:GitHub dsh-plugin topic、npm、dshmarket 市场快照 - 提供官方推荐的安装方式: dsh plugin 命令、GitHub 直装、tarball、 link: 开发模式 - 约束说明:不改官方 shipped preset、装后需重启、构建授权边界 安装 前置条件:dsh CLI(或从 dsh 安装根调用 apps/cli/lib/bin.js )。以下方式任选其一: 安装后 重启 dsh (bundle 层在启动时组合)。新会话中 出现 dsh-community-plugins 即安装成功。 dsh 不在 PATH 时,使用 node /apps/cli/lib/bin.js plugin --profile web add 。 工作原理 文件 职责 index.js 插件入口:将 skills/ 目录注册到 ctx.skills 全局注册表 cordis.patch.yml bundle 补丁层: - insert: 行在 profile 启动时挂载插件 skills/dsh-community-plugins/SKILL.md skill 正文,即 agent 读取的指南 package.json 声明 dsh.bundle.patch manifest 要点: - 纯 JavaScript、零依赖 :GitHub 直装无需 prepare 脚本与 allowBuilds 授权(TypeScript 插件的构建门槛,见官方文档) - 热更新 : index.js 每次发现时从磁盘重读,编辑 SKILL.md 无需重启、无需重装 - 符合官方插件规范 :函数形式 export const name + export function apply(ctx) + dsh.bundle manifest 修改 skill …
View full README on GitHub →