Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Design & media
Image Gen
Try itGenerate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparen...
What it does
Use this skill when the user needs a bitmap image rather than repo-native code, SVG, HTML, CSS, canvas, or an existing vector/icon system.
The skill document
Image Generation Skill
Use this skill when the user needs a bitmap image rather than repo-native code, SVG, HTML, CSS, canvas, or an existing vector/icon system.
This public ClawHub release is instruction-only. It does not bundle executable API helpers, dependencies, or generated assets. In Codex sessions, use the available built-in image generation or image editing tool. In other agent hosts, use the host's approved image-generation capability and keep the same prompting and verification standards.
When To Use
- Generate a new raster image: product shot, hero image, concept art, cover, sprite, texture, UI mockup, infographic, or educational visual.
- Edit an existing image while preserving important invariants such as identity, product shape, text, lighting direction, or composition.
- Derive visual variants from supplied reference images.
- Produce multiple related bitmap assets when each output has a distinct prompt or role.
When Not To Use
- The requested asset should be an SVG, icon font, HTML/CSS composition, canvas graphic, or repo-native component.
- The repo already has an editable vector/logo/icon system that should be extended directly.
- The user asks for deterministic code-native output rather than generated imagery.
Workflow
- Decide intent:
generatefor a new image,editfor changing an existing image while preserving parts of it. - Decide whether the image is preview-only or project-bound.
- Label every input image by role: edit target, reference image, style source, insert, or supporting context.
- Normalize the prompt into a compact production spec. Preserve user constraints and avoid adding unrelated characters, brands, slogans, or story elements.
- Use the host-provided image generation/editing tool. For distinct assets, make separate tool calls or jobs rather than relying on variants of one prompt.
- Inspect the output for subject accuracy, composition, text rendering, style fit, prohibited content, and requested invariants.
- Iterate with one targeted change when needed.
- For project-bound assets, place the selected final artifact in the workspace and update consuming references. Never leave a project-referenced final image only in a host default output directory.
- Report final saved path(s), whether the output is preview-only or project-bound, and the final prompt used.
Transparent Or Cutout Requests
For simple opaque subjects, request a flat removable chroma-key background and remove it locally with an approved project or host helper if available.
Prompt the source image like this:
Create the requested subject on a perfectly flat solid #00ff00 chroma-key background for background removal.
The background must be one uniform color with no shadows, gradients, texture, reflections, floor plane, or lighting variation.
Keep the subject fully separated from the background with crisp edges and generous padding.
Do not use #00ff00 anywhere in the subject.
No cast shadow, no contact shadow, no reflection, no watermark, and no text unless explicitly requested.
Use a different key color when green appears in the subject. If the subject has hair, smoke, glass, translucent material, soft shadow, reflection, or colors that conflict with practical key colors, explain that true native transparency or manual editing may be required before proceeding.
Prompt Schema
Use only the lines that help the request:
Use case:
Asset type:
Primary request:
Input images:
Scene/backdrop:
Subject:
Style/medium:
Composition/framing:
Lighting/mood:
Color palette:
Materials/textures:
Text (verbatim): ""
Constraints:
Avoid:
Use-Case Slugs
Generation:
photorealistic-naturalproduct-mockupui-mockupinfographic-diagramscientific-educationalads-marketingproductivity-visuallogo-brandillustration-storystylized-concepthistorical-scene
Editing:
text-localizationidentity-preserveprecise-object-editlighting-weatherbackground-extractionstyle-transfercompositingsketch-to-render
Prompting Rules
- Start with the visual job and intended use.
- Specify subject, scene, style, composition, lighting, and constraints.
- Quote exact text and keep it short; generated text can still need correction.
- For edits, repeat invariants plainly: what must change and what must stay unchanged.
- For reference images, state exactly how each reference should influence the output.
- Avoid fake UI evidence, fake policy proof, fake screenshots, endorsements, or brand marks unless the user has rights and asks for them.
- Prefer real product screenshots or rendered app state where users or reviewers need factual evidence.
Reference Map
references/prompting.md: shared prompting principles.references/sample-prompts.md: copy/paste prompt recipes by asset type.
Related skills
Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Write, debug, and tune Playwright specs with locator strategy, trace diagnosis, and CI-aware timeouts.
More from zack-dev-cm
Browse all skillsOpenClaw CWS Publisher is a public ClawHub Chrome Web Store publisher skill. Use it when the user says "chrome web store publisher", "extension release publi...
SOTA Agent is a public ClawHub SOTA-campaign skill for CV and DS work. Use it when the user says "sota agent", "state of the art benchmark scouting", or want...
Use when studying or normalizing Chinese lesson transcript/subtitle inputs with bundled public lesson data, learner docs, local export bundles, and pilot-fir...
OpenClaw YouTube Publisher is a public ClawHub YouTube publishing skill. Use it when the user says "youtube creator ops", "youtube publisher", "YouTube Studi...
Build source-backed research claim ledgers from drafts, literature matrices, notes, citation lists, PDFs, source packets, or reviewer comments. Use when the...
Install, wire, audit, and harden AgentMemory for AI coding agents and project workspaces. Use when Codex needs to adopt rohitg00/agentmemory, configure Codex...