beimianism/Hermes-to-DSH
浏览本机的Hermes技能、MCP服务及对话历史,并将选中的技能与MCP配置注入到当前agent。
Project Overview项目介绍
Hermes-to-DSH is a native plugin built exclusively for DeepSeek Harness (DSH). It connects to your locally running Anthropic Hermes instance and pulls all stored assets including saved skills, MCP services, and chat history into DSH’s web UI via a resizable, dockable sidebar panel. It lets you select which assets you want to use and inject them directly into your current DSH agent session, cutting down on repetitive manual configuration steps for cross-tool workflows. To install it, you can run either dsh plugin --profile web add github:beimianism/Hermes-to-DSH to add it to your profile layer that requires a DSH web restart, or use the Cordis HMR method for zero-restart installation.
The plugin offers two distinct injection modes to fit different user preferences. Active mode lets you manually select the specific skills and MCP services you need for your current task, then reads the corresponding SKILL.md and configuration files before injecting them into the agent’s system prompt. Passive mode works as just-in-time prompting, only loading the selected asset when the agent detects it is missing a required capability for the current task. It also includes quality of life features like global search, configurable chat previews, source filtering, and MCP detail previews to help you quickly find the assets you need.
The plugin is natively integrated with DSH’s architecture, and it automatically loads every time you start dsh web without needing a separate launcher. It requires that you already have a local Hermes instance set up, with its SQLite database stored at the default %LOCALAPPDATA%\hermes\state.db path, and that Python is available in your system PATH to run the helper scripts. Your active selections are saved to ~/hermes-active-selection.json and the plugin notifies the current session of your choices automatically. This plugin is released under the open source MIT license, and you can manage it via DSH’s built-in plugin manager.
Hermes-to-DSH 是专为 DeepSeek Harness (DSH) 开发的原生插件,它可以将本地存储的 Anthropic Hermes 资产,包括技能、MCP 服务和对话历史,以可停靠、可缩放的侧栏面板形式展示在 DSH 的 Web 界面中,支持将选中的技能和 MCP 配置注入到当前运行的 Agent。
它提供主动和被动两种注入模式,主动模式下用户手动勾选需要的技能和 MCP,插件读取对应 SKILL.md 和配置,注入到 Agent 的系统提示词,同时会提示长度和总量上限;被动模式为接触式提示,仅当 Agent 能力缺失时才按需加载对应配置。
安装方式支持通过 DSH 命令行添加本仓库,可放入 profile 层重启生效,也支持 Cordis 零重启热更新。插件要求本地已部署 Hermes,数据路径正确,且环境变量 PATH 中包含 Python 供辅助脚本使用,遵循 MIT 许可开源。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:Hermes-to-DSH(beimianism/Hermes-to-DSH)
仓库:https://github.com/beimianism/Hermes-to-DSH
本站详情页:https://www.yhbd.top/plugins/beimianism-hermes-to-dsh/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-08-16 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:beimianism/Hermes-to-DSH
把 beimianism/Hermes-to-DSH 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
中文 · English
Hermes to DSH
在 DeepSeek Harness Web 侧栏里浏览本机 Hermes 的 技能 / MCP 服务 / 对话历史,并把选中的技能与 MCP 配置注入到当前 agent。
Hermes to DSH(hermes-to-dsh) 是一个 DSH 插件(dsh.bundle),把本机 Hermes 资产(技能、MCP 服务、对话历史)以可停靠、可缩放的侧栏面板呈现在 DeepSeek Harness Web UI 中,并提供两种注入模式:
- 主动 — 勾选你真正要用的技能/MCP;插件读取所选
SKILL.md+ MCP 配置,注入到当前 agent 的系统提示词(含长度警示与总量上限)。 - 被动 — 接触式提示;仅当某能力缺失时,agent 才按需读取技能
SKILL.md/ MCP 配置。
功能
- 固定、可拖动/缩放面板,四角抓取手柄(26px 命中区)。
- 两列布局:左 = 仓库/项目 → 对话;右 = 技能 + MCP + 模式。
- 全局搜索:对话名/id、技能名/描述、MCP 服务名。
- 对话预览:点开任意对话看
开场 X 条 + 最新 Y 条(两侧条数可分别配置)。 - 来源过滤:按对话
source(desktop/cron/...)过滤。 - 消息类型过滤:只看 提问
user/ 回答assistant/ 工具tool;选定某类型后自动补齐到设定数量(跨越其他类型取足)。 - 复制地址:复制会话 id。
- MCP 详情:勾选前先查看某服务的配置块。
- 主动选择落盘:写入
~/hermes-active-selection.json并通知当前会话,让 agent 知道你的选择。
能力面
| 能力面 | 说明 |
|---|---|
| UI | sidebar.footer.action 侧栏面板(pill 切换 固定/可缩放两列面板) |
| Host handlers | inspect、chatPreview、mcpDetail、setMode、detail |
| 注入 | systemPrompt.section hermes:mode(主动 → 所选 SKILL.md 全文 + MCP 配置;被动 → 接触式提示) |
安装
# bundle:进入 profile layer stack(重启 web 生效)
dsh plugin --profile web add github:beimianism/Hermes-to-DSH
# 或 纯 Cordis:通过配置 HMR,零重启
dsh plugin add github:beimianism/Hermes-to-DSH
@deepseek-ai/*与cordis公开依赖刻意不声明(由 profile 的 pnpm closure 注入)。
前置:本机 Hermes 数据位于 %LOCALAPPDATA%\hermes\state.db(只读),且 PATH 里有 python 供辅助脚本使用。
原生架构(跟随启动)
插件是原生 bundle + client,随 dsh web 每次启动自动加载,无需动态插件/启动器:
- host 半(
index.js):注册ctx.connection.rpc.handle('/hermes', …, {authority:'trusted-host'}),暴露inspect/chatPreview/mcpDetail/setMode/detail五个端点;systemPrompt.section('hermes:mode')注入主动/被动提示词(若宿主未提供systemPrompt服务——如纯 web profile——注入段自动跳过,其余功能不受影响)。 - client 半(
client/index.js,由client/_make_native.cjs生成):__ModuleLoader__.loadbundle,require('react'),host.call适配为ctx.connection.rpc.call('/hermes', …),样式经<style>注入;面板挂sidebar.footer.actionslot。 - 主动选择落盘
~/hermes-active-selection.json并追加会话消息通知 agent。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Jungod1121/dsh-anchored-standard
lilyblessing/dsh-mcp-skill-panel
SaiSenBox/dsh-prompt-manager
jiesou/dsh-stream-rules