Repository navigation
Ship handoff-mcp as a Codex plugin - #7
Merged
Merged
Conversation
Restructure the existing Claude Code plugin into the canonical multi-ecosystem layout (plugins/<name>/) and add Codex's manifest + marketplace files alongside the existing Claude Code ones. - New: .agents/plugins/marketplace.json (Codex marketplace catalog) - New: plugins/handoff-mcp/.codex-plugin/plugin.json (Codex manifest) - Moved: .claude-plugin/plugin.json, skills/, .mcp.json into plugins/handoff-mcp/ - Updated: .claude-plugin/marketplace.json source pointer - Updated: README with "Install as Codex plugin" section Verified live against codex-cli 0.135.0: codex plugin marketplace add . codex plugin add handoff-mcp@sihekuang codex mcp list # handoff URL auto-registered from .mcp.json claude plugin validate plugins/handoff-mcp/ # also passes Codex's marketplace cannot resolve source.path="./" at the repo root (openai/codex#17066), so the canonical openai/plugins-style layout (plugins/<name>/ subdirectory) is required. Same layout works for Claude Code via the marketplace's source pointer. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
plugins/handoff-mcp/.codex-plugin/plugin.json) and Codex marketplace catalog (.agents/plugins/marketplace.json) so users can install with:.claude-plugin/,skills/,.mcp.json) now live inplugins/handoff-mcp/. Both the Claude Code and Codex marketplace files point at that subdirectory.source.path: "./"at the repo root (Marketplace local plugin path "./" cannot reference the repository root openai/codex#17066) — same pattern used by the officialopenai/pluginsreference repo (~120 plugins).Why not the CLI wrapper from #6
That PR added a
handoff codex installsubcommand to the Homebrew CLI that wrappedcodex mcp add --url. It pre-dates the discovery that Codex CLI v0.117.0 (March 2026) introduced a first-class plugin system that mirrors Claude Code's exactly. This PR replaces that approach with the native plugin install flow.Test plan
Verified live against codex-cli 0.135.0:
codex plugin marketplace add sihekuang/handoff-mcp— registers the marketplacecodex plugin listshowshandoff-mcp@sihekuang not installedcodex plugin add handoff-mcp@sihekuang— installs to~/.codex/plugins/cache/sihekuang/handoff-mcp/0.3.0/codex plugin listnow showsinstalled, enabledcodex mcp listauto-showshandoff http://localhost:3007/mcp(from the plugin's.mcp.json)~/.codex/config.tomlcontains[plugins."handoff-mcp@sihekuang"] enabled = trueclaude plugin validate plugins/handoff-mcp/— passes🤖 Generated with Claude Code