What Are OpenAI Codex Plugins and How Do They Work?
Purpose
Every time I started a new project with Codex, I had to configure the same things: skills, MCP servers, integrations. It took 20 minutes each time, and I’d often forget a step.
OpenAI Codex Plugins fix this problem. They bundle everything you need for a specific workflow into one installable package.
This post shows what plugins are, what they include, and how to use them.
The Problem
Before plugins, setting up Codex for a new project meant:
- Adding skill files to
~/.claude/skills/ - Configuring MCP servers in
~/.claude/settings.json - Setting up environment variables for integrations
- Documenting the setup for team members
I did this for every project. Sometimes I’d forget to add the right MCP server. Sometimes a team member couldn’t get their environment matching mine.
The process was error-prone and time-consuming.
What Are Codex Plugins?
Codex Plugins are installable packages that bundle three things:
- Skills: Reusable prompt templates and workflows
- MCP configurations: Model Context Protocol server settings
- App integrations: Connections to external tools and services
Instead of configuring each piece separately, you install one plugin and get everything.
Here’s what a plugin structure looks like:
my-plugin/ plugin.json # Plugin metadata and config skills/ my-skill.md # Skill definition mcp/ servers.json # MCP server configurations integrations/ github.json # App integration settingsWhat’s Inside a Plugin?
When I explored the plugin format, I found three main components:
Skills
Skills are prompt templates that Codex can invoke. I’ve used skills for tasks like code review, test generation, and documentation.
---name: code-reviewdescription: Review code for security and quality issuestriggers: - "review this code" - "check for security issues"---
You are a code reviewer. Analyze the provided code for:1. Security vulnerabilities2. Performance issues3. Code style violations
Provide specific, actionable feedback.MCP Configurations
MCP servers let Codex connect to external data sources. A plugin can include pre-configured MCP servers.
{ "mcpServers": { "github": { "command": "mcp-github", "args": ["--read-only"], "env": { "GITHUB_TOKEN": "${GITHUB_TOKEN}" } }, "postgres": { "command": "mcp-postgres", "args": ["--connection-string", "${DATABASE_URL}"] } }}App Integrations
Integrations connect Codex to external services like GitHub, Slack, or databases.
{ "name": "github", "type": "oauth", "scopes": ["repo", "read:org"], "baseUrl": "https://api.github.com"}How to Install a Plugin
I installed my first plugin using the Codex CLI:
# Install a plugin from the registrycodex plugin install @openai/build-web-apps
# List installed pluginscodex plugin listI got this output:
Installed plugins: @openai/build-web-apps (v1.2.0) - Skills: scaffold-react, add-auth, deploy-vercel - MCP servers: context7 - Integrations: vercel, githubAfter installation, all the plugin’s skills became available in Codex. The MCP servers were configured automatically.
Curated Plugins
OpenAI offers curated plugins for common workflows:
Build Web Apps
This plugin packages a complete web development stack:
codex plugin install @openai/build-web-appsIt includes:
- React/Next.js scaffolding skills
- Context7 MCP for documentation access
- Vercel integration for deployment
Data Science Workflow
For data analysis projects:
codex plugin install @openai/data-scienceIt includes:
- Jupyter notebook generation skills
- Pandas/NumPy helper prompts
- Database MCP connectors
API Development
For building and testing APIs:
codex plugin install @openai/api-devIt includes:
- OpenAPI specification generation
- Postman integration
- PostgreSQL MCP server
Creating Your Own Plugin
I created a custom plugin for my team’s workflow using the @plugin-creator tool.
Step 1: Initialize the Plugin
codex plugin create my-team-workflow
cd my-team-workflowThis created the plugin structure:
my-team-workflow/ plugin.json skills/ mcp/ integrations/Step 2: Define Plugin Metadata
{ "name": "my-team-workflow", "version": "1.0.0", "description": "Custom workflow for my team", "author": "your-name", "skills": ["skills/*.md"], "mcp": "mcp/servers.json", "integrations": "integrations/*.json"}Step 3: Add Skills
I added a skill for our code review process:
---name: team-reviewdescription: Team-specific code review checklisttriggers: - "team review"---
Review the code against our team standards:1. Check TypeScript strict mode compliance2. Verify error handling patterns3. Confirm test coverage > 80%4. Check for hardcoded values
Format feedback as GitHub PR comments.Step 4: Add MCP Configuration
{ "mcpServers": { "team-docs": { "command": "mcp-context7", "args": ["--library", "/my-team/docs"] } }}Step 5: Test Locally
codex plugin install ./my-team-workflow --local
# Test the plugincodex skill run team-reviewStep 6: Publish
codex plugin publish my-team-workflowWhy This Matters
Plugins solve three problems I faced regularly:
Configuration drift: Different team members had different setups. Plugins ensure everyone uses the same configuration.
Onboarding time: New team members spent hours setting up their environment. Now they install one plugin.
Workflow consistency: Our code review process varied by person. The plugin skill ensures the same checklist every time.
Common Questions
How do plugins differ from skills?
Skills are single-purpose prompt templates. Plugins bundle skills with MCP configurations and integrations into a complete package.
Think of it this way: a skill is a tool, a plugin is a toolkit.
Can I share plugins privately?
Yes. You can publish plugins to a private registry:
codex plugin publish my-plugin --registry https://my-company.com/registryDo plugins require an internet connection?
Plugins install locally. Once installed, skills and MCP configurations work offline. App integrations may require internet for API calls.
Can I override plugin settings?
Yes. Local settings in ~/.claude/settings.json override plugin defaults:
{ "overrides": { "my-plugin": { "mcpServers": { "custom-server": { "command": "my-custom-command" } } } }}Summary
Codex Plugins bundle skills, MCP configurations, and app integrations into shareable packages. They solve the problem of manually configuring Codex for each project.
I showed what plugins include, how to install curated plugins from the registry, and how to create your own using the @plugin-creator tool.
For teams, plugins mean consistent environments and faster onboarding. For individuals, they mean less time configuring and more time building.
Final Words + More Resources
My intention with this article was to help others share my knowledge and experience. If you want to contact me, you can contact by email: Email me
Here are also the most important links from this article along with some further resources that will help you in this scope:
Oh, and if you found these resources useful, don’t forget to support me by starring the repo on GitHub!
Comments