dsh-skill-compat-plus: Mounting Claude Code / Codex / ZCode skill directories into DSH

Preface

DeepSeek Harness (dsh) loads skills using the SkillProvider mechanism, with directory conventions that differ from Claude Code, Codex, and ZCode. If you maintain SKILL.md and skill directories separately across these three tools, switching to dsh often requires copying files one by one and manual synchronization, which is time-consuming and prone to drift.

The community plugin dsh-skill-compat-plus (maintainer shuxidemosheng, GitHub repo shuxidemosheng/dsh-skill-compat-plus) takes a different approach: instead of migrating files, it mounts the skill directories from the three tools mentioned above into dsh as read-only skill sources. Skills remain in their original paths; on the model side, they enter the skill tool’s <available_skills> for on-demand loading. For skills marked as user-invocable, users can invoke them in dsh using /name. See skillhub.cn for the directory page (Community directory, not officially affiliated with DeepSeek / High-Flyer).

What is this

In one sentence: A dsh skill compatibility layer plugin—Mount Claude Code / Codex / ZCode skill directories into DeepSeek Harness as read-only skill providers.

It is categorized as a “Workflow”. The npm package name is dsh-skill-compat-plus. The current README and package.json indicate version 0.1.0 and license MIT. Requirements: Node ≥ 24, dsh ≥ 0.2.0-rc.2 (consistent across README badges and engines).

Core Features

Read-only Mount, Zero Migration

Skill files are not copied or rewritten; the system returns to the original state after the plugin is uninstalled. The plugin side primarily handles discovery, frontmatter mapping, and catalog updates. Skill content is loaded by the official dsh skill pipeline; the README clarifies that this plugin does not execute code within skills.

Default Scanned Sources and Directories

Source Directory Default
claude-code ~/.claude/skills and <project root>/.claude/skills Enabled
codex ~/.codex/skills (legacy convention; the new official ~/.agents/skills is scanned natively by dsh) Enabled
zcode ~/.zcode/skills and <project root>/.zcode/skills Enabled
extraDirs Any additional directories ({ path, label?, rank? }) Empty

Missing directories are silently skipped; each source can be toggled, customized, and ranked individually.

Dual-Side Availability and Hot Reload

  • User Side: user-invocable skills gain a native dsh /name entry point (parsed via host-side pre-step).
  • Model Side: The same batch of skills enters <available_skills> for automatic on-demand loading.
  • Hot Reload: chokidar watching and existence polling; watch is enabled by default. The README states that directory additions, deletions, modifications, and even creating entirely new directories afterwards generally do not require a dsh restart.

Name and Description Fallbacks

dsh requires kebab-style names and non-empty descriptions. The plugin enables slugifyNames (e.g., code_review → code-review) and synthesizeDescription (synthesizes a description from the first paragraph of the body when Claude skills lack one) by default. If disabled, non-compliant skills or those missing descriptions will be skipped.

Priority

Native dsh skills have a lower rank (higher priority); if names conflict, native always wins. Project-level imports have a higher rank than user-level imports. For the complete rank table, see the repository README. In case of naming conflicts, the plugin outputs diagnostics like duplicate skill name and aggregates warnings based on “problem set changes” to avoid spamming the log during catalog rebuilds.

Frontmatter Mapping (Summary)

External Field Mapping
name Defaults to directory name; slugified if non-compliant (can be disabled)
description Synthesized from the first paragraph of the body if missing (can be disabled)
when_to_use / whenToUse → whenToUse
disable-model-invocation → invocation.modelInvocable: false
user-invocable → invocation.userInvocable
Codex agents/openai.yaml’s policy.allow_implicit_invocation: false → invocation.modelInvocable: false
allowed-tools / model / hooks etc. Passed into metadata as-is (no corresponding execution semantics in dsh, not silently discarded)

Installation and Activation

The README recommends installing via CLI with a version number to avoid minimumReleaseAge cooling periods on the profile installation side:

dsh plugin --profile <your-profile> add dsh-skill-compat-plus@0.1.0

Desktop Client: Search for dsh-skill-compat-plus on the plugin page and install with one click, then restart. The documentation states that after installation, all three default sources are enabled, and missing directories are automatically skipped, so it is ready to try without additional configuration.

Other installation methods (all from README):

# Direct Git install (always tracks main)
dsh plugin --profile <your-profile> add git+https://github.com/shuxidemosheng/dsh-skill-compat-plus.git

Local tgz: After npm pack, run dsh plugin --profile <your-profile> add file:<packed-path>/dsh-skill-compat-plus-0.1.0.tgz.

Typical Usage

  1. Install the plugin for the current profile using the command above and restart dsh (Desktop) or reopen the session.
  2. Ensure you have at least one skill directory locally (e.g., ~/.claude/skills); if it doesn’t exist, the corresponding source is automatically skipped.
  3. Type / in dsh; you should see a completion list of imported skills (The README illustrates that user-level Claude, Codex, etc., can appear in the list simultaneously).
  4. In model conversations, the same batch of skills appears in the skill tool’s <available_skills>, which the model loads according to task requirements.

If there are too many skills occupying the context continuously, you can narrow down the sources on-demand in the configuration using sources.*.enabled or extraDirs (see the next section).

Configuration (Optional)

Configuration is written under the config entry in cordis.patch.yml; the profile layer can override it, and the overall semantics are replacement. Unknown keys trigger a fail-fast. Common key defaults are as follows:

Key Default Description
providerName skill-compat-plus Provider registration name
sources.claude / .codex / .zcode true boolean or { enabled?, project?, root?, rank? }
extraDirs [] { path, label?, rank? }[]
watch true Hot reload
watchUsePolling false Can be enabled for network drives, etc.
slugifyNames true Non-compliant names are skipped if disabled
synthesizeDescription true Skills missing descriptions are skipped if disabled

The README warns: Imported skills enter the <available_skills> reminder for every session. Mounting too many will continuously consume model context.

Known Limitations and FAQ Highlights

  • Cache directories inside Claude / ZCode plugin packages are not in the default discovery scope; use extraDirs to mount manually.
  • Project-level scanning only covers the immediate nearest .git ancestor (aligning with official dsh); Claude nested <subdir>/.claude/skills, --add-dir, enterprise managed directories, etc., are not supported.
  • allowed-tools / model / hooks etc. are only retained in metadata and have no execution effect on the dsh side.
  • ~/.agents/skills is already a natively scanned directory for dsh; no bridge is needed for this plugin.
  • Changes to files not taking effect: Check that watch: true; set watchUsePolling: true for network drives.

Use Cases and Notes

Suitable for: Developers who have accumulated skills in Claude Code, Codex (~/.codex/skills), or ZCode and wish to reuse the same set of files in dsh to avoid dual maintenance.

Note: The plugin runs with the permissions of the current dsh process. Please review the source code and the MIT license before installation. The README provides an Mimosa audit record (v0.1.0, findings 0). The community directory skillhub.cn and GitHub are the sources of truth; this article is based on the repository’s README and package.json.

Conclusion

dsh-skill-compat-plus uses read-only mounting to connect the three external skill directories to the dsh SkillProvider. It offers out-of-the-box default paths, field mapping and slug fallbacks, hot reload, and native priority isolation, making it an ideal compatibility layer plugin for “Workflow”.

  • Directory Page: https://www.skillhub.cn/plugins/shuxidemosheng/dsh-skill-compat-plus
  • GitHub: https://github.com/shuxidemosheng/dsh-skill-compat-plus
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye