dsh-plugin-tools
by wwumit
wwumit · 治理驱动的 AI 技能生态 — 规则 → 检查 → 评分 → 报告 产品线:合规 · 投资 · 数据分析 · 插件工具 · 数据层 catalog
Plugin tools provider for DeepSeek Harness: expert2skill, skill-compliance, dependency-scan (dsh.bundle)
安装
dsh plugin --profile web add github:wwumit/dsh-plugin-toolsGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
目录
dsh-plugin-tools
插件工具专家组:插件/技能开发与发布工具 provider。通过 ctx.skills 从线级 catalog 安装三个核心工具:
| 工具 | 用途 |
|---|---|
| expert2skill | 专家方法沉淀器:引导访谈 → 规则库 JSON + 可运行 skill 包 |
| skill-compliance | 发布合规检查器:披露完整性 + 免责/红线 + 金融敏感词 + 依赖安全(进 STANDARD §7/§9) |
| dependency-scan | 供应链依赖扫描:宿主遮蔽 / 版本锁定 / 高危基线 / peer 完整性(与 skill-compliance DEP 对齐) |
| malware-scan | 恶意代码静态检测:远程执行 / 混淆执行 / 数据外传 / 持久化 / 凭据读取 / 危险调用链 |
| bundle-lint | bundle 结构一致性校验:cordis.patch.yml / dsh 配置 / 入口 / 包名对齐(BND-001~006) |
| runtime-probe | 实机 list/get 验证:注册插件 → 实测 → 证据契约报告(verifiedBy/verifiedAt/reportUrl) |
Install
npm install @wwumit/dsh-plugin-tools
# peer deps: @deepseek-ai/cordis, @deepseek-ai/dsh-skill
Usage (composition)
import { Context } from '@deepseek-ai/cordis'
import * as pluginTools from '@wwumit/dsh-plugin-tools'
export function apply(ctx: Context) {
ctx.plugin(pluginTools, {
catalogUrl: 'https://wwumit.github.io/skills-catalog/catalog-plugin-tools.json',
})
}
Verified (DSH 实机验证)
verify-dsh.ts 在真实 DSH 运行时验证:ctx.skills.list() 返回 4 个工具 + ctx.skills.get('expert2skill') 拉取 SKILL.md。
Disclosure (DISCLOSURE v0.3)
线级 catalog 双颗粒度披露:3 个工具全部 cloud: false(纯本地)、disclosureSchemaVersion: 0.3、仓级 repos[].cloudSkills/paySkills 同源。披露检查由 skill-compliance v1.5.x 自动执行。
CI 门禁模板(plugin-gate)
仓库内 templates/ci/plugin-gate.yml 提供发布门禁模板:push/PR 时自动执行
build + bundle-lint + skill-compliance + dependency-scan + malware-scan,任一失败即红。
用法:复制到目标插件仓库 .github/workflows/plugin-gate.yml。
Development
pnpm install
pnpm test # vitest (mocked fetch)
pnpm build # tsc → lib/
原始 README: https://github.com/wwumit/dsh-plugin-tools/blob/main/README.md ↗
同类插件
查看全部 →
agent-vision-toolkit
为纯文本模型"看图“设计更好的视觉工具箱和技能,支持多图理解,图片问答,前端UI还原、GUI 自动化等,并可选无缝接入多个主流agent,直接识别粘贴图片| A vision toolkit and skill designed for text-only llms — image Q&A, long-screenshot OCR, frontend UI restoration, and GUI automation, with optional seamless integration for Codex, Claude Code, Pi, Oh My Pi, and OpenCode

api-relay-audit
从 DeepSeek Harness 对 AI API 中转站和 LLM 代理运行本地安全审计,生成 Markdown 报告,覆盖提示词注入、模型替换信号、工具调用改写、错误泄漏、流完整性和按 profile 启用的 Web3 风险。

OpenStory
✨ OpenStory 现已支持 DeepSeek Harness 插件! 现在可以通过 dsh-openstory 将 OpenStory 多智能体推演接入 DeepSeek Harness,让 agent 直接启动模拟、查看角色、下达指令并逐回合推进故事。查看 DSH 插件配置与使用指南。

phi
pi的编码代理 ∞ 提供者、子代理、hashline编辑和权限门

anysearch-dsh
DeepSeek Harness(DSH)的 AnySearch 网络搜索提供方与高级搜索工具。

codex-switch
Codex Switch 是一个 macOS 工具,一键配置 Codex 的自定义 API,同时保留官方 OpenAI 登录。保存后 Codex 的模型选择器里只会出现你选的那个 provider 的模型。也支持 Claude Code 的官方 / 自定义 API 切换。Codex Switch is a lightweight helper for configuring multiple coding-agent API routes. For Codex, it keeps Official OpenAI and a custom API provider configured in parallel, registers the custom model in Codex's mod