dshbase

Plugin directory / Productivity / dsh-codex-sync

dsh-codex-sync

Verified · install-tested on dsh Walvez

✓ Actively maintained Builds on 2 official DSH packages

View on GitHub ↗ ← Back to plugin directory

24Stars
0Forks
0Open issues
JavaScriptLanguage
2026-08-26Last push
Cross-platformPlatform

What it does

The ultimate 2-way bridge between OpenAI Codex and DSH: bidirectional chat sync, live Skills mount & auto MCP mirroring.

Our take
Works — verified, growing community

The ultimate 2-way bridge between OpenAI Codex and DSH: bidirectional chat sync, live Skills mount & auto MCP mirroring. It installs cleanly and boots without issues in our testing. It has a growing community — a solid choice.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

⚠ External account / service required — this plugin was not fully verified because it needs something our sandbox can't provide: Local ~/.codex (Codex CLI config, skills, MCP servers, and session history). It may work fine in your own environment.

Author? Either provide the required account/service, or submit a self-test report (environment + install + run evidence) — we'll review and flip the badge. Submit evidence or self-test report ↗

README

⚡ dsh-codex-sync

The ultimate 2-way bridge between OpenAI Codex and DSH: bidirectional chat sync, live Skills mount & auto MCP mirroring.

2-way project chat sync · Live Skills mount · Auto MCP mirroring · Native modern UI

English简体中文

npm version
npm downloads
CI
Node
License: MIT
Awesome DSH Plugin


🎛️ Native Sync Settings Modal
Codex Sync Settings modal: actions, switches, language
📍 Sidebar Workspace Trigger
Workspace header Codex quick entry button
📥 Import from Codex by Project
Import picker: projects, chats, and status tags
📤 Export DSH Chats to Codex
Export picker: smart workspace matching, source filter

🤔 Why dsh-codex-sync?

When using OpenAI Codex, developers build up significant workflow assets:

  1. Rich project chat histories with complete code contexts, architecture decisions, and debugging steps;
  2. Custom Skills libraries under ~/.codex/skills with tailored instructions and scripts;
  3. Configured MCP toolchains for databases, web searches, and browser automation.

When adopting or exploring DeepSeek Harness (DSH), developers typically face major friction:

  • Lost conversation history: Incompatible session formats prevent resuming past Codex tasks in DSH;
  • Configuration duplication and drift: Skills and MCP servers must be manually recreated and maintained in two separate tools;
  • One-way dead ends: Most migration scripts are one-time destructive copies that offer no clean way to safely bring DSH continuations back to Codex.

dsh-codex-sync eliminates this friction completely. It is not a throwaway migrator, but a production-grade, continuous two-way bridge between Codex and DSH.


✨ Key Highlights

1. 💬 Two-Way Safe Project Chat Portability (Codex ⇄ DSH)

  • Import from Codex:
    • Browse conversations grouped by workspace folder in an intuitive project tree;
    • Preserves user prompts, assistant outputs, reasoning traces, and tool-call trajectories;
    • Automatically attaches imported sessions to matching workspaces for seamless continuation;
    • Incremental re-import: Codex conversations continued after the initial import are marked as updated and append only new turns without creating duplicate sessions.
  • Export to Codex:
    • Export DSH native conversations or continuations back into Codex;
    • Automatically matches Codex's workspace catalog, gracefully locking unknown directories to prevent orphan threads;
    • Creates clean, standalone Codex rollouts (history_mode: legacy) and SQLite index entries without modifying or overwriting original Codex histories;
    • View and continue chats in Codex immediately after restarting the Codex app.
  • Sub-Agent Thread Filtering:
    • Hides internal sub-agent threads by default to keep the conversation list focused;
    • Easily expand and nest sub-agents under parent threads for selective, independent export.

2. ⚡ Live First-Class Skills Mounting

  • Mounts ~/.codex/skills/*/SKILL.md directly into DSH's native skill catalog;
  • Full support for nested directory resources and multi-file skill bundles;
  • Zero-restart updates: Edit a skill file on disk, and DSH recognizes the change on the next turn.

3. 🔌 Automated Bidirectional MCP Mirroring

  • Codex → DSH: Watches ~/.codex/config.toml live, dynamically mirroring [mcp_servers.*] to DSH with conflict avoidance and stderr silencing;
  • DSH → Codex (Reverse Bridge): Single-command setup (npx dsh-codex-sync codex-install) equips your Codex agent with tools to search, inspect, and install DSH plugins.

4. 🎨 Native Modern UI Experience

  • Adaptive Sidebar Trigger: Sits right beside the workspace header when expanded, and aligns below the search button when collapsed;
  • Centered Modal Panel: High-contrast, backdrop-blurred settings card with intuitive action cards, real-time switch feedback, and zero UI cutoff;
  • Polished Design Integration: Uses native DSH design tokens (--dsw-alias-*), pure CSS transitions with zero hover artifacts, and responsive text truncation.

📦 Quick Start

1. Install in DSH

Install via DSH Plugin Market (recommended):

dsh plugin --profile web add dsh-codex-sync

Or configure inside your profile's cordis.patch.yml:

- insert:
    - id: codex-sync
      name: dsh-codex-sync
      config:
        maxSkills: 30
        mcpMirrorDeny:
          - node_repl
        mcpMirrorSilent:
          - exa

2. Configure Codex Reverse MCP Bridge (Optional)

# Register [mcp_servers.dsh-plugins] in ~/.codex/config.toml
npx dsh-codex-sync codex-install

# Run diagnostic health check
dsh-codex-sync doctor

🎛️ Sync Settings & Toggles

Click the Codex Icon in the sidebar to open the centered control modal:

Section Item Command / Config Key Description
Actions Import from Codex /import-all Open project picker to import chats into DSH
Export to Codex /export-codex Export DSH chats into new Codex conversation copies
Mirror status /mcp-status Modal overview of MCP servers, health, and statuses
Refresh states /codex-settings Re-sync all switch states from the host
Features Import commands enableImport Enable /import-codex slash command family
Auto import autoImport Automatically import new Codex chats on startup
Instructions enableInstructions Inject instructions.md / AGENTS.md into prompt
Config summary enableConfig Inject config.toml model settings summary into prompt
Skills enableSkills Register ~/.codex/skills as live DSH skills
MCP mirror mcpMirror Auto-mirror [mcp_servers.*] (applies immediately)
Language Language Switcher Language Toggle between 简体中文 / English

🤖 Built-in Agent Skill (codex-sync)

This package bundles a first-class codex-sync skill. Your DSH AI Agent can operate synchronization tasks on your behalf:

  • "Dry-run importing my Codex conversations" → runs /import-codex --dry-run
  • "Check current MCP mirror status" → runs /mcp-status
  • "Turn on auto-import" → runs /auto-import on

📄 License

MIT License © 2026 Walvez

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-codex-sync for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

Web profile:

dsh plugin --profile web add dsh-codex-sync

Headless (CLI) profile:

dsh plugin --profile headless add dsh-codex-sync

Package

npm: dsh-codex-sync · version 1.3.5 · tested on dsh 0.1.0-rc.6

Test report

Verified end-to-end: L1 install + L2 load + L3 runtime Q&A on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Productivity

Browse all 7795 plugins →