Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

imagegen

Skill by scholay-xsime

Generates or edits raster images for projects, such as photos, illustrations, sprites, mockups and transparent-background cutouts. Built for Codex users who need bitmap assets rather than SVG or code-native visuals.

  • Score 94
  • 1.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install imagegen

Built from the published package, never by AI.

git clone --depth 1 https://github.com/scholay-xsime/xsime /tmp/xsime && mkdir -p ~/.claude/skills && cp -r /tmp/xsime/Sources/RimeBuffer/Resources/Skills/imagegen ~/.claude/skills/imagegen

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install imagegen in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

imagegen is an agent skill, defined in a SKILL.md file, that tells an AI assistant when and how to generate or edit raster images. It covers photos, illustrations, textures, sprites, mockups and transparent-background cutouts. By default it uses the built-in image_gen tool, and it uses a bundled scripts/image_gen.py CLI only when the user explicitly asks for that fallback.

The skill also sets rules for saving outputs. In built-in mode, images are saved under $CODEX_HOME by default, and project assets must be copied into the workspace. Edits are saved non-destructively, and existing files are not overwritten unless the user asks. It is for people who need bitmap assets from an AI assistant instead of SVG, HTML/CSS or canvas output.

Written from the project's SKILL.md and checked against it.

What it can do

  • image_genBuilt-in tool for generating, editing and transparent-background images.
  • view_imageLoads a local image into the conversation so the built-in edit flow can use it.
  • generate (CLI)Fallback CLI subcommand for generating images from a prompt.
  • edit (CLI)Fallback CLI subcommand for editing an existing image.
  • generate-batch (CLI)Fallback CLI subcommand for many prompts or assets in one job.
  • Variant handlingIssues one built-in call per requested asset or variant instead of using n.
  • Save-path handlingMoves or copies the selected output into the project workspace.
  • Prompt shapingStructures user prompts into a production-oriented spec without adding unrequested content.

What you need

  • Built-in image_gen tool available for the default mode
  • OPENAI_API_KEY for the CLI fallback mode

Try asking

  • Generate a transparent-background product icon of a coffee cup for my app.
  • Edit this photo to change the scene to sunset lighting and keep the subject.
  • Create three hero banner variants for my website and save them in the project.

Good to know

  • Built-in edits only work on images already visible in the conversation, so local files must be loaded with view_image first.
  • Built-in mode does not support arbitrary filesystem-path editing.
  • The CLI fallback requires OPENAI_API_KEY and is used only when the user asks for it.
  • The skill does not switch silently to gpt-image-1.5 and does not modify scripts/image_gen.py.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: Sources/RimeBuffer/Resources/Skills/imagegen/SKILL.md, Sources/RimeBuffer/Resources/Skills/imagegen/scripts/image_gen.py, Sources/RimeBuffer/Resources/Skills/imagegen/scripts/remove_chroma_key.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • LICENSE.txt11 KB
  • SKILL.md19 KB
  • agents/openai.yaml275 B
  • assets/imagegen-small.svg3 KB
  • assets/imagegen.png2 KB
Show all 12 files
  • references/cli.md9 KB
  • references/codex-network.md2 KB
  • references/image-api.md6 KB
  • references/prompting.md8 KB
  • references/sample-prompts.md17 KB
  • scripts/image_gen.py34 KB
  • scripts/remove_chroma_key.py14 KB

Alternatives to imagegen

All alternatives →

Compare with intelligence-vocabulary, media-use or media_library

imagegen: common questions

Does imagegen need an OpenAI API key?

The built-in image_gen path does not require OPENAI_API_KEY. The CLI fallback does.

When should I not use this skill?

Use SVG, HTML/CSS or canvas when the task is better handled as vector or code-native output, such as extending an existing icon or logo system.

Where are generated images saved?

In built-in mode, images are saved under $CODEX_HOME by default. Images used by a project must be copied into the workspace.

How do I install imagegen?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is imagegen free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is imagegen safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to imagegen?

Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.

imagegen Install

Add to stack

Loading.