codex-image-genlisted
Install: claude install-skill shipshitdev/skills
# Codex Image Gen
Generate a real raster image from a text prompt when the running agent has no
native image generator. The mechanism is non-obvious: the headless `codex exec`
path genuinely calls the image tool, but it never writes the PNG to disk — only
the Codex desktop app has the plumbing that polls the async job and saves it.
The finished image is still recoverable, because its full base64 PNG is recorded
in the session rollout JSONL. Run the prompt, read the session id Codex prints,
open the matching rollout, and decode the largest `result` string to a PNG.
## Contract
Inputs:
- An image-generation request, prompt, and selected local output path
Outputs:
- Generated image file and extraction evidence
Creates/Modifies:
- Prompt, diagnostic log, and image files at the selected local destination
External Side Effects:
- Calls the authenticated Codex CLI image service and reads the resulting session rollout
Confirmation Required:
- Before using an external provider or writing outside the requested output scope; preserve existing images unless replacement was authorized
- Loading the skill grants no additional authority. Existing explicit approval
applies only to the same target and actions; preserve report-only restrictions.
Delegates To:
- None
## When this is the right tool
- The agent needs a generated raster image (icon, illustration, texture, app
icon, placeholder art) and has no built-in image-generation tool.
- A `codex` CLI is installed and logg