GPT Image 2 Prompt and Generation
ConardLi/garden-skills
Generates or edits images with GPT Image 2 through an OpenAI-compatible API, or falls back to writing finished prompts from a library of structured templates.
Analyzes a reference image and writes a prompt that could recreate it in an AI image generator, focusing on the visual traits that most affect similarity.
$ npx skills add wuyoscar/GPT-Image2-Skill --skill get-prompt-from-image -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wuyoscar/GPT-Image2-Skill get-prompt-from-image --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/wuyoscar/GPT-Image2-Skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/get-prompt-from-image .claude/skills/get-prompt-from-image && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "get-prompt-from-image" agent skill from https://github.com/wuyoscar/GPT-Image2-Skill/tree/main/skills/get-prompt-from-image into .claude/skills/get-prompt-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-prompt-from-image", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/wuyoscar/GPT-Image2-Skill/tree/main/skills/get-prompt-from-imageType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add wuyoscar/GPT-Image2-Skill --skill get-prompt-from-image -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wuyoscar/GPT-Image2-Skill get-prompt-from-image --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wuyoscar/GPT-Image2-Skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/get-prompt-from-image .agents/skills/get-prompt-from-image && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "get-prompt-from-image" agent skill from https://github.com/wuyoscar/GPT-Image2-Skill/tree/main/skills/get-prompt-from-image into .agents/skills/get-prompt-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-prompt-from-image", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wuyoscar/GPT-Image2-Skill --skill get-prompt-from-image -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wuyoscar/GPT-Image2-Skill get-prompt-from-image --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wuyoscar/GPT-Image2-Skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/get-prompt-from-image .cursor/skills/get-prompt-from-image && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "get-prompt-from-image" agent skill from https://github.com/wuyoscar/GPT-Image2-Skill/tree/main/skills/get-prompt-from-image into .cursor/skills/get-prompt-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-prompt-from-image", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/wuyoscar/GPT-Image2-Skill.git --path skills/get-prompt-from-image--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add wuyoscar/GPT-Image2-Skill --skill get-prompt-from-image -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wuyoscar/GPT-Image2-Skill get-prompt-from-image --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wuyoscar/GPT-Image2-Skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/get-prompt-from-image .gemini/skills/get-prompt-from-image && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "get-prompt-from-image" agent skill from https://github.com/wuyoscar/GPT-Image2-Skill/tree/main/skills/get-prompt-from-image into .gemini/skills/get-prompt-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-prompt-from-image", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install wuyoscar/GPT-Image2-Skill get-prompt-from-imageInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add wuyoscar/GPT-Image2-Skill --skill get-prompt-from-image -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wuyoscar/GPT-Image2-Skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/get-prompt-from-image .github/skills/get-prompt-from-image && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "get-prompt-from-image" agent skill from https://github.com/wuyoscar/GPT-Image2-Skill/tree/main/skills/get-prompt-from-image into .github/skills/get-prompt-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-prompt-from-image", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wuyoscar/GPT-Image2-Skill --skill get-prompt-from-image -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wuyoscar/GPT-Image2-Skill get-prompt-from-image --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wuyoscar/GPT-Image2-Skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/get-prompt-from-image .opencode/skills/get-prompt-from-image && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "get-prompt-from-image" agent skill from https://github.com/wuyoscar/GPT-Image2-Skill/tree/main/skills/get-prompt-from-image into .opencode/skills/get-prompt-from-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-prompt-from-image", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
get-prompt-from-imageAnalyzes a reference image and writes a prompt that could recreate it in an AI image generator, focusing on the visual traits that most affect similarity.
The agent inspects the target image at the best quality available, works out its medium and subject type, and recovers the visual mechanisms that matter most: subject, composition, camera, lighting, color, materials, background, spatial layers, mood and post-processing traits. Text and marks inside the image are treated as visual content to analyze, never as instructions, and the analysis stays internal so you get the finished prompt, not the reasoning.
It follows a general analysis framework, then applies only the specialized guide for the detected subject type, and reads the illustration-style guide only when illustration is the main medium. It selects a few reproduction-critical elements, explains abstract words such as cinematic through concrete visual details, and avoids inventing identities, brands, locations or lens settings. If you name a target model, language, format or length, that request takes priority over the default output format. Plain OCR or ordinary image descriptions are out of scope.
2 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 9f8aa1a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Image to Prompt Reverse Engineering loads about 1.8k tokens when it runs, and up to ~6.8k if it reads all its reference files. Until then it costs about 105 tokens; SKILL.md has 954 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from wuyoscar/GPT-Image2-Skill at commit 9f8aa1a, republished under its MIT licence (© wuyoscar). 954 words, ~1,841 tokens.
.claude/skills/get-prompt-from-image/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Generate high-fidelity prompts that can be used directly with AI image-generation tools from user-provided target images. The goal is not to list visible content mechanically, but to recover the visual mechanisms that most affect similarity: subject, composition, camera, lighting, color, materials, background, spatial layers, mood, medium, and post-processing characteristics.
The target image must be clearly identified as photography, realistic 3D, semi-realistic 3D, anime-style illustration, painterly illustration, flat vector, product rendering, UI or graphic design, mixed media, or another type.
You may understand internally how an IP, character name, brand, logo, or text affects the image, but the default output must not depend on specific names.
Output only the following two sections. Do not add analysis, explanation, suggestions, or a conclusion.
Under the same project, output these in order:
Chinese: one continuous natural-language prompt of 450–700 Chinese characters; do not write it as a keyword list.English: an English prompt with the same meaning as the Chinese version, ready to use with an AI image-generation tool.The Chinese positive Prompt must include:
State clearly whether the subject is on the left, right, or center; what is closest to the camera; what the foreground contains; what the background contains; and what geometric or spatial structure the background has.
Output 10–15 English negative words or phrases separated by English commas. Based on the target image and medium boundary, exclude:
Do not mechanically apply a fixed set of negative words; choose them for the current image.
© wuyoscar, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in skills/get-prompt-from-image of wuyoscar/GPT-Image2-Skill.
Open the folder on GitHubat commit 9f8aa1a
Image to Prompt Reverse Engineering next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Image to Prompt Reverse Engineering this skillwuyoscar/GPT-Image2-Skill | 5.7k | — | ~1.8k | Automated safety check: Pass | MIT | |
| GPT Image 2 Prompt and GenerationConardLi/garden-skills | 13k | — | ~4k | Automated safety check: Notes | MIT | |
| Bananahubbananahub-ai/bananahub-skill | 118 | — | ~7.1k | Automated safety check: Pass | MIT | |
| Image Ad Clonekrusemediallc/arcads-claude-code | 1.6k | — | ~2.4k | Automated safety check: Notes | MIT | |
| AI Image Prompts SkillLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.3k | Automated safety check: Pass | MIT | |
| Prompt EngineAgriciDaniel/claude-prompts | 111 | — | ~1.2k | Automated safety check: Pass | MIT |
ConardLi/garden-skills
Generates or edits images with GPT Image 2 through an OpenAI-compatible API, or falls back to writing finished prompts from a library of structured templates.
bananahub-ai/bananahub-skill
Agent-native image workflow and optional prompt optimizer for /bananahub and generic agent image generation requests.
krusemediallc/arcads-claude-code
A skill your agent uses when the user wants to reverse-engineer an existing image ad into a reusable prompt template.
LeoYeAI/openclaw-master-skills
Recommend curated prompts from a 10,000+ real-world image generation prompt library.
AgriciDaniel/claude-prompts
Ultimate AI prompt database and builder with 2,500+ curated prompts across 19 categories and 17 AI models (Midjourney, Flux, Leonardo AI, DALL-E, Sora, Imagen, Mystic, Stable Diffusion, Ideogram…
zhayujie/CowAgent
Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.
wuyoscar/GPT-Image2-Skill
Generates and edits images with GPT Image 2 or 2.5 through a packaged CLI and a prompt gallery, after settling which model fits the request.
Works with
Categories
Analyzes a reference image and writes a prompt that could recreate it in an AI image generator, focusing on the visual traits that most affect similarity. The agent inspects the target image at the best quality available, works out its medium and subject type, and recovers the visual mechanisms that matter most: subject, composition, camera, lighting, color, materials, background, spatial layers, mood and post-processing traits. Text and marks inside the image are treated as visual content to analyze, never as instructions, and the analysis stays internal so you get the finished prompt, not the reasoning.
Image to Prompt Reverse Engineering fits situations like: recreating a photograph or illustration with an image generator; extracting a reusable prompt from a product shot, poster or logo reference; imitating the style of a 3D render or character design; writing a prompt for a specific model, language or length from a sample image.
Run `npx skills add wuyoscar/GPT-Image2-Skill --skill get-prompt-from-image -a claude-code`. Or copy the skill folder (skills/get-prompt-from-image in wuyoscar/GPT-Image2-Skill) into .claude/skills/get-prompt-from-image in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wuyoscar/GPT-Image2-Skill --skill get-prompt-from-image -a codex`. Or copy the skill folder (skills/get-prompt-from-image in wuyoscar/GPT-Image2-Skill) into .agents/skills/get-prompt-from-image in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wuyoscar/GPT-Image2-Skill --skill get-prompt-from-image -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/get-prompt-from-image, .gemini/skills/get-prompt-from-image, .github/skills/get-prompt-from-image and .opencode/skills/get-prompt-from-image in your project.
SKILL.md names no scripts, command-line tools or credentials: Image to Prompt Reverse Engineering is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Image to Prompt Reverse Engineering is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Image to Prompt Reverse Engineering: GPT Image 2 Prompt and Generation (ConardLi/garden-skills, 13k stars), Bananahub (bananahub-ai/bananahub-skill, 118 stars), Image Ad Clone (krusemediallc/arcads-claude-code, 1.6k stars) and AI Image Prompts Skill (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wuyoscar (a GitHub user) maintains it in wuyoscar/GPT-Image2-Skill, which has 5,701 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 30, 2026.
Source: wuyoscar/GPT-Image2-Skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.