Skip to content

About

Use your Claude Code, Codex and OpenCode plugins and settings in DeepSeek Harness

Topics

Resources

Contributing

Security policy

Stars

16 stars

Watchers

0 watching

Forks

Repository files navigation

Harness Forge

Harness Forge

Use your Claude Code, Codex and OpenCode plugins and settings in DeepSeek Harness.

npm CI E2E MIT Awesome DSH Plugin

English · 中文

Harness Forge in DSH: Discover & migrate lists the Claude Code and Codex plugins found on this computer, each marked as working

Brings plugins from
Claude Code
Claude Code
Codex
Codex
OpenCode
OpenCode
Tested in DSH
Claude Code official plugins
Official plugins

8 Claude Code plugins
Superpowers
Superpowers
arXiv MCP Server
arXiv MCP
Chrome DevTools MCP
Chrome DevTools
draw.io MCP
draw.io
Zotero
Zotero

Checked live on 2026-12-01 with the Harness Forge 0.6 candidate: every part works. What was checked, versions, and partial results · Logos and names belong to their owners; showing them is not an endorsement.

Why

Most plugin authors write for one harness. Harness Forge is a DeepSeek Harness (DSH) plugin that reads the plugins you already have and runs them in DSH:

  • Claude Code fully: plugins, marketplaces, your ~/.claude and a project's .claude/.
  • Straight from the internet: paste a Claude Code or Codex marketplace (owner/repo, a git URL or a marketplace.json URL), a single plugin repository, or an OpenCode npm package, then confirm and install. You don't need the original harness. Anthropic's and OpenAI's marketplaces are listed ready to open.
  • Codex and OpenCode: plugins, your ~/.codex, OpenCode projects and code plugins.
  • Any harness that uses the common formats: SKILL.md skills, MCP JSON, AGENTS.md. Add a folder of skills (with an optional .mcp.json) to the plugin folders and it is read as one plugin; Gemini CLI's ~/.gemini/skills is listed by default. DSH already loads ~/.agents/skills itself.

It converts at run time through DSH's public extension points. Your original installation stays as it is, and Harness Forge never changes your DSH profile's configuration. Parts DSH has no equivalent for are listed with the reason, and Fill with AI can write an adapter for them.

Get plugins: Anthropic's and OpenAI's marketplaces ready to open, a marketplace already on this computer, and plugins to install

Install

You need DSH 0.2.2-rc.3 or later and Node.js 22.19+ or 24+, on Windows, Linux or macOS.

In DSH, open Plugins › Add plugin, enter @kirkchinese/harness-forge and install. It goes into the profile you are using.

Or from a terminal, for the main profile that dsh web runs:

dsh plugin --profile web add @kirkchinese/harness-forge

then start DSH again. For another profile, put its name in place of web; the desktop app installs through Plugins › Add plugin only.

Quick start

  1. Open Harness Forge in the DSH sidebar. Discover & migrate lists the Claude Code, Codex and OpenCode plugins found on this computer, plus your own settings. Each part is marked as working, partly working or not possible, with the reason.
  2. Migrate. Press Migrate all, or migrate one plugin at a time. You can switch single parts off or undo a migration later in Migrated. No Claude Code here? Under Get plugins, open a marketplace such as anthropics/claude-plugins-official, or paste owner/repo or an npm package, and install from the internet.
  3. Work. Start a session. Skills are in the skill catalog, commands are in the / menu, agents can take delegated tasks, and hooks fire on their events.

A DSH session with superpowers migrated from Claude Code: its SessionStart hook injects the startup prompt and the model loads the brainstorming skill

A real DSH session: superpowers, migrated from Claude Code. Its SessionStart hook injects the startup prompt, and the model loads the brainstorming skill on its own.

More in the quick start.

What carries over

From the original harness In DSH
Skills (SKILL.md) In DSH's skill catalog, served from where they are installed. ${CLAUDE_SKILL_DIR}, ${CLAUDE_PLUGIN_ROOT} and !`command` are expanded; allowed-tools, model, effort and context: fork apply
Slash commands /<plugin>-<command>. $ARGUMENTS, $0, named arguments, ! commands and @file work as in Claude Code. Codex prompts and OpenCode commands too
Subagents DSH agent presets with their own prompt, tool list, model, skills, MCP servers and maxTurns, offered through one delegation tool
Hooks Claude Code and Codex hooks from plugins, settings and skill/agent/command frontmatter, run by one broker. Matchers see the original tool names (Bash, Edit, …)
MCP servers stdio, Streamable HTTP and SSE, with OAuth sign-in. Claude Code tool names are kept (mcp__plugin_<plugin>_<server>__<tool>)
Code plugins Claude Code mods, and OpenCode plugins, each in its own Bun process
Your own setup Skills, commands, agents, MCP servers, hooks, settings and permission rules from ~/.claude and ~/.codex, and a project's .claude/
Instruction files The ones DSH does not read itself: ~/.claude/CLAUDE.md, .claude/CLAUDE.md, @path imports, Codex's global AGENTS.md
Session history Claude Code, Codex and OpenCode sessions, imported as DSH sessions you can continue

What does not carry over

