
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.
codex-image is a bilingual (English/Korean) skill that generates images via the Codex CLI's built-in image_gen tool using OAuth authentication, eliminating the need for API keys. No bundled scripts were present to test. The SKILL.md is well-structured with clear step-by-step instructions and an error handling table, though the prompt interpolation into shell commands presents a moderate injection risk.
Bilingual documentation is a nice touch. The shell injection risk from unsanitized prompt interpolation in Step 4 is the main security concern — the ${_PROMPT} variable is single-quoted but a determined user could break out. Consider adding input sanitization instructions.