One-click install
npx skills add https://github.com/Firzus/agent-skills --skill imagegen-firzus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/Firzus/agent-skills/tree/main/skills/engineering/imagegen
Command: npx skills add https://github.com/Firzus/agent-skills --skill imagegen-firzus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you create or modify raster images without switching tools, whether you need a concept image, product mockup, game asset, infographic, or a targeted edit to an existing image.

Core Features & Use Cases

  • AI Image Generation: Produce new bitmap visuals such as photos, illustrations, logos, textures, sprites, and banners.
  • AI Image Editing: Change backgrounds, remove or replace objects, localize text, composite elements, or adjust lighting and mood while preserving the original image where needed.
  • Transparent Cutouts: Create transparent-background assets by generating on a chroma key background and converting the result to PNG alpha with the bundled script.
  • Workflow Guardrails: Uses a structured prompting format, explicit output paths, verification steps, and non-destructive saving to keep results usable in real projects.

Quick Start

Ask the assistant to generate or edit an image with gpt-image-2 through Codex CLI, specifying the subject, style, constraints, and exact output path.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I generate images with AI through Codex CLI?

AI image generation through Codex CLI requires specifying the subject, style, constraints, and exact output path to produce new bitmap visuals like photos, illustrations, or game assets.

Can I create transparent background PNGs using AI image generation?

Yes, transparent background assets are created by generating the image on a chroma key background and converting the result to PNG alpha using bundled Pillow-based scripts.

How do I edit existing images and change backgrounds without losing the original?

AI image editing modifies backgrounds, removes objects, or adjusts lighting while preserving the original image through non-destructive saving and structured prompting workflows.

Does Codex CLI support generating product mockups and game assets with gpt-image-2?

Codex CLI supports gpt-image-2 to generate raster graphics for product mockups, game assets, sprites, textures, and banners using structured prompting and output verification.

What are the limitations of using Pillow for chroma-key transparency processing?

Pillow-based chroma-key transparency processing is limited to raster graphics generated on a chroma key background, requiring explicit output paths and structured prompting for accurate PNG alpha conversion.

Do I need Codex CLI image generation support to use imagegen?

Yes, Codex CLI image generation support is required to run gpt-image-2, apply structured prompting, perform output verification, and execute optional Pillow-based chroma-key transparency processing.