Every part that cannot fully run is shown in Gaps with its reason. The reasons come from these limits:

  • UI surfaces (status lines, themes, workflows, monitors, MCP apps) have no direct DSH equivalent. Fill with AI can write one.
  • Output styles are added to the system prompt. They cannot remove DSH's own coding instructions.
  • Hook events DSH never raises do not fire. PreCompact, PostCompact, Notification and StopFailure hooks run after the fact and cannot block.
  • Hook handler types other than command, http, mcp_tool, prompt and agent stay inert.
  • Unmapped plugin parts: LSP servers and bin/ executables are listed, not run. A plugin's userConfig options are asked for in Configure and fill ${user_config.KEY} in its MCP servers, exec-form hooks, and skill and agent text (a sensitive option shows as [sensitive option KEY] there, never its value). Command text does not substitute it yet.
  • Code plugins use a compatibility layer for their host API. A call outside the supported part of that API fails.
  • Codex app connectors are hosted by OpenAI and only work signed in there. Nothing local can stand in for them.
  • An MCP server with neither a command nor a URL, or one that uses ${user_config.KEY} for an option the plugin does not declare, is marked not possible and not started. A statusLine in plugin.json is noted, not migrated: Claude Code does not read it there.

Details in compatibility.

Fill with AI

Next to a gap an adapter could fill, Fill with AI writes a task brief for that part: the original's files, why it cannot run, the nearest DSH extension points and how to check the result. It then opens a session in DSH's own creation mode (agent preset cordis) with that brief. The agent there builds a local DSH plugin named dsh-adapter-<plugin>-<part> that calls the original plugin's code, installs it in your profile and checks it. Publishing it is up to you, under your own npm scope. See porting.

claude-hud's status line under DSH's composer, drawn by an adapter that Fill with AI wrote

Rows

Harness Forge is one npm package with several plugin rows. Each row can be switched off on its own in DSH's Plugins page; a row that fails to start is logged and the others keep running. Every row needs the main Harness Forge row.

Row What it does
Harness Forge (harness-forge) Discovery, migration, undo and removal; imported settings; /harness and the harness_* model tools
Skills Imported SKILL.md skills and their frontmatter
Commands Imported slash commands and Claude Code output styles (/output-style)
Agents Imported agents as DSH agent presets
Hooks Claude Code and Codex hooks, Codex notify and global instructions
MCP servers Imported MCP servers and their sign-in
Claude Code mods Claude Code mods, one engine per session
OpenCode plugins OpenCode code plugins in Bun
Instructions Instruction files DSH does not read itself; yields to Recollect when it is installed
Sessions Importing Claude Code, Codex and OpenCode sessions
Porting Fill with AI
Workbench The Harness Forge page in the sidebar

Turning a row off removes what it mounted; the parts it served show as inactive in the workbench. See architecture.

Works well with

Separate, optional DSH plugins. Harness Forge uses them when they are installed:

  • Capability catalog (@kirkchinese/dsh-capability-catalog): imported stdio MCP servers go through its compact index.
  • Recollect (@kirkchinese/dsh-recollect): memory and instruction files; Harness Forge's Instructions row steps aside for it.
  • dsh-chat-import (dsh-chat-import): imports conversations from Claude Code, Codex, OpenCode and 40+ other agents as DSH sessions you can continue. Harness Forge's session import steps aside for it; Install on the first-run banner or under More → Import sessions installs it through DSH's plugin manager.

Safety

Migrated hooks, MCP servers and plugin code run with your permissions, as they do in their original harness. Migrate only plugins you trust. Before a plugin from the internet is installed, Harness Forge shows its source, exact commit and parts, and warns about parts that run code. On Windows, hooks run in Git Bash (as in Claude Code); elsewhere in bash.

Vision

A plugin written for one agent harness should work in DSH as it is, with nothing for its author to change. Four goals lead there:

  1. Write once, use in DSH. Plugins for Claude Code, Codex, OpenCode and the common formats run in DSH unchanged. Today: all four are supported, and a part DSH has no equivalent for is listed with the reason.
  2. Compatibility you can check. Each harness's plugin contract is written down as data, with the documentation it comes from, and every plugin of the marketplaces Harness Forge lists is read against it every week, with the results published as a compatibility report. Today: the check reads about 2,700 plugins each week; its report is a CI artifact for now.
  3. Gaps filled together. Adapters that Fill with AI writes for what DSH lacks, such as status lines, are shared and reused, growing into a library anyone can install. Today: adapters are written and installed locally; sharing them comes next.
  4. More harnesses. Plugins for Gemini CLI, Cursor, GitHub Copilot and Kimi Code, whose manifests real plugins already ship. Today: not started, and a good place to begin.

Help with any of these is welcome: see Contributing and the issues labelled help wanted.

Contributing

Contributions are welcome, and many don't need much code. The easiest ways in:

  • Report a plugin that doesn't work in DSH, with what Harness Forge shows for it and the text under More › Diagnostics.
  • Add a plugin or repository to the corpus in sources.json, so Forge's real code reads it every week.
  • Write an adapter for a gap, as its own DSH plugin. See porting.
  • Keep up with new DSH releases.

Start with CONTRIBUTING. Report vulnerabilities privately, as SECURITY describes. Thanks to HollowMan6 for DSH 0.2.x support (#3).

Documentation

Quick start · Compatibility · Porting · Architecture · Development · Contributing · Changelog

Development

pnpm install
pnpm build       # core, plugin and the workbench bundle
pnpm typecheck
pnpm test
pnpm e2e         # real DSH on PATH, scripted model, in-repo fixtures
Package Role
packages/core (@kirkchinese/harness-forge-core) Pure logic: dialect scanning, component model, planning, assessment, instruction discovery, session parsing, port briefs
packages/plugin (@kirkchinese/harness-forge) The DSH plugin and its rows
packages/testkit Private end-to-end smoke test

See development, and CONTRIBUTING for how to send a change.

License

MIT

About

Use your Claude Code, Codex and OpenCode plugins and settings in DeepSeek Harness

Topics

Resources

Contributing

Security policy

Stars

16 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages