codex — Claude Code plugin: what it does, how to install
Connects Codex CLI into workflows for code analysis, refactoring, and automated edits. Triggers when running codex exec or codex resume commands.
MIT ★ 2,707 updated 2026-03-05
/plugin marketplace add softaworks/agent-toolkit
/plugin install codex@agent-toolkitWhat codex does
This plugin bridges Claude Code with the Codex CLI environment. It responds when you ask to run OpenAI Codex jobs for reviewing project architecture, rewriting routines, or editing code files directly.
The package contains the skills/codex skill definition. Engineering tasks run against GPT-5.2 by default. Without an available Codex CLI setup in your environment, calls to external execution commands fail immediately.
What it helps with
- execute automated routines via codex exec
- resume interrupted edit sessions using codex resume
- delegate targeted code refactoring to OpenAI Codex
- perform automated batch edits on project files
Example prompts for the agent
- Run refactoring on this directory with codex exec
- Resume the previous session using codex resume
- Analyze this codebase architecture with OpenAI Codex
How to install codex
Plugin marketplace
/plugin marketplace add softaworks/agent-toolkit/plugin install codex@agent-toolkitStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about codex
How to install codex in Claude Code?
Run /plugin marketplace add softaworks/agent-toolkit and then /plugin install codex@agent-toolkit.
What model does codex use by default?
The plugin defaults to GPT-5.2 for software engineering tasks.
What is codex used for?
It handles code analysis, automated editing, and refactoring by executing codex exec or codex resume commands.
Source text
codex · MIT
Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing. Uses GPT-5.2 by default for state-of-the-art software engineering. Skills: skills/codex
© softaworks · MIT · softaworks/agent-toolkit