An advanced Openclaw Skills extension leveraging the Codex CLI to generate single or batched, size-controlled images and game assets with proxy support.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install codex-imggen
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install codex-imggen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The codex-imggen tool is a highly specialized skill built to extend the capabilities of AI agents in the Openclaw Skills repository. By interfacing directly with the Codex CLI (via npm), it empowers developers and designers to automate image generation with absolute control over dimensions, styles, and batches. This skill addresses a critical challenge in developer workflows: programmatically requesting, creating, and staging high-fidelity graphics straight from terminal environments.
Optimized for reliability and workflow precision, the skill includes built-in proxy defaults for unrestricted connectivity and custom timeout tolerance to prevent premature runner failures. It translates plain text instructions into layout-safe, professional art, acting as a crucial bridge between automated agent logic and digital content generation pipelines.
-i parameter to instruct Codex to mimic a specific art style, color theme, or brand perspective.generate.sh (single prompt), gen_size.sh (specific aspect ratios), or batch_generate.sh (grid-based multi-prompt generation).http://127.0.0.1:1080) to ensure a stable handshake with the generation servers.1K, 1536x1024, 9:16), the script matches the request to one of the 8 predefined aspect buckets inside the ~1.57MP physical limit.-i flag, it is attached as context for style transfer and color scheme mapping.~/.codex/generated_images/ and a copy is immediately mirrored to the user-defined output folder.Ensure that you have the global codex npm package installed on your system, as this skill acts as a shell wrapper around it:
npm install -g codex
chmod +x ~/.openclaw/skills/codex-imggen/scripts/*.sh
http://127.0.0.1:1080. If you use a different proxy setup, open the script files and edit the PROXY variable at the head of the files:# Inside scripts/generate.sh, scripts/gen_size.sh, or scripts/batch_generate.sh
PROXY="http://your-custom-proxy:port"
All generated outputs are cataloged systematically in both the local project folders and a persistent user directory cache:
| Directory Location | Data Type / Content | Description |
|---|---|---|
~/.codex/generated_images/<session-id>/ |
Original Source Images | Stores all raw generation outputs matching the server's processed output grid. |
[output_dir]/ (Optional) |
User-Selected Mirror | Mirrored outputs copied from cache to the developer's requested directory path. |
To prevent serious resolution compression, the skill maps commands to specific predefined resolution configurations:
1K / 1:1 / square): Resolves strictly to 1254x1254 (No scaling degradation, ideal for individual icons).1536x1024): Resolves strictly to 1536x1024 (Perfect accuracy, standard landscape target).2K / 16:9 / FHD): Downgrades to 1672x941 to conform to maximum aspect buckets.2048x1080): Resolves to 1727x911 (optimal match for wide mockups).9:16): Resolves perfectly to 941x1672 (best for mobile interfaces).4:3): Resolves to 1448x1086.batch_split.sh to extract transparent, standalone PNG sprites automatically.-i to construct sequential UI elements with consistent thematic colors and matching backgrounds.Loading
An advanced skill framework designed to provide expert-level evaluation, RLHF alignment, and annotation methodologies for production-grade AI training.

An advanced AI agent skill designed to deeply parse PDF books, extract core concepts, and compile them into stunning, editable interactive infographics.

A CLI-based AI coding agent skill to search global flight tickets, verify airport codes, and structure travel query data seamlessly.

A powerful programmatic video creation tool that lets your AI agent build, customize, and render animations using React and Remotion.

An AI agent skill designed to automatically create, modify, and test REST API endpoints within the Ghost CMS admin core architecture.

A zero-config command-line tool to query global real-time weather, 3-day forecasts, and air quality index (AQI) data.








































