In short.
This is OpenAI's developer documentation page on packaging skills and MCP servers into a plugin that people can install in ChatGPT and Codex. It is written for plugin authors. The main catch is that reuse rights for the documentation are unknown, because the page gives no licence for its text or examples. The page describes a portable Agent Plugins layout: a root plugin.json, an optional mcp.json, a skills/ folder and assets, with OpenAI-specific settings under extensions.com.openai. It also covers the older .codex-plugin/plugin.json compatibility layout, the @plugin-creator scaffolding skill, and JSON marketplaces for repos and individual users whose entries can point to local, Git or npm plugin sources. Further topics are the codex plugin marketplace commands, MCP authentication options, per-plugin enable and disable settings, workspace publishing, lifecycle hooks, and how to publish to the public directory shared by ChatGPT and Codex. The full submission review process is on a separate page. The commands, scaffold output and app behaviour below are described as the page documents them; the page gives instructions but does not demonstrate their results.
Researched and written by an AI model and checked by a second AI model. How it works
The scope is the single documentation page at [https://developers.openai.com/plugins/build/plugins.md], as it stood on 12 November 2026. The page carries no licence statement or copyright notice, so rights are unknown. Linked pages are outside this scope, including the skills and MCP server guides, the submission pages, the Codex configuration and enterprise pages, the GitHub example plugins, and the Agent Plugins schemas at [https://agent-plugins.org/schemas/1.0.0/plugin.schema.json] and [https://agent-plugins.org/schemas/1.0.0/mcp.schema.json]. Screenshots embedded in the page are not covered. The behaviour of the scaffold, marketplaces, CLI commands, authentication flows and hooks is reported as the page documents it; the page gives instructions but does not demonstrate their results.
The overview
What this resource is
The resource is a single documentation page titled Package your plugin. It is served as Markdown from OpenAI's developer site at [https://developers.openai.com/plugins/build/plugins.md]. It is one step in a plugin build sequence: the page says you first build skills and, when needed, an MCP server, and then assemble them into the plugin people install. It is a guide, not software, a template repository or a library.
The page does not name an author, a page version or a last-updated date. The only sign of where it comes from is that it is hosted on OpenAI's own developer domain. It links to public example plugins (Figma, Notion and Build web apps) in the openai/plugins GitHub repository, but those examples are separate pages outside this guide.
Overall assessment
For someone who has already decided to ship a plugin for ChatGPT or Codex, this is a dense and specific reference. It gives exact file names, JSON shapes, command lines and policy values rather than general advice. It is also open about edge cases: the @plugin-creator scaffold does not produce the portable layout, hooks make a plugin ineligible for the public directory, and the submission portal's connection form does not support API-key authentication.
Its weaknesses are scope and navigation. It sends readers to other pages for the manifest field reference, the public submission requirements and desktop-only submission. It also mixes a new portable format with a legacy one, which a newcomer has to sort out. A few statements seem slightly at odds. For example, hooks are described as supported for plugins installed manually in Codex desktop, and a few paragraphs later as loaded by the Codex runtime in both ChatGPT Work and Codex. The commands and behaviour the page describes are documented instructions, not demonstrated results.
Who it is for
The audience is developers and teams who want to package reusable agent workflows (skills), MCP server connections and related resources as an installable plugin. That includes individual authors testing a plugin locally, teams who want a plugin catalogue for a repo or for personal use, workspace admins who publish plugins to selected roles, and developers who plan to submit to the public directory.
Beginners can follow the minimal example, which is a manifest plus one SKILL.md file. The page does assume you know what a skill and an MCP server are, and points to separate guides for those. It also assumes you are comfortable with JSON and a terminal, and for some paths with TOML configuration and OAuth. It is not aimed at people who only want to use an existing plugin.
What the page teaches
Packaging: a portable plugin has a plugin.json file at its root. It declares the Agent Plugins schema, a kebab-case name that serves as the plugin identifier and namespace, a version and a description. Skills are found automatically in a root skills/ directory, MCP servers are configured in a root mcp.json, and assets sit alongside them. OpenAI-specific settings go under extensions.com.openai. These include registered MCP server mappings (an apps field pointing to .app.json), hooks, an onboarding skill and presentation details in an interface block, such as displayName, category, capabilities, privacy and terms URLs, default prompts, an icon and a logo.
Tooling and distribution: the built-in @plugin-creator skill scaffolds a plugin and can create a local marketplace entry. You call it as @plugin-creator in ChatGPT Work mode or $plugin-creator in Codex. A marketplace is a JSON catalogue stored at .agents/plugins/marketplace.json, either in a repo or in your home directory. A legacy-compatible .claude-plugin/marketplace.json file is also read. Marketplace entries can point to local paths, Git URLs, Git subdirectories or an npm package. The codex plugin marketplace add, list, upgrade and remove commands manage marketplace sources. Workspace admins can publish a personal plugin to chosen roles. Public plugins go through a submission portal into a directory shared by ChatGPT and Codex.
Authentication and policy: MCP authentication can be none, OAuth, mixed (public plus OAuth access) or API key. OAuth has three client modes (provided, dcr and cimd), and the page includes a table of OAuth fields. Users can turn a plugin on or off for a single project and adjust approval settings for a bundled MCP server in Codex config files.
Using it
What you need to follow it
What you need depends on how the plugin is built, and the page does not collect the prerequisites in one list. If the plugin bundles skills, you need those skills written first. If it uses an MCP server, you need that server. To register a server through ChatGPT, you need access to ChatGPT Plugins at [https://chatgpt.com/plugins] plus your MCP server URL and connection details. Local plugins are tested in the ChatGPT desktop app, which must be restarted to pick up marketplace changes. The codex plugin marketplace commands need the Codex CLI. Installing a plugin from an npm marketplace entry needs the npm CLI installed, and registry authentication comes from npm's own configuration.
Publishing to a workspace requires workspace admin rights, and admins can turn the feature off with features.plugin_sharing = false in requirements.toml. For public submission of a plugin with a remote MCP server, the page says to submit the server's remote HTTPS endpoint through the With MCP route. Plugins with local MCP servers have a separate desktop-only submission route. The page does not present an MCP endpoint as a requirement for plugins without an MCP server. Which ChatGPT plan or Codex version is needed is not stated on this page and is unknown.
How it works
A plugin is a folder. The root plugin.json gives it a stable identity, and fixed paths identify its parts: skills/ holds skills and mcp.json configures MCP servers. That is why the portable manifest needs no skills field. If plugin.json contains an extensions.com.openai object, that object fully replaces the .codex-plugin/plugin.json overlay as the source of OpenAI-specific settings; the two are not merged. If the object is absent, the compatibility overlay supplies those settings. Paths inside the extension or overlay are relative to the plugin root and start with ./.
A marketplace entry tells the host where to load a plugin from. Codex resolves source.path relative to the marketplace root, not the .agents/plugins folder. On install, ChatGPT places the plugin in ~/.codex/plugins/cache/<marketplace>/<plugin>/<version>/ and loads that cached copy; for local plugins the version is local. So after editing a plugin you have to update the folder the marketplace entry points to and restart the app. If the source of one marketplace entry cannot be found, Codex skips that entry instead of failing the whole marketplace.
Per-project settings use a key of the form plugin-name@marketplace-name in .codex/config.toml, and Codex reads that file only for trusted projects. Hooks bundled with a plugin are treated as non-managed: Codex skips them until the user reviews and trusts the current hook definition. The page says hook commands receive the PLUGIN_ROOT and PLUGIN_DATA environment variables, and that CLAUDE_PLUGIN_ROOT and CLAUDE_PLUGIN_DATA are also set for compatibility.
Setup paths described
Fast path: ask @plugin-creator to scaffold the plugin. If the plugin uses an MCP server, register the server in ChatGPT Plugins first: select the plus button, choose Add custom MCP server, enter the URL and connection details, accept the risk warning and choose Create as a plugin. Then copy the technical ID from the browser address bar (it starts with plugin_asdk_app) and give it to the skill. Afterwards, review .app.json and the manifest's apps field, add any skills under skills/, refresh ChatGPT, install from your local source and test in a new chat.
Manual path: create a folder with plugin.json, add skills/<name>/SKILL.md, and then add the plugin to a marketplace. For a repo marketplace, copy the plugin to $REPO_ROOT/plugins/ and list it in $REPO_ROOT/.agents/plugins/marketplace.json. For a personal one, use ~/.codex/plugins/ and ~/.agents/plugins/marketplace.json. Then restart the desktop app. Each marketplace entry must include policy.installation, policy.authentication and category.
Sharing: codex plugin marketplace add adds a marketplace source. It accepts GitHub shorthand (owner/repo or owner/repo@ref), HTTP, HTTPS or SSH Git URLs, or a local marketplace root directory. The --ref option pins a Git ref, and --sparse sets up a sparse checkout for Git sources only. Plugins distributed as npm packages are not added with this command. Instead, they are listed inside a marketplace catalogue as a plugin entry with "source": "npm", a required package name and an optional version and registry. The page does not document adding an npm marketplace with the command. Workspace admins can publish a personal plugin to selected roles from the Personal tab. Public plugins go through the submission portal, and the full review process is on a separate submission page.
Worked example on the page
The page's smallest example is a plugin called my-first-plugin. Its plugin.json has a $schema pointing to [https://agent-plugins.org/schemas/1.0.0/plugin.schema.json], the name my-first-plugin, version 1.0.0 and the description Reusable greeting workflow. Next to it is skills/hello/SKILL.md. Its front matter gives the name hello and the description Greet the user with a friendly message, followed by an instruction to greet the user warmly and ask how to help. The next step is adding the plugin to a marketplace.
Other short examples on the page include a repo marketplace entry with a local source, a Git subdirectory entry with a ref, an npm entry with a version range, a remote streamable-http server in mcp.json, an OAuth configuration with a provided client ID and explicit endpoints, DCR and CIMD client objects, an api_key declaration with a bearer header scheme, a TOML policy block that enables only a search tool on a bundled server and sets it to approve, and a SessionStart hook that runs a Python script. These only illustrate structure: they are documented samples, not demonstrated working configurations, and placeholders such as the [https://example.com] addresses must be replaced with real values.
Assessment & evidence
Limitations and cautions
Scope gaps: the page leaves the manifest field list and public submission requirements to the submission page, and building skills and MCP servers to earlier pages. It has no dedicated troubleshooting section and no list of error messages. It does describe several checks. After @plugin-creator wires in a registered MCP server, it says to confirm in .app.json that the server mapping points to the correct plugin_asdk_app ID, and to check that the apps field in .codex-plugin/plugin.json points to ./.app.json. After adding a repo or personal marketplace, it says to restart the ChatGPT desktop app and confirm the plugin appears. It notes that codex plugin marketplace list shows which marketplaces Codex is considering and their root paths. Finally, you install the plugin and test it in a new chat. These checks are documented instructions; the page does not show their results.
Two formats: the @plugin-creator scaffold currently uses the Codex compatibility layout, not the portable layout. Only .codex-plugin/plugin.json is always created. The other files and directories, including .mcp.json and .app.json, are optional outputs created when requested, not guaranteed files. The page warns against simply renaming .mcp.json to mcp.json, because the portable MCP format also needs a transport type for each server. The quick path and the portable path therefore produce different files.
Distribution limits: plugins containing lifecycle hooks are not eligible for the public plugin directory. The page says hooks are supported for plugins installed manually in Codex desktop. Hook scripts must already exist where they run, and installing a plugin on the web does not deploy them. API-key authentication can be declared in the manifest, but the submission portal's connection form does not support it. The schema accepts private_key_jwt, but declaring it does not set up signing keys. Workspace-published plugins are not public and cannot be reached from outside the workspace.
Security cautions from the page: client secrets must not go in the manifest, which has no clientSecret field; they are entered during connection setup. Registering a custom MCP server shows a risk warning. Hooks and tool approval settings are trust decisions. The page offers no security review checklist for third-party plugins.
Documented, not demonstrated: the page describes commands, scaffold output and install flows without showing them in action, so how they behave on a given operating system or app version is unknown.
Why this assessment
The assessment rests on the page's own text. Its strengths can be checked in the text itself: concrete file names and schema URLs, complete JSON examples, a table of OAuth fields with their types, explicit precedence rules (the extension object replaces the overlay, and an explicit hooks setting replaces default discovery), and stated restrictions, such as hooks making a plugin ineligible for the public directory. Those details make the page useful for planning how a plugin is structured.
The caveats come from what the page leaves out: licence terms, prices, a date or version for the page, and the content of the pages it links to. They also come from the fact that the page documents behaviour without demonstrating it, so statements about how ChatGPT or Codex behave are reported as the page's claims, not as observed results.
Alternatives and related material
The page points to related OpenAI material: the skills guide and the MCP server guide for building the parts; the submission page for the public directory and manifest field details; the desktop-only submission page for local MCP servers; the Codex enterprise pages on managed configuration and plugin management for admin setup; and the public example plugins for Figma, Notion and Build web apps. Those pages are outside this guide, so what they add is unknown.
It also says OpenAI accepts legacy and Claude-compatible manifests and reads a .claude-plugin/marketplace.json file, which suggests the format overlaps with other agent plugin ecosystems. The page does not compare them. If you only need a reusable workflow and no MCP connection, a single skill folder may be simpler than a full plugin. The page does not say this directly, so treat it as a judgement, not a recommendation from OpenAI.
Evidence base
The statements in this report come from the text of the page at [https://developers.openai.com/plugins/build/plugins.md] as it stood on 12 November 2026. The page also includes a pointer to a documentation index (llms.txt) and embedded screenshots of the plugin creator skill and the Plugins Directory; the screenshots' content is not described in the text and is not covered here.
The page itself gives no update date, changelog, release history or licence for the documentation, and it says nothing about adoption or maintenance. The page alone therefore cannot establish its version history, maintenance status or reuse rights, and these are marked unknown where relevant in this report. Other sources were not part of this review.
Access & freshness
Costs
The page states no prices, fees, usage limits or plan requirements. It does not say whether reading the documentation costs anything, what the services cost or which plans are required, so cost is unknown. Using ChatGPT Work mode, Codex, workspace publishing, the submission portal or any third-party MCP server or OAuth provider may come with costs or plan restrictions that this page does not cover. Plugin authors would need to check OpenAI's plan and pricing information separately.
Rights and licence
The page contains no licence statement, copyright notice or terms of use for the documentation text. Rights to reuse, redistribute or modify it are therefore unknown. The code and JSON snippets are presented as examples to adapt, but the page does not grant any licence for them.
Separately, the page's manifest example includes a license field (MIT in the sample) for plugins you write, and its sample interface block includes example fields for privacy policy and terms of service URLs. The page does not say whether those fields are required. They relate to your plugin, not to the rights in this guide. The linked example plugins in the openai/plugins repository may have their own licences, which this page does not state.
Freshness
The page shows no publication or update date. It refers to version 1.0.0 of the Agent Plugins schema and says new packages should use the root plugin.json format, with .codex-plugin/plugin.json kept as a supported fallback. It also says the @plugin-creator scaffold is still supported even though it uses the older layout. This suggests the format is changing, so details such as scaffold output, hook eligibility and submission limits may change.
This description reflects the page as it stood on 12 November 2026. Later changes to the live page are not reflected here.
Suggested next steps
If you are starting a new plugin, try the manual path first so you understand the portable layout, then decide whether @plugin-creator is worth using for the marketplace wiring. Keep portable plugin.json, mcp.json, skills/ and assets at the plugin root, and put OpenAI-specific settings in extensions.com.openai in the root plugin.json. The page does not require the plugin folder itself to sit in a particular place in your repository. The marketplace entry's source.path decides where it is loaded from; that path must start with ./ and stay inside the marketplace root, and the plugins/ directories shown are only examples. Add a skills/ folder only if you bundle skills, and an mcp.json only if you bundle MCP servers.
Decide early whether you want the public directory. If you do, avoid lifecycle hooks, because plugins containing them are not eligible, and read the submission page before finalising the manifest. For a remote MCP server, plan to submit its remote HTTPS endpoint through With MCP; for a local MCP server, use the separate desktop-only submission route instead. If your server relies on API-key authentication, read the linked authentication limitations first, because the portal's connection form does not support API-key declarations. If you are distributing within a team, start with a repo marketplace, pin Git sources with ref or sha, and consider workspace publishing for role-based access.
Before relying on any command or setting here, try it in a throwaway project and check the current live documentation, since the page shows no date and the format appears to be changing. Before reusing the page's text or examples in your own materials, confirm the licence terms with OpenAI, because none appear on this page.
