← Blog

How-to5 min read

Claude Code and Codex plugins: how to install them, and where the marketplaces are

What a plugin is, how to add a marketplace and install one in Claude Code and in Codex, the scopes, and how to use one set of plugins with both.

Two coding agents running side by side in Mirasim, each in its own paneTwo coding agents running side by side in Mirasim, each in its own pane

The short answer

A plugin bundles parts that work together, such as skills, MCP servers and hooks, so you install them in one step. Plugins come from marketplaces: a marketplace is a repository with a catalog file listing plugins, not a hosted store. Both agents work this way, with their own commands and catalog formats.

Claude CodeCodex
Browse and install/plugin in a session/plugins in Codex CLI, or Plugins in the ChatGPT desktop app
Add a marketplace/plugin marketplace add owner/repocodex plugin marketplace add owner/repo
Catalog file.claude-plugin/marketplace.json.agents/plugins/marketplace.json
What a plugin holdsSkills, subagents, hooks, MCP servers and moreSkills, MCP servers, hooks, browser extensions
Built-in marketplaceclaude-plugins-officialOpenAI's plugin directory, shared with ChatGPT

Claude Code

Inside a session
/plugin                                           # Discover, Installed and Marketplaces tabs
/plugin install commit-commands@claude-plugins-official
/plugin marketplace add your-org/plugins          # a GitHub repo
/plugin marketplace add your-org/plugins#v1.2.0   # pinned to a tag
From your shell, for example in a setup script
claude plugin marketplace add anthropics/claude-plugins-official
claude plugin install formatter@your-org --scope project
claude plugin list
claude plugin disable formatter@your-org

Claude Code adds Anthropic's official marketplace, claude-plugins-official, the first time you start an interactive session, so its plugins install by name right away. Anthropic also runs a community marketplace, claude-community, which you add yourself. A marketplace source can be a GitHub repository, any git URL, a local folder or a hosted marketplace.json. The old claude-code-plugins marketplace is deprecated; install from claude-plugins-official instead.

ScopeWho gets itRecorded in
user (the default from the shell)You, in every project on this computersettings.json in the .claude folder in your home folder
projectEveryone working in the repository.claude/settings.json, committed
localYou, in this repository only.claude/settings.local.json

When a plugin is set at several scopes, local overrides project, and project overrides user. Committing a project-scope plugin turns it on for your teammates but doesn't download it to their computers. Every enabled plugin is part of every session: its skills' names and descriptions take up context on each turn, its MCP servers run, and it runs as you, so turn off what you don't use.

Codex

In Codex CLI
codex
/plugins        # browse by marketplace, install, Space turns an installed one on or off
Add and manage marketplaces from your shell
codex plugin marketplace add owner/repo
codex plugin marketplace add owner/repo --ref main
codex plugin marketplace add ./local-marketplace-root
codex plugin marketplace list
codex plugin marketplace upgrade
codex plugin marketplace remove marketplace-name
  • Codex and ChatGPT share one public plugin directory. In the ChatGPT desktop app, open Plugins, find one and press the plus button.
  • Start a new session after installing; a plugin's skills and tools arrive in new sessions. Some plugins ask you to connect an account when you install them, others the first time you use them.
  • The Codex IDE extension doesn't support plugins; use Codex CLI or the ChatGPT desktop app.
  • A repository can offer its own list in .agents/plugins/marketplace.json; a personal list goes in the .agents folder in your home folder.
  • Signed in with an API key? You can still install the OpenAI-curated plugins that don't need an unsupported sign-in flow.

In Mirasim: one set of plugins for every agent

Mirasim runs Claude Code, Codex and other coding agents in one window, and its Settings › Plugins table holds plugin packs next to connectors, skills and CLI tools. Add opens the Market, where you install a pack; to bring in more, add a plugin source: a repository with a .claude-plugin/marketplace.json, given as owner/repo, a git URL or a local folder. Under Not in the market you can also install a pack straight from a git address or a folder.

  • A pack installed in Mirasim reaches more than one agent: Claude Code gets the whole plugin, including its commands, subagents and hooks, and Codex gets its skills and MCP servers.
  • Plugins you installed in Claude Code or Codex yourself show up as read-only rows, “What Claude Code and Codex set up themselves; only read”. Mirasim doesn't change them; press Adopt to manage one from Mirasim.
  • Global plugins are on in every project, and a project can switch one off. To share a plugin with a repository, pin it into .mirasim/plugins.json so it travels with the repo.

Questions

Plugin, skill or MCP server: which do I need?
All three work on their own. A skill is one folder of instructions; an MCP server connects the agent to a tool. A plugin is for when several of them belong together, or you want to install someone's setup in one step and get updates from their marketplace.
Is the Claude Code VS Code extension a plugin?
No. The VS Code extension and the JetBrains plugin are ways to run Claude Code in an editor, not Claude Code plugins.
Can I use a Claude Code plugin in Codex?
Each agent reads its own catalog file, .claude-plugin/marketplace.json for Claude Code and .agents/plugins/marketplace.json for Codex, so look for the plugin in a Codex marketplace. The skills inside a plugin are plain folders both agents can read, and Mirasim hands a pack's skills and MCP servers to Codex for you.
Are plugins safe?
A plugin runs with your permissions, whichever marketplace it came from. Read what it contains before installing, especially hooks, which run commands on their own.

Sources

Checked on November 25, 2026 against Anthropic's Claude Code documentation (code.claude.com/docs: Plugins overview, Install and manage plugins, Anthropic's marketplaces) and OpenAI's documentation (learn.chatgpt.com/docs/plugins and the plugin building guide on developers.openai.com). Both change often, so check those pages for the latest commands.

Keep reading