codex-imagegen
Installation
SKILL.md
codex-imagegen
Use this skill for raster image generation requests. Do not use it for SVG, vector-only, or code-native assets unless the user explicitly wants a raster export.
The extracted extension implementation is kept with this skill under scripts/ for
reference and future edits:
scripts/index.ts— tool registration/background task orchestrationscripts/generate.ts— standalone CLI runner/smoke test for these scriptsscripts/codex-exec.ts— Codex backend command constructionscripts/icon.ts— icon batch detection, prompt rules, slicing scriptscripts/transparent.ts— transparent-background detection/conversion scriptscripts/prompts/— prompt snippets/instructionsscripts/utils.ts— path, slug, MIME, shell helpers
Standalone script smoke test
You can run the extracted implementation without loading the pi extension: