prompt-engineering

Explain ComfyUI prompt syntax, weight modifiers, and model-specific strategies.

530|85|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/artokun/comfyui-mcp --skill prompt-engineering-artokun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-engineering
Source: https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/prompt-engineering
Command: npx skills add https://github.com/artokun/comfyui-mcp --skill prompt-engineering-artokun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users understand and effectively utilize ComfyUI's advanced prompt engineering techniques to achieve desired image generation results.

Core Features & Use Cases

  • Prompt Syntax: Learn about emphasis, weight modifiers, and the BREAK token for precise control.
  • Embeddings & LoRAs: Understand how to integrate textual inversions and LoRA trigger words.
  • Model-Specific Strategies: Get tailored advice for SD 1.5, SDXL, Flux, and SD3.
  • Use Case: You're struggling to get a specific artistic style or detail in your ComfyUI generations. This Skill provides the knowledge to refine your prompts, use embeddings correctly, and leverage model-specific features for better outcomes.

Quick Start

Use the prompt-engineering skill to learn about CLIP text encoding syntax and weight modifiers.

Frequently Asked Questions about prompt-engineering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use weight modifiers and BREAK tokens in ComfyUI prompt engineering?

ComfyUI prompt engineering uses weight modifiers for emphasis and BREAK tokens to separate prompt chunks, giving you precise control over specific image regions and preventing concept bleeding during CLIP text encoding.

How do I add LoRA trigger words and embeddings to CLIP text encode nodes?

Embeddings and LoRA trigger words integrate directly into CLIP text encode nodes by referencing the textual inversion filename or specific trigger syntax, ensuring the base model activates the trained concepts during image generation.

What are the best prompting strategies for SDXL versus SD 1.5 in ComfyUI?

SDXL prompting strategies differ from SD 1.5 by supporting longer natural language descriptions and higher token limits, while SD 1.5 relies heavily on strict keyword ordering and aggressive weight modifiers to achieve desired results.

Does ComfyUI prompt syntax work the same way for Flux and SD3 models?

Flux and SD3 models require different prompting strategies than traditional SD architectures, utilizing advanced CLIP text encoding behavior that responds better to descriptive natural language rather than comma-separated tags and heavy weight modifiers.

Why are my ComfyUI prompts hitting token limits or producing poor image quality?

Token limits in ComfyUI truncate excess prompt text, causing poor image quality, while common prompting mistakes like over-weighting terms or improper structure disrupt CLIP text encoding and degrade overall image generation control.

What is the best way to structure prompts in ComfyUI for consistent image generation?

The best way to structure prompts in ComfyUI involves organizing subject descriptions, style modifiers, and quality tags logically, while applying weight modifiers sparingly and using embeddings to achieve consistent image generation results.