codex-mod

codex-mod is a Claude Code mod by diegoaleyvag that subagent types codex-mod:codex and project-declared roles answered by the local OpenAI Codex CLI (codex exec) instead of an Anthropic model.

Updated 2026-10-21

What is codex-mod?

codex-mod is a Claude Code mod by diegoaleyvag that subagent types codex-mod:codex and project-declared roles answered by the local OpenAI Codex CLI (codex exec) instead of an Anthropic model. It is listed under Agents & automation and has 1 GitHub stars.

TypeClaude code mod
Authordiegoaleyvag
Repositorydiegoaleyvag/codex-mod
Popularity1 GitHub stars
CategoryAgents & automation
SecurityHigh risk (44/100)
Rank#3,524 of 9,397 Claude Code mods; #277 in Agents & automation
LicenseMIT
Last commit2026-10-21
Hooks12 events
Seesevery tool call, subagent spawns
Draws onAssistantMessage, ToolUse

Is codex-mod safe to install?

codex-mod scores 44/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; writes files or config; reads environment variables. It passed 2 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
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.agent.register
$.agent.spawndrives Claude
$.clock.after
$.clock.now
$.clock.sleep
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.http.fetchnetwork requests
$.process.runruns processes
$.process.spawn
$.session.cwd
$.session.id
$.session.messagesreads the transcript
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.tool.list
$.tool.registerdrives Claude
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.notifydraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install codex-mod?

  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/diegoaleyvag/codex-mod
    claude plugin validate ./codex-mod/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add diegoaleyvag/codex-mod && claude plugin install codex-mod@codex-mod

Or ask Claude to set it up

Paste this into Claude Code and it installs codex-mod for you:

Install the "codex-mod" Claude Code mod from https://github.com/diegoaleyvag/codex-mod. Run claude plugin validate on it first and show me what it can access before you enable it.