Openclaw Codex Image Gen — Development skill for Claude Code
OpenClaw plugin for Codex CLI image generation ($imagegen).
How to install Openclaw Codex Image Gen
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jkf87/openclaw-codex-image-gen and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Openclaw Codex Image Gen does
OpenClaw plugin for Codex CLI image generation ($imagegen).
Alternatives in Development
- Imagegen — Generate and edit images using OpenAI's Image API for projects 14.6k ★
- Nano Banana Image Generation — Generate professional images via the Gemini CLI's nanobanana extension 261 ★
- Gemini CLI Integration Skill — This skill enables Claude Code to effectively orchestrate Gemini CLI (v0.16.0+) with Gemini 3 Pro for code gen 174 ★
README
openclaw-codex-image-gen
Reference book link:
OpenClaw plugin for generating images via `codex responses` and the `image_generation` tool under the current Codex login session.

Inspired by [hermes-gpt-image-gen](https://github.com/Jinbro98/hermes-gpt-image-gen) and the reference skill [codex-image-generation-skill](https://github.com/Gyu-bot/codex-image-generation-skill), then adapted for the OpenClaw plugin lifecycle and tool interface.
Examples
| Prompt | Result |
|---|---|
| A cute robot cat sitting on a cloud, digital art, vibrant colors | ![]() |
| Korean e-commerce poster | ![]() |
| Korean tech-book promotional hero banner | ![]() |
English first
What this plugin does
It registers a tool named `codex_image_generate` inside OpenClaw. When the tool is called, the plugin:
- checks candidate Codex CLI binaries,
- prefers one machine-specific user-installed Codex path first,
- sends a raw Responses API payload to
codex responses, - requests the
image_generationtool explicitly, - extracts a base64 image when Codex emits the expected streamed JSONL event shape,
- writes the decoded image to disk,
- returns the saved file path back to OpenClaw.
In short, this plugin uses Codex's `image_generation` tool directly, instead of falling back to a code-generated image workaround.
Why this changed
The original version of this repo assumed a `$imagegen` flow through `codex exec`. That turned out to be unreliable in this environment for two separate reasons:
- an older Codex binary on
PATHwas being selected first, - the practical Codex image-generation path that worked consistently was
codex responseswith theimage_generationtool.
S
Related Skills
Gen Images Skill
Context-aware image generation skill for Claude Code — analyzes website brand identity and generates on-brand
Image Generation Skill
Claude Code skill: make and edit images by asking. Uses OpenAI's Codex CLI. Install: npx skills add BrickleRex
Codex Imagegen
Generate or edit an image via a Codex (codex exec) session — Codex's built-in imagegen tool does what your age
Grok Imagine Video
Video generation skill for OpenClaw. Text-to-video, image-to-video, and video editing via natural language usi
Carousel Cover
Generate a cover image for the current carousel via Higgsfield CLI. Loads the matching prompt template, fills
Ultimate Gemini Skill
Standalone Claude Code skill for Gemini 3.1 Flash Image — CLI mirror of ultimate-image-gen-mcp, no MCP server
Related Agents
Asset Artist
타워 디펜스 게임의 이미지 에셋 아티스트. codex-cli(codex exec)의 image_generation 툴로 타워·적·투사체·타일·UI 스프라이트를 병렬 생성하고 검수·후처리. 3D 렌더
SEO Image Gen
SEO image analyst. Audits existing OG/social preview images, identifies missing or low-quality images, and cre
Pro SEO Image Gen
SEO image analyst. Audits existing OG/social preview images, identifies missing or low-quality images, and cre


