Harness Notes

Plugin formats

Updated 2026-11-25,

On this page

Plugin manifests, component layouts and distribution formats checked November 16, 2026. Agent Plugins 1.0 is the published portable format for skills and MCP; 1.1 portable hooks remain a working draft. Vendor formats and executable extensions have separate contracts. Source inspection and documentation review do not establish runtime conformance.

QuestionCodex CLIchecked at 0.169.0
Manifest and format

Root plugin.json selects Agent Plugins 1.0.0 by canonical $schema. Otherwise Codex checks .codex-plugin/plugin.json, .claude-plugin/plugin.json, then .cursor-plugin/plugin.json. An unsupported Agent Plugins schema is selected then rejected, rather than silently falling back.

Required and optional fields

Portable: required $schema and name; optional version, description, author, homepage, repository, license, keywords and extensions. Codex reads apps, hooks, interface and onboarding from extensions.com.openai; an inline object replaces the whole .codex-plugin/plugin.json overlay. Legacy fields also include skills and mcpServers; a blank legacy name falls back to the directory name.

Components and default layout

Partly

Portable components are fixed at skills/<skill>/SKILL.md and mcp.json; skill discovery is direct children only. Legacy packages use recursive skill roots, .mcp.json, hooks/hooks.json and .app.json, with manifest overrides. Parsing portable hooks does not make them active: the local loader explicitly skips them.

Paths and variables

Manifest component paths resolve from the plugin root and require ./. Portable stdio args/env/cwd expand ${PLUGIN_ROOT} and ${PLUGIN_DATA}; command is one executable token or a contained ./ executable path. Treat compatibility path handling separately from portable MCP containment.

MCP configuration

Partly

Portable mcp.json requires its 1.0.0 $schema and mcpServers. Codex normalizes stdio and streamable-http entries; legacy SSE entries are rejected individually. An invalid server does not discard valid sibling servers. Legacy mcpServers accepts a path or inline object and defaults to .mcp.json.

Distribution and marketplaces

Marketplace lookup includes .agents/plugins/marketplace.json, .agents/plugins/api_marketplace.json, .claude-plugin/marketplace.json and .cursor-plugin/marketplace.json. Local, Git and npm source kinds exist. Marketplace identity, source and install/auth policy are distinct from the plugin manifest; remote curated installs have additional routing policy.

Compatibility and verification limits

Partly

The local session and App Server watcher call the shared PluginsManager loader. Executor-owned roots use a separate provider. Codex can read compatibility manifests without implementing every Claude/Cursor component. Packaging docs describe OpenAI hooks, while the pinned local Agent Plugins loader skips them; desktop and hosted import behavior remain separate and unprobed.

Packaging documentation: https://developers.openai.com/plugins/build/plugins

Commands

From your shell

Commands you run in a terminal or script, outside a session.

TaskCodex CLIchecked at 0.162.1
Set up
Install

codex plugin add <PLUGIN[@MARKETPLACE]>

Install a plugin from a configured or remote marketplace.

1 note

-m/--marketplace when the selector has no @MARKETPLACE; --json.

Use
List

codex plugin list

List plugins from configured and remote marketplaces.

1 note

-m filters by marketplace; --available adds uninstalled plugins and requires --json.

Remove
Uninstall

codex plugin remove <PLUGIN[@MARKETPLACE]>

Uninstall a plugin and remove its local cache.

1 note

-m/--marketplace; --json.

Inside a session

Slash commands you type into an open session.

TaskCodex CLIchecked at 0.162.1
Use
Open the manager

/plugins

Open the plugin browser to review, install, uninstall, enable or disable plugins.

1 note

The shell CLI has no enable or disable command; only this browser can toggle a plugin.

Notes and sources

Codex CLI, 14 sources
Manifest and format, 2
Required and optional fields, 3
Components and default layout, 2
Paths and variables, 2
MCP configuration, 2
Distribution and marketplaces, 2
Compatibility and verification limits, 5