Image Prompt Designer logo

Image Prompt Designer

Community
XuanRanL
image-prompt-designer

Build shared Art Direction Prefix + per-slot 9-field prompts for the article's image slots (brief.image_count, default 6, max 8 — scripts/_core/image_policy.py). Uses Strategy A (shared prefix; per-slot variation). Reads brand-identity, brand-config, format_id. Produces image-prompts.json for openai-image-generator. Stage 27b.

Overview

PublisherXuanRanL
Repositoryloamwright-SEO-Skill
Skill nameimage-prompt-designer
Stars
52
Forks
9
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by XuanRanL on GitHub. Read the source before you install it.

Installation

Install the Image Prompt Designer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/image/image-prompt-designer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill.git /tmp/loamwright-SEO-Skill
mkdir -p .claude/skills
cp -r /tmp/loamwright-SEO-Skill/subskills/image/image-prompt-designer .claude/skills/image-prompt-designer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Image Prompt Designer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Image Prompt Designer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Image Prompt Designer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Image Prompt Designer

Builds AI image prompts using Strategy A (shared Art Direction Prefix for visual consistency across the article's images — count from brief.image_count, default 6).

Inputs

  • workspace/{task_id}/image_slots.json
  • projects/{slug}/brand-identity.json (colors, founded, mission)
  • projects/{slug}/brand-config.json (voice_pair, industry, target_locale)
  • workspace/{task_id}/angle.json (format_id, hook)
  • references/image/style-presets.md — 12 visual styles
  • references/image/format-style-mapping.md — 24 format × style mapping
  • references/image/negative-prompts.md — universal + category negatives

Output

workspace/{task_id}/image-prompts.json — ⛔ prompts MUST be a JSON array of objects (each with a slot_id), NEVER an object keyed by slot_id. The dict-keyed shape silently broke chart-render, real-photo sourcing, the placeholder lint, and the publish gate on 2026-06-29; the schema-validate hook now blocks a dict-shaped write.

json
{
  "art_direction": {
    "visual_style": "editorial documentary photography, National Geographic 2026 aesthetic",
    "color_signature": "primary #FF8C00, secondary #2E5B7A, accent natural earth tones",
    "lighting": "golden hour or soft natural daylight",
    "mood": "competent, focused, aspirational",
    "camera_specs": "35mm lens, f/4-f/5.6",
    "universal_negatives": "no text overlays, no watermarks, no AI face tells..."
  },
  "prompts": [
    {
      "slot_id": "cover",
      "subject": "Single male angler casting a fly fishing rod over a Pacific Northwest river",
      "composition": "medium-wide shot, rule of thirds, river leading line from right",
      "lighting_note": "golden hour backlight from camera right, soft fill from river reflection",
      "mood_note": "contemplative, peaceful, aspirational",
      "aspect_ratio": "16:9",
      "size": "3840x2160",
      "negative_prompt": "no logos, no stock-photo poses",
      "alt_text_seed": "Expert angler demonstrating proper fly fishing technique at golden hour",
      "filename_seed": "best-fishing-rods-2026-pnw-angler-cover",
      "compiled_prompt": "[ART DIRECTION — applies to all images...]\n[THIS IMAGE]\nSubject: ..."
    },
    ...
  ]
}

Workflow

python
# Load inputs
brand = read("projects/{slug}/brand-identity.json")
config = read("projects/{slug}/brand-config.json")
slots = read("image_slots.json")
angle = read("angle.json")

# Build shared Art Direction (Strategy A)
art_direction = build_art_direction(
    primary_color_hex=config.primary_color,
    secondary_color_hex=config.secondary_color,
    accent_color_hex=config.accent_color,
    format_id=angle.format_id,
    voice_pair=config.voice_pair,
    industry=config.industry,
)

# For each slot, ask LLM to design subject + composition + mood
prompts = []
for slot in slots:
    spec = llm_design_per_slot(
        slot=slot,
        article_title=angle.title,
        section_context=outline.sections[slot.h2_anchor],
        art_direction=art_direction,
    )
    
    # Compile final prompt with shared prefix
    compiled = compile_prompt(spec, art_direction)
    spec["compiled_prompt"] = compiled
    prompts.append(spec)

# Save
write("image-prompts.json", {"art_direction": art_direction, "prompts": prompts})

Use script

bash
python -m scripts.openai.art_direction_compiler \
    --primary-color "{brand.primary_color}" \
    --secondary-color "{brand.secondary_color}" \
    --format-id "{angle.format_id}" \
    --voice-pair "{config.voice_pair}" \
    --industry "{config.industry}" \
    --prompts-file image_slots_with_specs.json \
    --json

Cost

1 LLM call (Claude Opus) ~$0.05 to design all prompts together (count-independent).

Handoff

recommended_next_skill: openai-image-generator (submits Batch API)

Frequently asked questions

What does the Image Prompt Designer AI skill do?

Build shared Art Direction Prefix + per-slot 9-field prompts for the article's image slots (brief.image_count, default 6, max 8 — scripts/_core/image_policy.py). Uses Strategy A (shared prefix; per-slot variation). Reads brand-identity, brand-config, format_id. Produces image-prompts.json for openai-image-generator. Stage 27b.

Why use Image Prompt Designer on TypingMind?

Because you install it once and use it with any model. Image Prompt Designer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Image Prompt Designer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/image/image-prompt-designer. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Image Prompt Designer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Image Prompt Designer?

As many as you like. As long as a model supports skills, you can use Image Prompt Designer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Image Prompt Designer AI skill free?

Yes. It is published on GitHub by XuanRanL under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