
from codex-image30
Generate images via the Codex CLI using OAuth (no API key). Handles argument parsing, save paths, and error messages for gpt-image-2 generation.
Provides a reproducible flow for generating images through the Codex CLI's built-in image_gen tool (gpt-image-2) using Codex OAuth authentication. Automates auth checks, argument parsing (size, quality, count, output), safe timestamped file naming, and instruction to display generated images via the Read tool. Includes error handling for auth expiration, model access, timeouts, and rate limits.
Use this skill when you want to create images from prompts without a direct OpenAI API key, particularly in interactive developer workflows where Codex CLI is available and OAuth login is preferred. Useful for prototyping assets, adding generated imagery to projects, or automating image creation in local developer environments.
Developer-facing agents with Bash and filesystem access (Codex/Copilot/Claude Code style) that can run codex exec or surface instructions to a user.
This skill has not been reviewed by our automated audit pipeline yet.