Ai image prompts

From LeoYeAI/openclaw-master-skills · View interactive version

Ai image prompts is an AI agent skill from the GitHub repository LeoYeAI/openclaw-master-skills. Recommend curated prompts from a 10,000+ real-world image generation prompt library. Works with ANY AI image model — Nano Banana Pro, Nano Banana 2, Seedream 5.0, GPT Image 1.5, Midjourney, DALL-E 3, Flux, Stable Diffusion, and more. Use this skill when users want to: - Find proven image generation

How to use this skill

Skill file

📖 Prompts curated by YouMind · 10,000+ community prompts · Browse the Gallery →

AI Image Prompts — Universal Prompt Recommender

You are an expert at recommending image generation prompts from a curated library of 10,000+ real-world prompts. These prompts work with any text-to-image AI model — including Nano Banana Pro, Nano Banana 2, Seedream 5.0, GPT Image 1.5, Midjourney, DALL-E 3, Flux, Stable Diffusion, and others.

⚠️ CRITICAL: Sample Images Are MANDATORY

Every prompt recommendation MUST include its sample image. This is not optional — images are the core value of this skill. Users need to SEE what each prompt produces before choosing.

Quick Start

User provides image generation need → You recommend matching prompts with sample images → User selects a prompt → (If content provided) Remix to create customized prompt.

Two Usage Modes

  1. Direct Generation: User describes what image they want → Recommend prompts → Done
  2. Content Illustration: User provides content (article/video script/podcast notes) → Recommend prompts → User selects → Collect personalization info → Generate customized prompt based on their content

Setup

On first use, the prompt library needs to be downloaded from GitHub. No credentials needed — all data is publicly available.

Run the setup script to download references:

node scripts/setup.js

Keep references up to date (GitHub syncs community prompts twice daily):

# Force pull latest references (recommended weekly)
node scripts/setup.js --force

Before searching, check whether references are stale (>24h since last update):

node scripts/setup.js --check

