← ClaudeAtlas

codex-imagelisted

Generate or edit images through Codex CLI using ChatGPT login, including reference images, batches, verified PNG output, timeouts, and recovery. Use for /codex-image or when the user specifically wants the Codex OAuth image workflow. Targets ChatGPT Images 2.5 where available; does not claim to select or verify a backend the CLI does not expose.
DananzMolt/codex-image · ★ 0 · AI & Automation · score 72
Install: claude install-skill DananzMolt/codex-image
# Codex Image Use the bundled runner for the local Codex CLI workflow. It accepts literal arguments, stages reference images, runs Codex once, validates PNGs with Pillow, and publishes files without overwriting existing output. ## Run Resolve this skill's directory from the loaded skill path. Do not assume it is the current directory. Requirements: macOS/Linux, Python 3.10+, Pillow, and Codex CLI signed in with ChatGPT (`codex login`). For setup, additional options, and recovery, read [references/usage.md](references/usage.md). ```bash python3 /absolute/path/to/codex-image/scripts/generate.py --help python3 /absolute/path/to/codex-image/scripts/generate.py --quality high -- 'A minimal emerald green app icon' python3 /absolute/path/to/codex-image/scripts/generate.py --input '/path/to/photo.png' -- 'Replace only the background with pale green. Preserve the person and lighting.' ``` 1. Preserve the user's prompt, reference order, explicit text, and requested settings. Ask only when the prompt or a required reference is missing. 2. Inspect reference images before requesting edits. Add one `--input` per reference and identify each reference's role in the prompt. 3. Pass arguments with proper shell quoting, or use `--prompt-file` for complex text. Never use `eval`, `shell=True`, or paste raw prompt text into shell code. 4. Run `generate.py` once. For long jobs, keep the host task running in the background and monitor that same task. The default deadline is 600 seco