G
gpt-image-2-style-library
About gpt-image-2-style-library
A Codex skill that converts image-generation requests into structured GPT-Image2 prompts, using the awesome-gpt-image-2 style library to select templates and visual references.
Key features
- 01Style-library template matching
- 02Visual and scene tag selection
- 03Structured prompt generation
- 04Template and case ID references
Use cases
- 01Creating a poster or infographic prompt
- 02Developing image prompts for products or UI
- 03Comparing suitable styles before prompt generation
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ freestylefly/ awesome-gpt-image-2 --skill gpt-image-2-style-libraryAfter installing, type/gpt-image-2-style-libraryin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
package.jsonagents/openai.yamlbin/install.mjsreferences/style-library.mdDetails
From the project READMEGPT-Image2 Style Library
Use this skill to turn a user's image-generation intent into a production-ready GPT-Image2 prompt using the awesome-gpt-image-2 style library.
Example Output

Example request: 用 gpt-image-2-style-library 技能生成城市生命系统图谱
Reference
- Read
references/style-library.mdbefore choosing a template or style. - The reference is generated from
data/style-library.jsonin the repository. - Prefer the reference over memory when template names, categories, covers, or style tags matter.
Workflow
- Detect the user's language and answer in that language.
- Identify the user's target output: product, poster, UI, infographic, brand, photo, illustration, character, scene, history, document, or special task.
- Match the request in this order: template category, visual style tag, scene tag, then nearest example cases.
- If one template is clearly strongest, use it directly. If several are plausible, present 2-3 options with short reasons and ask the user to choose.
- Build the final prompt with these blocks:
- subject and task
- composition and layout
- visual style and materials
- text and label requirements
- aspect ratio and output format
- constraints and negative details
- Include the selected template name and any useful example case IDs.
Output Defaults
- Provide a copyable prompt first.
- Keep constraints concrete: exact text, aspect ratio, readable labels, layout hierarchy, and avoided artifacts.
- For Chinese requests, write the final prompt in Chinese unless the user asks for English.
- For English requests, write the final prompt in English unless the user asks for Chinese.
- When the user asks for multiple concepts, reuse one template and vary subject, composition, palette, and scene.
Maintenance
When the source repository changes, run:
npm run generate:style-skill
To install the skill into the local Codex skill folder, run:
npm run install:skill
Comments
Markdown supported