dsh-public-plugins
by ruby1304
公开可复用的 DeepSeek Harness 插件与技能:工作流画布工具箱、盲评 harness、LLM 成本实验室与事故台账
Public, reusable DeepSeek Harness plugins and skills: workflow canvas toolkit, blind eval harness, LLM cost lab, incident ledger.
安装
dsh plugin --profile web add github:ruby1304/dsh-public-pluginsGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
目录
Public, reusable DeepSeek Harness (dsh) plugin bundles and skills. Everything here is generic tooling: workflow canvas JSON, blind A/B evaluation, LLM cost math, and an incident ledger. No vendor/company secrets, no internal app identifiers, no user/member identifiers, no credentials, no real prompts.
Bundles
| Bundle | MCP server | Tools | Public skills |
|---|---|---|---|
dsh-plugin-workflow-canvas |
bundles/dsh-plugin-workflow-canvas/mcp/canvas_server.py |
canvas_normalize, canvas_contract, canvas_mutate, canvas_validate, canvas_diff |
workflow-canvas-lab |
dsh-plugin-eval-harness |
bundles/dsh-plugin-eval-harness/mcp/eval_harness_server.py |
eval_payload_build, eval_package_export, eval_aggregate, eval_report |
llm-badcase-blind-eval, effect-measure-before-after |
dsh-plugin-llm-cost-lab |
bundles/dsh-plugin-llm-cost-lab/mcp/cost_lab_server.py |
cost_config_validate, cost_node, cost_matrix, cost_html_report |
llm-node-cost-optimize |
dsh-plugin-incident-ledger |
bundles/dsh-plugin-incident-ledger/mcp/incident_ledger_server.py |
issue_init, issue_upsert, issue_list, issue_get, issue_board_build, issue_check |
production-incident-triage |
Each bundle is an npm-style package whose package.json contains:
"dsh": { "bundle": { "patch": "./cordis.patch.yml" } }
and whose cordis.patch.yml inserts one @deepseek-ai/dsh-mcp-client row (the Python stdio MCP server)
and one @deepseek-ai/dsh-skill-filesystem row (the bundle skills/ directory).
Distribution note
This is a monorepo of four bundles. dsh installs bundles as npm-style packages with a
dsh.bundle manifest, and npm/GitHub git installs address a repository, not a subdirectory —
so today the supported install path is the local checkout shown above
(dsh plugin --profile web add <absolute-bundle-path>).
If/when these get published, the plan is one npm package per bundle (plain JS/Python, no build
step), after which dsh plugin add <npm-name> will work. A dsh-plugin GitHub topic is set on
this repo for discoverability.
Local-only installation
From this repository root, install each bundle into the desired dsh profile with (do not run this unless you intentionally want to install it):
dsh plugin --profile web add "$PWD/bundles/dsh-plugin-workflow-canvas"
dsh plugin --profile web add "$PWD/bundles/dsh-plugin-eval-harness"
dsh plugin --profile web add "$PWD/bundles/dsh-plugin-llm-cost-lab"
dsh plugin --profile web add "$PWD/bundles/dsh-plugin-incident-ledger"
The cordis.patch.yml files use !!js env-var overrides with absolute defaults that point back at
this checkout, so the bundles work from the repo path directly.
No-secrets policy
- MCP servers are local-file tools only: no network calls, no credentials, no environment secrets are printed.
eval_payload_buildwrites the blind-eval keymap to a file and returns only its path; the mapping is never echoed into chat.- Do not commit internal hostnames, internal app identifiers, user/member identifiers, credentials, or real prompts.
Verification
# 1. Smoke: initialize + tools/list handshake for every MCP server (python3 stdlib only)
bash scripts/smoke_all.sh
# 2. Compile every Python file
find bundles scripts -name '*.py' -print0 | xargs -0 -n1 python3 -m py_compile
# 3. Ensure no !!js scalar uses backticks (the dsh YAML dialect rejects them)
if grep -Rn '!!js[^#]*`' bundles/*/cordis.patch.yml; then
echo "ERROR: backtick scalar near !!js" >&2; exit 1
fi
# 4. Quick tool-level self-tests (optional, stdlib only)
python3 - <<'PY'
import json, subprocess, sys
servers = [
"bundles/dsh-plugin-workflow-canvas/mcp/canvas_server.py",
"bundles/dsh-plugin-eval-harness/mcp/eval_harness_server.py",
"bundles/dsh-plugin-llm-cost-lab/mcp/cost_lab_server.py",
"bundles/dsh-plugin-incident-ledger/mcp/incident_ledger_server.py",
]
for s in servers:
p = subprocess.Popen([sys.executable, s], stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True)
def send(m):
p.stdin.write(json.dumps(m) + "\n"); p.stdin.flush(); return json.loads(p.stdout.readline())
send({"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26"}})
out = send({"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}})
tools = [t["name"] for t in out["result"]["tools"]]
assert tools, s
print(f"{s}: {len(tools)} tools")
p.stdin.close(); p.wait(timeout=10)
PY
Layout
bundles/
dsh-plugin-workflow-canvas/ # generic canvas toolkit + lab skill
dsh-plugin-eval-harness/ # blind A/B eval + badcase/before-after skills
dsh-plugin-llm-cost-lab/ # cost calculator + optimize skill
dsh-plugin-incident-ledger/ # incident JSONL ledger + triage skill
scripts/
smoke_all.sh # MCP handshake smoke test
Known limitations
- Canvas tools are structural only; they never execute node code and do not parse JavaScript semantics.
eval_payload_buildpairs variants for records with >2 variants (pairwise X/Y cases); exactly 2 is the most common and least noisy setup.cost_html_reportexpectsmeta.prices(or top-levelprices) inside the report config.- The
!!jsYAML tags are intentionally not parseable by plain PyYAML; verification uses grep instead of YAML parsing.
原始 README: https://github.com/ruby1304/dsh-public-plugins/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