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.

Updated 2026-10-04

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.

TypeClaude code mod
Authoralex2481kobe
Repositoryalex2481kobe/claude-mods
Popularity2 GitHub stars
CategoryAgents & automation
SecurityReview before installing (76/100)
Rank#1,089 of 5,272 Claude Code mods; #99 in Agents & automation
LicenseApache-2.0
Last commit2026-10-04
Stars this week+1
Hooks8 events
Seessubagent spawns
Draws onToolUse, 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.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.agent.register
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.process.spawn
$.session.append
$.session.cwd
$.session.messagesreads the transcript
$.state.get
$.state.set
$.ui.invalidatedraws interface
$.ui.resolvedraws interface

How do I install codex?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)