Generates illustration images for articles and documentation with a smart three-tier fallback: tries Codex's built-in image_gen tool first, then falls back to OpenAI API, then Gemini if needed. You get a default style optimized for technical content (clean, minimal, soft tones) that auto-prepends to your prompts unless you override it. The workflow is practical about paths too, it looks at your existing markdown to figure out where images should go rather than making you specify every time. Defaults to 3:2 landscape at 1K resolution, which works well for blog headers without burning through credits. Handles the boring parts like provider detection and credential checking so you can focus on writing good prompts.

skills.sh installs
4K
last updated
Aug 21, 2026

Install

$ npx -y skills add zc277584121/marketing-skills --skill image-generation --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Step 1: Determine the Image Requirements

Before generating, clarify only what is necessary:

Sponsors

Details

Repository
github.com/zc277584121/marketing-skills
Categories
Backend & APIs, Documentation, AI & Agent Building, Automation & Workflows, Marketing & SEO, Generative Media
First seen
May 16, 2026

More from zc277584121/marketing-skills

All 14
1tradermonty avatarvalue-dividend-screenertradermonty/claude-trading-skillsScreen US stocks for high-quality dividend opportunities combining value characteristics (P/E ratio under 20, P/B ratio under 2), attractive yields (3% or highe4Kskills.sh installs
2dotnet avatarandroid-tombstone-symbolicationdotnet/skillsSymbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the M4Kskills.sh installs
3pexoai avatarvideoagent-audio-studiopexoai/pexo-skillsTired of juggling multiple audio APIs? This skill gives you one-command access to TTS, music generation, sound effects, and voice cloning. Use when you want to 4Kskills.sh installs
4majidmanzarpour avatarthreejs-3d-generatormajidmanzarpour/threejs-game-skillsGenerate, texture, rig, animate, stylize, convert, and download 3D assets for Three.js games using the Tripo API. Use for text-to-3D, image-to-3D, 2D concept to3.9Kskills.sh installs
5dotnet avatarmigrate-vstest-to-mtpdotnet/skillsMigrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Tes3.9Kskills.sh installs
6coralogix avatarcx-platform-admincoralogix/cx-cliUse this skill when the user asks "who has access", "audit permissions", "check user roles", "list API keys", "review access controls", "rotate API keys", "crea3.9Kskills.sh installs