前言¶
DSH 的擴展方式之一是插件。對於已經在 OpenAI Codex 中維護本地文件的用戶,常見的問題是:這些文件分散在 skills、instructions 和 config 中,若要在 DeepSeek Harness 裏複用,需要手動搬運或調整。
dsh-plugin-codex-bridge 針對這個場景,把 OpenAI Codex 的 skills、instructions 和 configuration 橋接到 DeepSeek Harness。README 將插件描述爲 zero migration。
這是什麼¶
dsh-plugin-codex-bridge 由 YYTbit 維護,許可證爲 MIT。插件名是 dsh-plugin-codex-bridge,GitHub 倉庫爲:
https://github.com/YYTbit/dsh-plugin-codex-bridge
它解決的是已有 Codex 文件在 DSH 中複用的問題,而不是重新編寫一套新的 Codex 資產。
核心功能¶
插件覆蓋三個已覈實的 Codex 文件路徑。
- skills 路徑:
~/.codex/skills/<name>/SKILL.md
插件將這些文件作爲 available skills 注入 DSH。
- instructions 路徑:
~/.codex/instructions.md
插件將該文件注入 system prompt。
- config 路徑:
~/.codex/config.toml
插件從該文件注入 model/provider context。
安裝與啓用¶
先確認要使用的 DSH profile 名稱。安裝命令爲:
dsh plugin --profile your-profile add dsh-plugin-codex-bridge
執行後,dsh-plugin-codex-bridge 會被添加到指定 profile。
典型用法¶
安裝後,可以按 README 的示例配置啓用 skills、instructions 和 config:
- id: codex-bridge
name: dsh-plugin-codex-bridge
config:
enableSkills: true
maxSkills: 30
enableInstructions: true
enableConfig: true
示例中的配置項包括 enableSkills、maxSkills、enableInstructions、enableConfig。maxSkills 的值示例爲 30。
適用場景與注意¶
適合已經在維護以下文件的用戶:
~/.codex/skills/<name>/SKILL.md
~/.codex/instructions.md
~/.codex/config.toml
使用前建議先檢查插件源碼,並確認 MIT 許可證。插件運行在 dsh 進程內,會以當前 dsh 進程權限訪問上述 Codex 文件,因此不要在不信任的來源中隨意安裝。
DSH 社區目錄是獨立站點,不是 DeepSeek / 幻方官方應用商店。
結尾¶
dsh-plugin-codex-bridge 的價值在於把已有 Codex 的 skills、instructions 和 configuration 直接接入 DSH,減少手動遷移。
GitHub:
https://github.com/YYTbit/dsh-plugin-codex-bridge
目錄頁 URL 未包含在已覈實資料中,本文暫不給出。