DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Claude Rules Bridge — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@cnzgray/dsh-claude-rules-bridge

Claude Rules Bridge

将 Claude Code 的 .claude/rules/*.md(以及 *.mdc)路径范围规则和从 cwd→home 的 CLAUDE.md 层级桥接到 DeepSeek Harness:会话开始时应用始终生效的规则,在读取/编辑/写入时注入路径范围规则,并提供 /claude-rules 命令和 claude_

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @cnzgray/dsh-claude-rules-bridge@0.1.0
README兼容性版本

兼容性与来源证明

Claude Rules Bridge 以 @cnzgray/dsh-claude-rules-bridge 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.1.0stable
2026/8/15

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
27 kB
文件数
5
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 3
周下载
25
最近提交
2026/8/15
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 integrations-communication 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rIm@xmanrui/dsh-im将十一种 IM 渠道和一个公网 AI Office 接入本地 DeepSeek Harness。Pocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。

README

@cnzgray/dsh-claude-rules-bridge

Bridges Claude Code's .claude/rules/*.md and *.mdc rule files into DeepSeek Harness (DSH / Cordis), mirroring the omp extension claude-rules-bridge:

  • Discovery — .claude/rules/ scanned from the session cwd (walked up to $HOME) plus ~/.claude/rules/. Frontmatter:
    • paths / globs / applyTo → file-match globs (merged)
    • alwaysApply → always injected at session start
    • description → metadata for the /claude-rules listing
  • alwaysApply rules → injected once at session start (in effect from the first agent request).
  • Path-scoped rules → injected dynamically on read / write / edit tool results when the touched file matches the globs.

CLAUDE.md / AGENTS.md are not handled here — the built-in @deepseek-ai/dsh-agent-instructions already implements the project-root baseline and on-touch nested loading, and its behavior is preferred.

Behavior

LayerWhenContent
Baselineagent/session-start (covers startup, resume, clear, compact)alwaysApply rules from .claude/rules/ (cwd → $HOME walk-up + ~/.claude/rules/)
Dynamicsuccessful read / write / edit tool resultpath-scoped rules matching the touched file's globs (cwd-relative path + basename)
  • Files outside cwd get no rules.
  • Per-session dedupe: each rule is injected once per target path; a resume/compact reload resets the session state.
  • Token caps: 12 KB per injected block, 6 KB per rule file.

Seams

DSH-native seams, all from a root-realm listener (receives every agent's scoped events):

  • agent/session-start → agent.inject() the baseline (same pattern as @cnzgray/dsh-claude-auto-memory).
  • tools/result → agent.inject() a dynamic context message that the next pre-step claims (the same mechanism @deepseek-ai/dsh-agent-instructions uses).
  • ctx.commands.register → /claude-rules status command.
  • ctx.tools.register → claude_rules on-demand index/reader tool.

Zero runtime imports from @deepseek-ai/*; the only runtime dependency is picomatch (declared in package.json). When installed from npm, dsh plugin add (pnpm) installs it transitively. For local link: development, run npm install inside the package directory once so the plugin's import picomatch resolves.

Installation

dsh plugin --profile web add @cnzgray/dsh-claude-rules-bridge
dsh web   # restart to take effect

Local development:

npm install   # once, inside packages/claude-rules-bridge/ (installs picomatch for link: dev)
dsh plugin --profile web add ./packages/claude-rules-bridge
# edit source → restart `dsh web`

Usage

  • /claude-rules — list discovered rules (subcommand: reload).
  • claude_rules tool — the model can list the index or read one rule's full content on demand; matching is automatic via read/edit/write.

Example rule

---
paths:
  - "src/api/**/*.ts"
  - "**/*.api.ts"
description: API endpoint rules
---
- Every API endpoint must include input validation.
---
alwaysApply: true
---
- Use 2-space indentation.

License

MIT