image-gen

image-gen is a skill for Claude Code, Codex from marswaveai/skills. It costs 51 tokens per session (2,503 once invoked), scanned A, original, MIT.

A skill for creating AI-generated images from written prompts, such as illustrations, cover images, and concept art.

In plain words
What is it for?
Use it when a project needs a new illustration, cover, or other generated visual based on text and optional reference images.
Why use it?
It gives developers a defined way to turn a visual description into a local image file, including checks for authentication and configuration.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: names the AskUserQuestion tool; built for openclaw.

not rated 78repo 14d ago A scan Socket: warnSnyk: warnSkillSpector: warn 51 tokens original MIT

Good fit Use it when a project needs a new illustration, cover, or other generated visual based on text and optional reference images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marswaveai/skills/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 marswaveai/skills --skill image-gen
Clone the repo
git clone --depth 1 https://github.com/marswaveai/skills

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/marswaveai/skills/image-gen.svg)](https://agentmods.dev/skills/marswaveai/skills/image-gen)
Your own site
<a href="https://agentmods.dev/skills/marswaveai/skills/image-gen"><img src="https://agentmods.dev/badge/skills/marswaveai/skills/image-gen.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,503 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. Third-party audits
  • Socket warn 9 Apr 2026
  • Snyk warn 9 Apr 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 46
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00051 $0.02503
Opus 5 $0.00026 $0.01252
Sonnet 5 $0.00010 $0.00501
Haiku 4.5 $0.00005 $0.00250

Measured 8d ago against content hash a6cbdbb5bcc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d ago.

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.

image-gen/SKILL.md · 327 lines

How it starts

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

When to Use

  • User wants to generate an AI image from a text description
  • User says "generate image", "draw", "create picture", "配图"
  • User says "生成图片", "画一张", "AI图"
  • User needs a cover image, illustration, or concept art

When NOT to Use

  • User wants to create audio content (use /podcast, /speech)
  • User wants to create a video (use /explainer)
  • User wants to edit an existing image (not supported)
  • User wants to extract content from a URL (use /content-parser)

Purpose

Generate AI images using the ListenHub CLI. Supports text prompts with optional reference images (local files or URLs), multiple resolutions, and aspect ratios. Images are saved as local files.

Hard Constraints

  • Always check CLI auth following shared/cli-authentication.md
  • Follow shared/cli-patterns.md for command execution and error handling
  • Always read config following shared/config-pattern.md before any interaction
  • Output saved to .listenhub/image-gen/YYYY-MM-DD-{jobId}/ — never ~/Downloads/

Step -1: CLI Auth Check

Follow shared/cli-authentication.md § Auth Check. If CLI is not installed or not logged in, auto-install and auto-login — never ask the user to run commands manually.

Then follow shared/cli-authentication.md § Auth Mode Detection to determine AUTH_MODE and set:

if [ "$AUTH_MODE" = "openapi" ]; then
  CMD_PREFIX="listenhub openapi image"
else
  CMD_PREFIX="listenhub image"
fi

All subsequent CLI calls use $CMD_PREFIX instead of hardcoded listenhub image.

Step 0: Config Setup

Follow shared/config-pattern.md Step 0 (Zero-Question Boot).

Read the full file on GitHub · 327 lines

Files

What ships with it

2 files 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. 8d ago First seen · 327 lines · 51 tokens per session scan A a6cbdbb5bcc7

Subscribe to this mod's changes

image-gen is a skill published in the GitHub repository marswaveai/skills (78 stars, last pushed 14d ago), licensed MIT. It adds 51 tokens to every session and 2,503 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

brainstorming

A brainstorming workflow for turning an idea into an agreed design before implementation. It requires exploring the project, asking clarifying questions, comparing options, documenting the design, and getting user approval.

jnMetaCode/superpowers-zh · 40 tokens

template-pitch-deck

Pitch-deck generation exemplar — short/medium/long PDF+PPTX decks from one token-resolved, diligence-cited content source.

docxology/template · 35 tokens

awesome-content-graphics

Produces post graphics offline: a user-chosen set size (5, 25, 50, 100 or any number) of self-contained HTML/CSS variants rendered locally to PNG across a type-led family of statements, tinted-glyph canvases, display-scale number lockups and readable data figures, built from the supplied facts and the user's own look…

khasky/awesome-agent-skills · 222 tokens

neoyngpt-video-to-code

Use when the user pastes a YouTube URL, attaches a screen recording or .mp4/.webm/.mov, or asks about on-screen UI, motion, layout, color, mascots, widgets, or visual bugs captions cannot answer. Also use when they type /neoyngpt-video-to-code. Do not use for transcript-only summaries.

saurav-shakya/NeoynGPT-video-to-code · 80 tokens

codex-image-gen

Generate raster images (icons, illustrations, textures, app icons) from a text prompt by driving the Codex CLI's image tool, then extracting the finished PNG from the Codex session rollout. Use when an agent needs a real generated image and has no native image-generation tool. Requires the codex CLI, logged in.

shipshitdev/skills · 72 tokens

deck-outline

This skill should be used when the user asks to "outline a deck on X," "what's the storyline for this deck," "build a slide-by-slide outline," or needs a presentation structured before any actual slide design happens.

daddia/claude-for-strategy · 49 tokens