Skip to content

Add .codex-plugin/plugin.json manifests for Codex CLI plugin install#726

Merged
AbhitejJohn merged 1 commit into
mainfrom
abhitejjohn/fix-plugin-install-missing-plugin-json
Jun 9, 2026
Merged

Add .codex-plugin/plugin.json manifests for Codex CLI plugin install#726
AbhitejJohn merged 1 commit into
mainfrom
abhitejjohn/fix-plugin-install-missing-plugin-json

Conversation

@AbhitejJohn

@AbhitejJohn AbhitejJohn commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

The Codex CLI requires .codex-plugin/plugin.json as the plugin manifest entry point (docs). Without it, codex plugin add fails with missing plugin.json even though marketplace listing works fine.

This adds .codex-plugin/plugin.json to all 14 plugin directories, with paths relative to the plugin root per the Codex documentation. Also adds missing dotnet-blazor and dotnet11 entries to .agents/plugins/marketplace.json for parity with the other marketplace files.

What changed

  • 14 new files: plugins/<name>/.codex-plugin/plugin.json for every plugin
  • 1 modified file: .agents/plugins/marketplace.json — added dotnet-blazor and dotnet11 entries

Useful Context

PR #555 added the .agents/plugins/marketplace.json enabling Codex to discover plugins. But each plugin directory still only had a root-level plugin.json (used by Claude Code and Cursor). The Codex CLI specifically looks for .codex-plugin/plugin.json inside the plugin directory pointed to by the marketplace source path.

Validation

  • Confirmed against official Codex plugin build docs: "Every plugin has a manifest at .codex-plugin/plugin.json"
  • Paths use ./ prefix relative to plugin root per docs: "Keep manifest paths relative to the plugin root and start them with ./"

Fixes #578
Fixes #724

@AbhitejJohn AbhitejJohn marked this pull request as ready for review June 4, 2026 22:48
Copilot AI review requested due to automatic review settings June 4, 2026 22:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Codex CLI–required per-plugin manifest entry points (.codex-plugin/plugin.json) across all plugins so codex plugin add <plugin>@dotnet-agent-skills can install successfully, and updates the Codex marketplace manifest to include missing plugin entries.

Changes:

  • Added plugins/<plugin>/.codex-plugin/plugin.json for all 14 plugin directories to satisfy Codex CLI’s manifest discovery expectations.
  • Updated .agents/plugins/marketplace.json to add dotnet-blazor and dotnet11 entries, keeping the Codex marketplace list aligned with the other marketplace manifests.
Show a summary per file
File Description
plugins/dotnet/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet.
plugins/dotnet-ai/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-ai.
plugins/dotnet-aspnet/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-aspnet.
plugins/dotnet-blazor/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-blazor.
plugins/dotnet-data/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-data.
plugins/dotnet-diag/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-diag.
plugins/dotnet-experimental/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-experimental.
plugins/dotnet-maui/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-maui.
plugins/dotnet-msbuild/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-msbuild (includes MCP server config).
plugins/dotnet-nuget/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-nuget.
plugins/dotnet-template-engine/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-template-engine.
plugins/dotnet-test/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-test (includes agents list).
plugins/dotnet-upgrade/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet-upgrade.
plugins/dotnet11/.codex-plugin/plugin.json Adds Codex plugin manifest for dotnet11.
.agents/plugins/marketplace.json Adds missing dotnet-blazor and dotnet11 marketplace entries for Codex discovery parity.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 15/15 changed files
  • Comments generated: 14

Comment thread plugins/dotnet/.codex-plugin/plugin.json Outdated
Comment thread plugins/dotnet11/.codex-plugin/plugin.json Outdated
Comment thread plugins/dotnet-upgrade/.codex-plugin/plugin.json Outdated
Comment thread plugins/dotnet-test/.codex-plugin/plugin.json Outdated
Comment thread plugins/dotnet-template-engine/.codex-plugin/plugin.json Outdated
Comment thread plugins/dotnet-diag/.codex-plugin/plugin.json Outdated
Comment thread plugins/dotnet-data/.codex-plugin/plugin.json Outdated
Comment thread plugins/dotnet-blazor/.codex-plugin/plugin.json Outdated
Comment thread plugins/dotnet-aspnet/.codex-plugin/plugin.json Outdated
Comment thread plugins/dotnet-ai/.codex-plugin/plugin.json Outdated
@ViktorHofer

Copy link
Copy Markdown
Member

Note that skill-validator validates the plugin.json schema but nothing does that for this newly introduced code-plugin variant. Not a big deal I guess but I'm still a little split on how far we should go in regards to supporting clients that don't support the marketplace + plugin schema.

@Evangelink

Copy link
Copy Markdown
Member

Note that skill-validator validates the plugin.json schema but nothing does that for this newly introduced code-plugin variant. Not a big deal I guess but I'm still a little split on how far we should go in regards to supporting clients that don't support the marketplace + plugin schema.

I would go minimal support/effort so no validation or eval of quality for these. We would wait for user bug/suggestion reports

The Codex CLI requires .codex-plugin/plugin.json as the plugin manifest
entry point. Without it, 'codex plugin add' fails with 'missing plugin.json'
even though the marketplace listing works.

This adds .codex-plugin/plugin.json to all 14 plugin directories, with paths
relative to the plugin root per the Codex docs. Also updates the agents
marketplace to use dotnet-aspnetcore (per #711 rename) and adds missing
dotnet-blazor and dotnet11 entries.

Fixes #578
Fixes #724

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AbhitejJohn AbhitejJohn force-pushed the abhitejjohn/fix-plugin-install-missing-plugin-json branch from 557d8d0 to b6d58f0 Compare June 8, 2026 20:22
@AbhitejJohn AbhitejJohn merged commit 2ab3501 into main Jun 9, 2026
36 checks passed
@AbhitejJohn AbhitejJohn deleted the abhitejjohn/fix-plugin-install-missing-plugin-json branch June 9, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Codex marketplace entries list but fail to install with missing plugin.json Plugin install fails: dotnet-aspnet not found in marketplace

4 participants