What is codex?
codex is a Claude Code mod by alex2481kobe that openAI Codex as native Claude Code subagents: the Agent tool starts one and the mod drives codex app-server in its place, no model in between. It is listed under Agents & automation and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | alex2481kobe |
| Repository | alex2481kobe/claude-mods |
| Popularity | 2 GitHub stars |
| Category | Agents & automation |
| Security | Review before installing (76/100) |
| Rank | #1,089 of 5,272 Claude Code mods; #99 in Agents & automation |
| License | Apache-2.0 |
| Last commit | 2026-10-04 |
| Stars this week | +1 |
| Hooks | 8 events |
| Sees | subagent spawns |
| Draws on | ToolUse, AbovePrompt, PromptHint |
Is codex safe to install?
codex scores 76/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.agent.register | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.process.spawn | |
$.session.append | |
$.session.cwd | |
$.session.messages | reads the transcript |
$.state.get | |
$.state.set | |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
How do I install codex?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/alex2481kobe/claude-mods claude plugin validate ./claude-mods/plugins/codex
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add alex2481kobe/claude-mods && claude plugin install codex@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs codex for you:
Install the "codex" Claude Code mod from https://github.com/alex2481kobe/claude-mods/tree/main/plugins/codex. Run claude plugin validate on it first and show me what it can access before you enable it.
More from alex2481kobe/claude-mods
This repository has 4 Claude Code mods on MCPMods.
- agent-models: Each Claude subagent's model and effort in the native agent list, beside its task (Low risk)
- link: Click a file path in a reply and Finder opens with it selected (Review before installing)
- peek: Images in the terminal: Claude shows the pictures it makes or finds inline, as real pixels in kitty and Ghostty and as a (Review before installing)