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.
| Type | Claude code mod |
|---|---|
| Author | bngxyz |
| Repository | bngxyz/codex-imagegen |
| Popularity | 1 GitHub stars |
| Category | Agents & automation |
| Security | Low risk (80/100) |
| Rank | #3,346 of 9,397 Claude Code mods; #262 in Agents & automation |
| Last commit | 2026-10-17 |
| Hooks | 2 events |
| Sees | mcp__codex-imagegen__generate_image calls |
| Draws on | nothing |
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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.process.run | runs processes |
$.tool.register | drives Claude |
$.ui.status | draws interface |
How do I install codex-imagegen?
- 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/bngxyz/codex-imagegen claude plugin validate ./codex-imagegen/.
- 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.