From quorum
Generate images using Codex CLI's built-in image generation. Use when the user wants to create visual assets (sprites, icons, illustrations, mockups, game assets, UI elements) via the terminal. Wraps `codex exec` to delegate image generation to Codex, which has native access to the imagegen system skill.
How this skill is triggered — by the user, by Claude, or both
Slash command
/quorum:codex-imagegenThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Delegate image generation to the **Codex CLI**, which has a native `imagegen` system skill (the `image_gen` tool) and can write bitmap assets — sprites, icons, illustrations, game assets, transparent PNGs — directly to disk. Useful when the host agent has no image-generation tool of its own.
Delegate image generation to the Codex CLI, which has a native imagegen system skill (the image_gen tool) and can write bitmap assets — sprites, icons, illustrations, game assets, transparent PNGs — directly to disk. Useful when the host agent has no image-generation tool of its own.
Supplementary skill. It depends entirely on Codex's own imagegen capability, so it lives alongside the core review skills rather than being one of them.
image_gen tool is available in the current environment.codex CLI installed and authenticated (codex --version).codex exec "Generate <description> and save it to <path>"
Always specify an exact save path. Example:
codex exec "Generate a pixel art health potion sprite (32x32, transparent background) and save it to ./assets/potion.png"
-o result.txt — capture Codex's final message (the image is still written to the path named in the prompt).-i ref.png — attach a reference image for style consistency (repeatable).-C <dir> — set the working directory; --skip-git-repo-check — run outside a git repo.-m <model> — pick a model for higher-quality work.... &, or in Claude Code run_in_background: true) for batches; check the log or just verify the files exist.Be specific about size, style, format, palette, and the exact save path:
codex exec "Generate a game asset:
- Type: magic scroll item sprite
- Style: pixel art, 16-bit
- Size: 32x32, transparent background, PNG
- Palette: limited 16 colors
- Save to: ./assets/items/scroll-magic.png"
codex exec "Generate 5 pixel-art item sprites (sword, shield, potion, coin, key), 32x32, transparent PNG, and save them to ./assets/items/ as sword.png, shield.png, etc."
After generation, verify the files:
ls -lh ./assets/sprite.png # exists?
file ./assets/sprite.png # valid PNG?
sips -g pixelWidth -g pixelHeight ./assets/sprite.png # dimensions (macOS)
codex --version); ensure the target dir exists (mkdir -p); try a simpler prompt; add --json to see structured errors.-i, or try a stronger model with -m.~/.codex/skills/.system/imagegen/SKILL.mdcodex exec --helpnpx claudepluginhub alesha-pro/quorum --plugin quorumCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.