prompting
ComfyUI prompt engineering — universal CLIP/weight syntax plus per-model prompt rules loaded on demand from references/. Activate whenever composing a…
от szprivate★ 53 звезды на GitHub
Установить prompting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ComfyUI Prompt Engineering
Universal rules based on artokun/comfyui-mcp — Copyright (c) 2024 Arthur R Longbottom, MIT
Per-model fragments (references/) are agentY-authored.
How to use this skill:
- The universal rules below apply to every prompt.
- Then read the one
references/*.mdfragment for the model family you are building for (take the family from the recipe / brainbriefingmodel). It carries that model's prompt formula, length target, negative policy, sampler constraints, and pitfalls. - Do not load fragments you don't need — that's the whole point of the split.
Model index
| Model family | Fragment |
|---|---|
| Flux 1 & 2 (dev / schnell / Klein / Krea) | references/flux.md |
| Z-Image / Z-Image-Turbo | references/z-image.md |
| LTX-2 / LTX-2.3 — video + audio | references/ltx-2.md |
| WAN 2.1 / 2.2 / 2.6 / VACE — video | references/wan.md |
| Kling 2.x / 3.0 — video, multishot | references/kling.md |
| Veo 3 — video + audio | references/veo.md |
| Seedance 2.0 / 2.5 — video, reference-to-video, edit, extend | references/seedance.md (deep cases: references/seedance-2.5-full.md) |
| Ideogram — text-to-image, typography / text rendering | references/ideogram.md |
| SD 1.5 · SDXL · SD3/3.5 · Qwen Image Edit · Nano Banana · Seedream | references/other-models.md |
New model family? Add a references/<model>.md fragment in the compact schema
(see any existing fragment) and add a row here.
Universal rules
CLIP token basics
- 77-token limit per chunk; words = 1–3 tokens each. Tokens past the limit are silently dropped.
BREAKforces a new 77-token chunk for long prompts.- Flux / SD3 / Gemini / instruction-edit models do not use CLIP weighting — see their fragment.
Weight syntax (CLIP models — SD 1.5 / SDXL)
| Syntax | Weight |
|---|---|
(word:N) |
explicit 0.0–2.0 ( >1.5 → artifacts ) |
(word) / ((word)) / (((word))) |
1.1 / 1.21 / 1.331 |
[word] / word |
0.909 / 0.826 |
Phrases work: (red sports car:1.3). Nesting is multiplicative.
Embeddings
embedding:name — file must exist in models/embeddings/. Use in negatives for SD 1.5 / SDXL (e.g. embedding:easynegative, embedding:badhandv4).
Prompt order (SD 1.5 / SDXL)
Quality → Subject → Subject details → Action/pose → Environment → Composition → Lighting → Style → Technical quality.
LoRA triggers
Place the LoRA's exact trigger word(s) naturally in the prompt (check the model page). Multiple LoRAs: one trigger each; keep node strength at default unless tuning.
BREAK example
masterpiece, detailed Japanese garden, cherry blossoms, koi pond, morning mist
BREAK
8k uhd, photorealistic, volumetric lighting, depth of field, golden hour
Universal mistakes
- Weight > 1.5 → artifacts / color bleed.
- Conflicting weighted terms → confuses the model.
- Missing
BREAKon 60+ word CLIP prompts → silent truncation. - Wrong LoRA trigger word → concept doesn't activate.
- Applying CLIP tricks (weights, tag-soup) to a model whose fragment says prose / instruction only.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/flux.md
- references/ideogram.md
- references/kling.md
- references/ltx-2.md
- references/other-models.md
- references/seedance-2.5-full.md
- references/seedance.md
- references/veo.md
- references/wan.md
- references/z-image.md
FAQ
Что делает скилл prompting?
ComfyUI prompt engineering — universal CLIP/weight syntax plus per-model prompt rules loaded on demand from references/. Activate whenever composing a generation or edit prompt.
Как установить скилл prompting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prompting запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…