image-generation

Installation
SKILL.md

Image Generation Skill

Generate illustration images for blog posts, documentation, and technical articles. The workflow is provider-aware:

  1. Codex built-in path first — when the current agent is Codex and the built-in image_gen tool is available, use it directly. This path does not require OPENAI_API_KEY.
  2. OpenAI API fallback — outside Codex, or when the built-in tool is unavailable, use the local script with OPENAI_API_KEY if present.
  3. Gemini fallback — if OpenAI API generation is unavailable or fails, use the same script with GEMINI_API_KEY and the existing Gemini image model.

Load provider-specific references only when needed:

  • Codex built-in path: references/codex-built-in.md
  • OpenAI API fallback: references/openai-api.md
  • Gemini fallback: references/gemini-api.md

When to Use

  • User asks to generate an illustration, diagram, concept image, article visual, or documentation visual
  • User is writing an article and needs visual explanations for concepts or workflows
  • User explicitly asks for a generated raster image
Related skills
Installs
654
First Seen
Mar 17, 2026