name: "imagegen" description: "Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas."
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.
generate for a new image, edit for changing an existing
image while preserving parts of it.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.
Use only the lines that help the request:
Use case: <taxonomy slug>
Asset type: <where the image will be used>
Primary request: <user's main prompt>
Input images: <Image 1: role; Image 2: role>
Scene/backdrop: <environment>
Subject: <main subject>
Style/medium: <photo, illustration, 3D render, diagram, etc.>
Composition/framing: <wide, close, top-down, centered, negative space>
Lighting/mood: <lighting and mood>
Color palette: <palette notes>
Materials/textures: <surface details>
Text (verbatim): "<exact text>"
Constraints: <must keep or must avoid>
Avoid: <negative constraints>
Generation:
photorealistic-naturalproduct-mockup小葱技能7w4.net有更新,你可以访问看下。
ui-mockupinfographic-diagramscientific-educationalads-marketingproductivity-visuallogo-brandillustration-storystylized-concepthistorical-sceneEditing:
text-localizationidentity-preserveprecise-object-editlighting-weatherbackground-extractionstyle-transfercompositingsketch-to-renderreferences/prompting.md: shared prompting principles.references/sample-prompts.md: copy/paste prompt recipes by asset type.这个 Skill 质量不错,使用场景划分清晰,提供了22种不同的图像生成和编辑类型指导,示例丰富,风险提示充分。优点是分类明确、示例多样、覆盖透明背景处理等常见需求,开发者参考价值高。不足之处是对普通用户不太友好,文档偏向技术指导而非直观说明,缺少快速上手指南,且部分文档引用可能存在缺失。对于想快速生成图像的用户来说,需要一定学习成本才能有效使用。