image-gen

image-gen is a skill for Claude Code, Codex from jimezsa/opencolab. It costs 53 tokens per session (2,204 once invoked), scanned A, original, MIT.

An image-generation and image-editing tool guide that uses Google Gemini or OpenAI image models. It can work from text prompts and optional reference images.

In plain words
What is it for?
Use it for paper diagrams, cleaned-up figures, annotated illustrations, posters, covers, product images, and edits that preserve important parts of an existing image. It also supports animated GIF or SVG output through the stated OpenAI models.
Why use it?
It gives a defined way to create or revise visual assets while choosing the configured image model. It is intended for free-form images rather than deterministic block diagrams.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it for paper diagrams, cleaned-up figures, annotated illustrations, posters, covers, product images, and edits that preserve important parts of an existing image. It also supports animated GIF or SVG output through the stated OpenAI models.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jimezsa/opencolab/image-gen
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jimezsa/opencolab --skill image-gen
Clone the repo
git clone --depth 1 https://github.com/jimezsa/opencolab

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for image-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/jimezsa/opencolab/image-gen/github.svg)](https://agentmods.dev/skills/jimezsa/opencolab/image-gen)
Your own site
<a href="https://agentmods.dev/skills/jimezsa/opencolab/image-gen"><img src="https://agentmods.dev/badge/skills/jimezsa/opencolab/image-gen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for image-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/jimezsa/opencolab/image-gen"><img src="https://agentmods.dev/badge/skills/jimezsa/opencolab/image-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,204 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.02204
Opus 5.5 $0.00021 $0.00882
Sonnet 5.5 $0.00011 $0.00441
Haiku 4.5 $0.00005 $0.00220

Measured 3d ago against content hash 8abe7d43597f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

image-gen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/image_gen.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

projects/SKILLS/image-gen/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Image Generation Skill

Use this skill when the user wants image generation or image editing, especially for:

  • paper architecture diagrams,
  • figure redraws and cleanups,
  • annotated illustrations,
  • posters, covers, assets, and product shots,
  • edits to an existing image while preserving the important parts,
  • animated GIFs or SVG vector output (OpenAI models only).

For deterministic block diagrams, prefer the block-diagram skill; use this skill when free-form rendering is what the user wants.

Models

The model comes from IMAGE_GEN_MODEL in .env.local, which the user picks in opencolab ignite. If it is not set, the default is gemini-nano-banana-2.1. Only pass --model when the user asks for a specific model or a cheaper/faster run.

Model Provider Key Use it for
gemini-nano-banana-2.1 Gemini GEMINI_API_KEY Default. Newest Nano Banana: strong text rendering, multi-turn consistency, 1K/2K/4K, Google Search grounding.
gemini-3-pro-image Gemini GEMINI_API_KEY Nano Banana Pro: complex instructions and high-fidelity assets.
gemini-3.1-flash-lite-image Gemini GEMINI_API_KEY Fastest and cheapest Gemini drafts.
gpt-image-2.6-sunburst OpenAI OPENAI_API_KEY Newest ChatGPT image model, quality tier: detailed work, edit consistency, SVG export, animated GIFs.
gpt-image-2.6-flare OpenAI OPENAI_API_KEY Newest ChatGPT image model, fast tier for quick iteration.

The script picks the provider from the model name: gpt-image-* and chatgpt-image-* call OpenAI, everything else calls Gemini.

Mission

Given a prompt and zero or more reference images:

  1. Generate a new image or edit an existing one with the configured model.
  2. Save every returned image locally.
  3. Save any accompanying model text next to the image outputs.
  4. Keep the workflow deterministic and scriptable from the terminal.

Prerequisites

  • python3 is installed and available in PATH.
  • The SDK for the selected provider is installed:

Read the full file on GitHub · 182 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 182 lines · 53 tokens per session scan A 8abe7d43597f

Subscribe to this mod's changes

image-gen is a skill published in the GitHub repository jimezsa/opencolab (11 stars, last pushed 4d ago), licensed MIT. It adds 53 tokens to every session and 2,204 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.

Related

image-gen compared with skills from other repositories

image-gen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
image-genjimezsa/opencolabSkill114d agoMITA53Claude Code, Codex
identify-inventive-contradictionyogsoth-ai/de-anthropocentric-research-engineSkill5411mo agoApache-2.0A28Claude Code, Codex
abstraction-to-designyogsoth-ai/de-anthropocentric-research-engineSkill5411mo agoApache-2.0A18Claude Code, Codex
jeffy-designjeffy-Peng/jeffy-skillsSkill212d agoMITA78Claude Code, Codex
algolia-autocompletealgolia/skillsSkill125d agoMITA185Claude Code, Codex
algolia-instantsearch-uialgolia/skillsSkill125d agoMITA198Claude Code, Codex
cortex-designmocaOS/cortex-appSkill71mo agoApache-2.0A50Claude Code