Dsh Claude Rules Bridge — Development skill for Claude Code
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 re.
How to install Dsh Claude Rules Bridge
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open cnzgray/dsh-claude-rules-bridge and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dsh Claude Rules Bridge does
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_rules tool.
Alternatives in Development
- Fallback: Search Common Locations — for p in "$HOME/code/claude-code-orchestrator-kit" "$HOME/projects/claude-code-orchestrator-kit"; do -d "$p/ 172 ★
- Dsh Plugin Cc — Bridge Deepseek-harness into Claude Code for review, critique, delegation, and session import 80 ★
- Dsh Usage — 🌊 Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness — activity heatmap, dual-chan 74 ★
README
@cnzgray/dsh-claude-rules-bridge
Bridges [Claude Code](https://code.claude.com/docs/en/memory)'s `.claude/rules/*.md` and `*.mdc` rule files into [DeepSeek Harness](https://github.com/deepseek-ai/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 startdescription→ metadata for the/claude-ruleslisting
- alwaysApply rules → injected once at session start (in effect from the first agent request).
- Path-scoped rules → injected dynamically on
read/write/edittool 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
| Layer | When | Content |
|---|---|---|
| Baseline | agent/created (startup, resume, clear, compact) |
alwaysApply rules from .claude/rules/ (cwd → $HOME walk-up + ~/.claude/rules/) |
| Dynamic | successful read / write / edit tool result |
path-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/created→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-instructionsuses).ctx.commands.register→ `/clau
Related Skills
Init Rules
Scaffold opt-in path-scoped nested CLAUDE.md rule files into the project to lazy-load per-area conventions whi
Dsh Plugin Claude Bridge
Bridge Claude Code memory, skills, and config into DeepSeek Harness
Dsh Skills Bridge
Bring your Claude Code skills into DeepSeek Harness — zero migration, one plugin. 一个插件把 Claude Code 技能桥接进 Deep
Dsh Cherry Bridge
DeepSeek Harness plugin bridging to Cherry Studio desktops over the LAN: QR pairing, 15 cherry_ tools, a setti
Dsh Agents Plugins
Bridge your pi extension, codex plugin or claude code plugin to dsh (DeepSeek Harness)
Maestro Preset
Multi-agent orchestration preset for the DeepSeek Harness (DSH): cross-plane supervisor over Orca / dais (ex-z
Related Agents
Ds Flash
DSH (DeepSeek Harness) worker on the flash tier - fast and cheap. Delegate simple, well-scoped subtasks: mecha
Sm Readers
Owner of the Readers part. Everything the plugin knows comes from files on this PC. Its code: server/sources/,
Harness Eng
Use for every build task on a deepseek-harness core — one layer per claimed packet, gated by hedgehog verify.