DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Claude Rules Bridge — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@cnzgray/dsh-claude-rules-bridge

Claude Rules Bridge

Bridge Claude Code's .claude/rules/*.md (and *.mdc) path-scoped rules plus the cwd→home CLAUDE.md hierarchy into DeepSeek Harness: always-apply rules at session start, path-scoped rules injected on read/edit/write, plus a /claude-rules command and claude_

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @cnzgray/dsh-claude-rules-bridge@0.1.0
READMECompatibilityVersions

Compatibility and provenance

Claude Rules Bridge is published as @cnzgray/dsh-claude-rules-bridge and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
9/20/2026

Versions

0.1.0stable
8/15/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
27 kB
Files
5
Surface
any
License
MIT
Source
npm
GitHub
★ 3
Weekly downloads
25
Last push
8/15/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in integrations-communication.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseRemote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rIm@xmanrui/dsh-im把十一种 IM 渠道和公网 AI Office 接入本机 DeepSeek Harness。 Connect eleven IM channels and a public AI Office to a local DeepSeek Harness.Pocketdsh-pocketPut DeepSeek Harness in your pocket: one package, one settings page, and scan a QR code on your phone to access DSH on your computer in sync (LAN + public network, real-time screen mirroring).

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