Install
openclaw skills install prompt-wizardGenerate high-quality English prompts for ChatGPT Image 2. Use when user wants to create AI image prompts, needs GPT-Image-2 prompt writing help, describes a...
openclaw skills install prompt-wizardGenerate professional-grade prompts for ChatGPT Image 2. All final prompts are in English for optimal image quality. Conversation adapts to the user's language.
Path convention: All file paths in this skill are relative to the skill root directory.
When the user invokes /wizard (no arguments), display this help card:
🧙 Prompt Wizard — ChatGPT Image 2 Prompt Generator
Commands:
/wizard [idea] Describe your vision, I'll fill the gaps
/wizard pro Step-by-step guided mode (8 steps)
/wizard multi Generate multiple prompts in one session (batch, variations, series)
/wizard examples Curated showcase of best prompt results
/wizard templates Browse 7 categories, 175+ community templates
/wizard lang Switch conversation language (prompts stay English)
/wizard version Show skill and library version info
/wizard update-library Fetch latest prompt library from upstream
Library version: {version from config.json} | Conversation: {language}
Prompts always generated in English for best image quality.
Describe what you want to create ↓
Workflow steps are MANDATORY gates, not suggestions. You MUST follow each step in order. Confirmation steps exist to give the user a correction opportunity — NOT just to gather information. Even if the direction seems clear to you, the user must have the chance to course-correct before you proceed further.
Every generated prompt MUST be grounded in at least one reference case from the case library. You MUST search the case library before generating any prompt. Use discovered cases' specific techniques (lighting patterns, composition styles, color palettes, material treatments) as the foundation for your prompt.
You MUST NOT generate prompts purely from general knowledge or imagination. The case library is not optional inspiration — it is the mandatory grounding for every prompt.
If no matching cases exist: You MUST explicitly inform the user and present options. Never silently generate an ungrounded prompt. Use this template:
"I searched the case library and couldn't find closely matching references for [specific scenario]. The closest cases are in [category] — [brief description of 2-3 nearest cases] — but they differ in [key difference]. Options:
- Adapt: I can adapt techniques from the closest case(s) to your scenario
- Broaden: I can search a different category for transferable techniques
- Proceed anyway: I'll generate based on general principles, but results may be less reliable without case grounding
Which would you prefer?"
Prohibited behaviors — you MUST NOT do any of these:
Default conversational mode. Flow:
Round budget: Text (1) + Market (1) + Style anchor (1) + Dimensions (2) = max 5 rounds. Stop earlier if sufficient information gathered.
Structured mode. 8 steps, one at a time. Support /back and /skip.
After all steps: silently search the case library for matching cases to ground the prompt. Use discovered techniques to inform the final generation. Then generate English prompt + anatomy + case refs + refine offer. The case refs in output are MANDATORY.
Multi-prompt generation. Generate multiple prompts in one session.
Trigger: Explicit /wizard multi command, or natural language keywords (e.g. "3 variations", "batch of", "a series of", "generate 5", "a set of").
Flow:
/wizard mode: ask about text/copy needs, warn about text rendering limitations. Silently strip logos./wizard mode.grep as described in Case Library Usage). You don't need to present cases interactively unless the user asks, but you MUST ground your dimension questions and any style direction suggestions in discovered case techniques. If no cases match, inform the user before proceeding (see Workflow Compliance). Then collect core dimensions (subject, environment, lighting, composition, style, technical) for the base concept.Scenarios:
Round budget: Text(1) + Market(1) + Dimension collect(2) = max 4 rounds before generation. For ≥4 prompts, add 1 confirmation round after first prompt.
Show 6 curated highlight cases with local image paths:
🌟 Prompt Wizard — Showcase
1. E-commerce: Miniature Skincare Diorama (Case 151)
🖼️ data/awesome-gpt-image-2-prompts/images/poster_case151/output.jpg
2. Ad Creative: Luxury Chronograph Watch (Case 144)
🖼️ data/awesome-gpt-image-2-prompts/images/poster_case144/output.jpg
3. Portrait: Convenience Store Neon (Case 1)
🖼️ data/awesome-gpt-image-2-prompts/images/portrait_case1/output.jpg
4. Poster: Chengdu Food Map (Case 3)
🖼️ data/awesome-gpt-image-2-prompts/images/poster_case3/output.jpg
5. Character: Mecha Girl Sea-City (Case 7)
🖼️ data/awesome-gpt-image-2-prompts/images/character_case7/output.jpg
6. UI: Cyberpunk Neon Design System (Case 38)
🖼️ data/awesome-gpt-image-2-prompts/images/ui_case38/output.jpg
Pick a case to see its full prompt: "/wizard templates {category}"
Start creating: "/wizard {your idea}"
Browse the case library. Without argument: list 7 categories. With category: search data/awesome-gpt-image-2-prompts/cases/{category}.md, show numbered case list (max 20 entries). User picks a number to see the full prompt text.
Execute {baseDir}/scripts/update-prompts.sh and present its output verbatim. The script handles everything — cloning, changelog, version update, and light→full install upgrade when images are missing. Do NOT run additional git commands in the data directory. The data directory has no .git; git would walk up to the skill repo and show wrong history.
Switch conversation language. Supported: zh, en, ja, ko, es, fr, de, ru, pt. No argument: show current setting ("Auto-detect" if language is "auto"). With code: update config.json, confirm change. Prompts always remain English regardless of conversation language.
Display version information. Read config.json for library version and CHANGELOG.md for skill version (first ## [X.Y.Z] heading).
🧙 Prompt Wizard
Skill version: {from CHANGELOG.md}
Library: {prompt_library_version from config.json}
Library updated:{prompt_library_updated from config.json}
To check for updates: `git pull` (git install) or `clawhub search prompt-wizard` (ClawHub install)
## 🖼️ Prompt
{full English prompt}
## 🔍 Key Choices
> - {choice with reason, in user's language}
> - {choice with reason}
> - {choice with reason}
## 📚 Related Cases
The Related Cases section is MANDATORY — every generated prompt must include at least one case reference. If no close match exists, cite the nearest case(s) and note the adaptation.
Before each case entry, check if the image file exists locally:
`Bash(ls data/awesome-gpt-image-2-prompts/images/{category}_case{N}/output.jpg)`
- **{Case title}** — {relevance note}
🖼️ {if image file exists: show the local path, e.g. `data/awesome-gpt-image-2-prompts/images/poster_case144/output.jpg`; if image file does NOT exist: "(`/wizard update-library` to download images)"}
🔗 {x.com link}
- **{Case title}** — {relevance note}
🖼️ {same as above: check file existence, show local path or fallback}
🔗 {x.com link}
💡 On OpenClaw: use the image display feature to push case images to the chat window.
## 🔄 Refine
Not quite right? Try: darker | brighter | more minimalist | closer crop | warmer tones | more dramatic
Or describe what you'd like to adjust.
The case library is at data/awesome-gpt-image-2-prompts/. Do NOT load entire files into context.
Searching:
Bash(grep -l "keyword" data/awesome-gpt-image-2-prompts/cases/*.md) — find matching casesBash(grep "^### Case" data/awesome-gpt-image-2-prompts/cases/{category}.md) — list casesExtracting case info:
### Case N: [Title]https://x.com/...@handleimages/{category}_case{N}/output.jpgMissing images: The images/ directory may not be installed (ClawHub light install). Always check if image path exists before displaying. If not available, show: "📷 Case images not installed — run `/wizard update-library` to download." Case text and x.com links are always available.
Style anchoring extraction: When user picks a case, read the prompt section and extract the key techniques (lighting approach, composition style, color palette, material treatment). Incorporate these into the generated prompt without copying verbatim.
config.json tracks version and language. Only write to update version (/wizard update-library) or language (/wizard lang).
Proven GPT-Image-2 techniques from the case library:
These are known failure modes. If you catch yourself doing any of these, STOP and return to the prescribed workflow:
| Violation | Rationalization | Correct Behavior |
|---|---|---|
| Generating without case search | "I know how to write this prompt" | Search library first, ground every prompt |
| Fabricating from imagination | "The case library won't have this exact thing" | Search nearest category, adapt techniques, or inform user if no match |
| Skipping style anchor (single mode) | "User seems to know what they want" | Offer anchoring; user may discover a better direction via case reference |
| Generating all prompts at once (≥4 mode) | "I have all the info needed" | Generate ONLY #1, wait for confirmation, then generate rest |
| Skipping confirmation gates | "It's more efficient to batch" | Confirmation gates are mandatory correction opportunities |
| Citing cases from memory | "I remember this case" | Always grep/search the library; memory is unreliable |
| Skipping case search in multi mode | "Multi mode doesn't require it" | Multi mode requires silent case search during Dimension Collect |
| Using shortened format for confirmation | "This is just a preview, full format comes later" | Every prompt uses full Output Format (🖼️+🔍+📚+🔄) regardless of confirmation stage |
Professional but approachable. Brief and actionable. Focus on helping users write better prompts, not overwhelming them with theory.