image-generation

Generate and edit digital images via the Codex CLI with automated quality validation.

2|2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/mathiasbourgoin/roster --skill image-generation-mathiasbourgoin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/mathiasbourgoin/roster/tree/main/.opencode/skills/image-generation
Command: npx skills add https://github.com/mathiasbourgoin/roster --skill image-generation-mathiasbourgoin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating high-quality, correctly formatted images via AI often requires manual prompt tweaking, handling failed generations, and verifying output quality — a time-consuming, error-prone process for anyone needing visual assets.

Core Features & Use Cases

  • Prompt Refinement: Automatically enhances user-provided prompts with composition, lighting, and style details for better generation results.
  • Robust Error Handling: Manages rate limits, missing source files, and Codex CLI errors with automatic retries and clear user feedback.
  • Quality Validation: Checks generated images for corruption, correct aspect ratio, and alignment with the original request, offering retries for mismatches.
  • Use Case: A frontend developer can use this skill to generate a 512x512 minimalist logo for their project, with no manual prompt optimization or quality checks required.

Quick Start

Use the image-generation skill to create a 512x512 minimalist logo for your open source project and save it to assets/logo.png.

Frequently Asked Questions about image-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate production-ready AI images without manual prompt tweaking?

Generating production-ready AI images without manual prompt tweaking is achievable through automated prompt refinement, which enhances text with composition, lighting, and style details. The system also handles file integrity checks and vision-based quality scoring to ensure valid outputs.

How do I handle Codex CLI rate limits and errors during image generation?

Handling Codex CLI rate limits and errors during image generation is managed automatically through robust error handling logic. This mechanism provides automatic retries for rate limits and missing source files, returning clear user feedback when generation issues occur.

Can I generate design mockups and frontend assets using automated image editing?

Generating design mockups and frontend assets using automated image editing is fully supported. You can create specific visual elements like a 512x512 minimalist logo for frontend projects, with the system handling output validation and aspect ratio verification automatically.

Does AI image generation work with automatic quality validation and retries?

AI image generation with automatic quality validation and retries works by checking generated images for corruption and correct aspect ratio. If a mismatch occurs, the system automatically offers retries to align the final output with your original request.

Why does my AI generated image fail file integrity checks or have the wrong aspect ratio?

AI generated images failing file integrity checks or having the wrong aspect ratio occur due to Codex CLI execution errors or generation mismatches. The system addresses this by validating output alignment with the original request and automatically offering regeneration retries.