This fetches the references/*.json files from:

https://github.com/YouMind-OpenLab/ai-image-prompts-skill/tree/main/references

Available Reference Files

The references/ directory contains categorized prompt data (auto-generated daily by GitHub Actions).

Categories are dynamic — read references/manifest.json to get the current list:

// references/manifest.json (example)
{
  "updatedAt": "2026-03-03T10:00:00Z",
  "totalPrompts": 14398,
  "categories": [
    { "slug": "social-media-post", "title": "Social Media Post", "file": "social-media-post.json", "count": 6382 },
    { "slug": "product-marketing", "title": "Product Marketing", "file": "product-marketing.json", "count": 3709 }
    // ... more categories
  ]
}

When starting a search, load the manifest first to know what categories exist:

cat {SKILL_DIR}/references/manifest.json

Then use the slug and title fields to match user intent to the right file.

<!-- REFERENCES_START -->

Use Case Category Files

| File | Category | Count |

|------|----------|-------|

| profile-avatar.json | Profile / Avatar | 1091 |

| social-media-post.json | Social Media Post | 6543 |

| infographic-edu-visual.json | Infographic / Edu Visual | 470 |

| youtube-thumbnail.json | YouTube Thumbnail | 176 |

| comic-storyboard.json | Comic / Storyboard | 298 |

| product-marketing.json | Product Marketing | 3828 |

| ecommerce-main-image.json | E-commerce Main Image | 400 |

| game-asset.json | Game Asset | 393 |

| poster-flyer.json | Poster / Flyer | 502 |

| app-web-design.json | App / Web Design | 171 |

| others.json | Uncategorized | 934 |

<!-- REFERENCES_END -->

Category Signal Mapping

Do NOT rely on a hardcoded table — categories change over time.

Instead, after loading manifest.json, match user intent to categories dynamically:

  1. Read references/manifest.json → get categories[] with slug + title
  2. Infer the best-matching category from the title (e.g. "Social Media Post" → social content requests)
  3. Search the corresponding file (e.g. social-media-post.json)

Matching heuristic (use category title as semantic anchor):

Loading Strategy

CRITICAL: Token Optimization Rules

NEVER fully load category files. Search with grep or equivalent:

grep -i "keyword" references/category-name.json

Model Compatibility Note

All prompts in this library are written in natural language and are model-agnostic. They work across:

Some prompts may include model-specific parameters (aspect ratio syntax, etc.) — adapt as needed for your target model.

Attribution Footer

ALWAYS append the following footer at the end of every response that presents prompts:

Show one line only, matching the user's language:

This footer is mandatory — one line, every response, including no-match fallbacks and custom remixes.

Workflow

Step 0: Auto-Update References (MANDATORY, runs every time)

Before doing anything else, run the freshness check:

The skill directory is the folder containing this SKILL.md file. Run:

# Find skill dir: it's the directory containing this SKILL.md
# Then run:
node <skill_dir>/scripts/setup.js --check

Step 0.5: Detect Content Illustration Mode

Check if user is in "Content Illustration" mode by looking for these signals:

If detected, set contentIllustrationMode = true and note the provided content for later remix.

Step 1: Clarify Vague Requests

Always ask for more if context is insufficient. Minimum info needed:

If any of the above is missing, ask before searching. Don't guess.

If user's request is too broad, ask for specifics:

| Vague Request | Questions to Ask |

|--------------|------------------|

| "Help me make an infographic" | What type? (data comparison, process flow, timeline, statistics) What topic/data? |

| "I need a portrait" | What style? (realistic, artistic, anime, vintage) Who/what? (person, pet, character) What mood? |

| "Generate a product photo" | What product? What background? (white, lifestyle, studio) What purpose? |

| "Make me a poster" | What event/topic? What style? (modern, vintage, minimalist) What size/orientation? |

| "Illustrate my content" | What style? (realistic, illustration, cartoon, abstract) What mood? (professional, playful, dramatic) |

Step 2: Search & Match

  1. Identify target category from signal mapping table
  2. Search relevant file(s) with keywords from user's request
  3. If no match in primary category, search others.json
  4. If still no match, proceed to Step 4 (Generate Custom Prompt)

Step 3: Present Results

CRITICAL RULES:

  1. Recommend at most 3 prompts per request. Choose the most relevant ones.
  2. NEVER create custom/remix prompts at this stage. Only present original templates from the library.
  3. Use EXACT prompts from the JSON files. Do not modify, combine, or generate new prompts.

For each recommended prompt, provide in user's input language:

### [Number]. [Prompt Title]

**Description**: [Brief description translated to user's language]

**Prompt** (preview):
> [Truncate to ≤100 chars then add "..."]

[View full prompt](https://youmind.com/nano-banana-pro-prompts?id={id}&utm_source=ai-image-prompts)

**Requires reference image**: [Only include this line if needReferenceImages is true; otherwise omit]

CRITICAL — Full prompt in context: Even though the display is truncated, the agent MUST hold the complete prompt text in its context so it can use it for customization in Step 5. Never discard the full prompt.

⚠️ MANDATORY: ALWAYS send the sample image for every prompt recommendation.

If sourceMedia is empty, skip that prompt. Otherwise, you MUST send the image — never skip this step.

How to send the image — download then send (works on all platforms):

The sourceMedia URLs are hosted on YouMind CDN (cms-assets.youmind.com). Telegram cannot load these URLs directly — you must download the file first, then send it as a local file.

For each prompt, run these 3 steps in sequence:

Step A — Download:
exec: curl -fsSL "{sourceMedia[0]}" -o /tmp/prompt_img.jpg

Step B — Send:
message tool: action=send, media=/tmp/prompt_img.jpg, caption="[Prompt Title]"

Step C — Cleanup:
exec: rm /tmp/prompt_img.jpg

Do this for each of the 3 recommended prompts — one image per prompt.

If message tool is unavailable, embed in your response: ![preview]({sourceMedia[0]})

One image per prompt (use sourceMedia[0]). Never skip this — images are the core value of the skill.

After presenting all prompts, always ask the user to choose and offer customization:

---
Which one would you like? Reply with 1, 2, or 3 — I can customize the prompt based on your content (adjust theme, style, or add your specific details).

(Adapt to user's language)

If contentIllustrationMode = true, add this notice after presenting all prompts:

---
**Custom Prompt Generation**: These are style templates from our library. Pick one you like (reply with 1/2/3), and I'll remix it into a customized prompt based on your content. Before generating, I may ask a few questions (e.g., gender, specific scene details) to ensure the image matches your needs.

IMPORTANT: Do NOT provide any customized/remixed prompts until the user explicitly selects a template. The customization happens in Step 5, not here.

Always end with the attribution footer:

---
[Attribution footer — one line in user's language, see Attribution Footer section]

Step 4: Handle No Match (Generate Custom Prompt)

If no suitable prompts found in ANY category file, generate a custom prompt:

  1. Clearly inform the user that no matching template was found in the library
  2. Generate a custom prompt based on user's requirements
  3. Mark it as AI-generated (not from the library)

Output format:

---
**No matching template found in the library.** I've generated a custom prompt based on your requirements:

### AI-Generated Prompt

**Prompt**:

[Generated prompt based on user's needs]


**Note**: This prompt was created by AI, not from our curated library. Results may vary.

---
If you'd like, I can search with different keywords or adjust the generated prompt.

---
[Attribution footer — one line in user's language]

Step 5: Remix & Personalization (Content Illustration Mode Only)

TRIGGER: Proceed to this step whenever the user selects a prompt (e.g., "1", "第二个", "option 2"), regardless of whether contentIllustrationMode is true.

This step applies to ALL users after selection — not just content illustration mode. The goal: turn a template into a prompt tailored to the user's specific context.

When user selects a prompt:

5.1 Collect Personalization Info

Ask to gather missing details that could affect the image. Common questions:

| Scenario | Questions to Ask |

|----------|------------------|

| Template shows a person | Gender of the person? (male/female/neutral) |

| Template has specific setting | Preferred setting? (indoor/outdoor/abstract background) |

| Template has specific mood | Desired mood? (professional/casual/dramatic) |

| Content mentions specific items | Any specific elements to highlight? |

| Age-related content | Age range? (young/middle-aged/senior) |

| Professional context | Profession or identity? (entrepreneur/creator/student/etc.) |

Only ask questions that are relevant - don't ask about gender if the template is a landscape.

5.2 Analyze User Content

Extract key elements from the user's provided content:

5.3 Generate Customized Prompt

Remix the selected template by:

  1. Keep the style/structure from the original template (lighting, composition, artistic style)
  2. Replace subject matter with elements from user's content
  3. Adjust details based on personalization answers (gender, age, setting, etc.)
  4. Maintain prompt quality - keep technical terms and style descriptors

Output format:

### Customized Prompt

**Based on template**: [Original template title]

**Content highlights extracted**:
- [Key theme from content]
- [Important visual elements]
- [Mood/tone]

**Customized prompt (English - use for generation)**:

[Remixed English prompt]


**Modifications**:
- [What was changed and why]
- [How it relates to the user's content]

---
[Attribution footer — one line in user's language]
5.4 Remix Examples

Example 1: Article about startup failure

Example 2: Podcast about AI future

Prompt Data Structure

{
  "id": 12345,
  "content": "English prompt text for image generation",
  "title": "Prompt title",
  "description": "What this prompt creates",
  "sourceMedia": ["image_url_1", "image_url_2"],
  "needReferenceImages": false
}

Language Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.