New to Claude Skills? Learn how to install them →

freestylefly on GitHub

GPT-Image2 Style Library

Free

Transform image generation requests into precise prompts.

Get this skill

Free · Opens the source repo

What GPT-Image2 Style Library does

The GPT-Image2 Style Library skill is designed to streamline the process of creating effective prompts for image generation using GPT-Image2. It leverages a collection of visual styles and industrial prompt templates to help users articulate their image generation needs clearly and effectively. By utilizing this skill, users can ensure that their requests are well-structured and tailored to produce high-quality visual outputs.

When a user initiates a request, the skill first detects the language and identifies the desired output type, such as a product image, UI design, infographic, or illustration. It then matches the request against a library of templates, style tags, and scene tags, ensuring that the selected options align closely with the user's intent. If multiple templates are applicable, the skill presents a few choices with brief explanations, allowing the user to make an informed decision.

Once the user selects a template, the skill constructs a comprehensive prompt that includes various elements such as subject, composition, visual style, and specific constraints. This structured approach not only enhances the clarity of the request but also helps in avoiding common pitfalls associated with image generation. The skill is particularly useful for designers and developers who require consistent and high-quality visual content based on specific parameters.

In addition to its core functionality, the skill is easy to maintain and update. Users can regenerate the style skill whenever the source repository changes, ensuring they always have access to the latest templates and styles. This makes the GPT-Image2 Style Library an essential tool for anyone involved in image generation tasks, from creative professionals to technical teams looking to enhance their visual content workflows.

When to use it

Use this skill when you need to create specific prompts for image generation that require structured details and templates.

When not to use it

This skill may not be suitable for users looking for freeform or highly creative prompt generation without structured templates.

What you can build with it

Creating a Marketing Poster

Use the skill to generate a visually appealing marketing poster by selecting a suitable template and specifying design elements.

Designing a UI Mockup

Leverage the skill to create a detailed prompt for a UI mockup, ensuring all necessary components are included in the final output.

Generating Infographics

Utilize the skill to produce infographics by selecting templates that match the data presentation style you need.

How to install GPT-Image2 Style Library

View source

1. Install with the skills CLI

npx skills add freestylefly/awesome-gpt-image-2/gpt-image-2-style-library --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by freestylefly

GPT-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

City life system map example

Example request: 用 gpt-image-2-style-library 技能生成城市生命系统图谱

Reference

  • Read references/style-library.md before choosing a template or style.
  • The reference is generated from data/style-library.json in the repository.
  • Prefer the reference over memory when template names, categories, covers, or style tags matter.

Workflow

  1. Detect the user's language and answer in that language.
  2. Identify the user's target output: product, poster, UI, infographic, brand, photo, illustration, character, scene, history, document, or special task.
  3. Match the request in this order: template category, visual style tag, scene tag, then nearest example cases.
  4. 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.
  5. 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
  6. 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

Frequently asked questions about GPT-Image2 Style Library

Similar skills