codex-imagegen

codex-imagegen is a Claude Code mod by bngxyz that adds a generate_image tool: Claude hands image requests to the local Codex (ChatGPT) CLI and gets back the saved file.

Updated 2026-10-17

What is codex-imagegen?

codex-imagegen is a Claude Code mod by bngxyz that adds a generate_image tool: Claude hands image requests to the local Codex (ChatGPT) CLI and gets back the saved file. It is listed under Agents & automation and has 1 GitHub stars.

TypeClaude code mod
Authorbngxyz
Repositorybngxyz/codex-imagegen
Popularity1 GitHub stars
CategoryAgents & automation
SecurityLow risk (80/100)
Rank#3,346 of 9,397 Claude Code mods; #262 in Agents & automation
Last commit2026-10-17
Hooks2 events
Seesmcp__codex-imagegen__generate_image calls
Draws onnothing

Is codex-imagegen safe to install?

codex-imagegen scores 80/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 5 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 processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.process.runruns processes
$.tool.registerdrives Claude
$.ui.statusdraws interface

How do I install codex-imagegen?

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

Or ask Claude to set it up

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

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