docs(research): verified Claude Code + Codex plugin format reference - #951
Closed
selfcontained wants to merge 1 commit into
Closed
docs(research): verified Claude Code + Codex plugin format reference#951selfcontained wants to merge 1 commit into
selfcontained wants to merge 1 commit into
Conversation
Research/scoping artifact, not a runtime change. Documents the external plugin formats of both platforms so a future builder doesn't have to re-derive them: directory layouts, plugin.json and marketplace.json schemas, self-hosted install flows, non-interactive/scriptable install, versioning and update semantics, and trust/signing models. Every claim is grounded in either current official docs (URL cited) or an observed CLI run against isolated CLAUDE_CONFIG_DIR / CODEX_HOME roots (command and output shown). Unverifiable items are listed explicitly rather than guessed at. Notable findings that differ from prior assumptions: - Codex has no `--non-interactive` install flag; the third-party blog claim is wrong. `codex plugin *` are already non-TUI; `--json` exists and requires Codex >= 0.137. - The `codex plugin` CLI first shipped in Codex CLI v0.131.0 (2026-05-18), confirmed against openai/codex release tags. - Codex reads Claude Code's `.claude-plugin/marketplace.json` and `.claude-plugin/plugin.json` as a fallback, but Claude Code does not read Codex's `.agents/plugins/marketplace.json` — the compatibility is one-way and the Codex side is undocumented. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Owner
Author
|
Superseded — the spec content and settled v1 design are now merged via #952. Closing per plan (build landed, spec doc's job as a standalone reference is done). |
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.
What this is
A research/reference document, not a feature. Adds
docs/plugin-spec-reference.md— a verified spec of the external plugin formats for Claude Code and OpenAI Codex. No runtime code changes, no Dispatch plugin/skill content.This is prerequisite scoping for the
dispatch-usage-skills-bundleidea. Two earlier build attempts went off the rails partly because the agent had to research plugin-format details while designing Dispatch's own skill content, and the two kinds of uncertainty compounded. This removes the first kind.What's in it
For both platforms: directory layout, exact
plugin.json/marketplace.jsonschemas (field names, types, required vs optional), the literal self-hosted install commands, non-interactive/scriptable install, versioning and update semantics, trust/signing model, and version-gated feature requirements.Every claim is grounded in either current official docs (URL cited) or an observed CLI run (command + output shown inline). Probes ran against throwaway
CLAUDE_CONFIG_DIR/CODEX_HOMEroots — nothing touched the real~/.claudeor~/.codex. Nine items that could not be verified are listed explicitly rather than guessed at.Verified against
claude2.1.231 andcodex-cli0.147.0 on 2026-08-13.Findings that differ from what the idea assumed
codex plugin add --non-interactivedoes not exist. The third-party blog claim is wrong; only--jsonexists. It isn't needed either —codex plugin *are already plain non-TUI subcommands.--jsonrequires Codex ≥ 0.137 (it landed later than the commands themselves).plugin_cmd.rspresence acrossopenai/codexrelease tags — absent at v0.130.0, present at v0.131.0. Not behind a feature flag, not labelled beta..claude-plugin/marketplace.jsonand.claude-plugin/plugin.jsonas fallbacks — verified by installing a Claude-format-only repo under Codex. Claude Code does not read Codex's.agents/plugins/marketplace.json. The Codex-side fallback is real (confirmed in source constants) but appears in no OpenAI doc, so it's flagged as undocumented and potentially unstable.skills/. Both CLIs install from it. Documented as option B alongside the cheaper Claude-format-only option A.Checks
Documentation only, no runtime change — per the task brief the usual
pnpm run check/ e2e gates don't apply and were skipped.🤖 Generated with Claude Code