prompt-engineering SKILL.md skillA

prompt-engineering from artokun/comfyui-mcp is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add artokun/comfyui-mcp/prompt-engineering@git:20260825.973d578

Pins git:20260825.973d578 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
artokun/comfyui-mcp
Path
plugin/skills/prompt-engineering/SKILL.md
Versions recorded
3
Latest version
git:20260825.973d578, committed Aug 25, 2026
First version recorded
Feb 16, 2026
Size
11,759 bytes
Repository stars
887
License
MIT

ComfyUI prompt engineering knowledge covering CLIP text encoding syntax, weight modifiers, model-specific prompting strategies, and best practices.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# ComfyUI Prompt Engineering

## CLIP Text Encoding Fundamentals

ComfyUI uses CLIP (Contrastive Language-Image Pre-training) text encoders to convert text prompts into conditioning tensors. The `CLIPTextEncode` node takes a text string and a CLIP model, producing a `CONDITIONING` output for the KSampler.

### Token Limit

CLIP processes text in **77-token chunks**. Each word is typically 1-3 tokens. Prompts exceeding 77 tokens are silently truncated unless you use the BREAK token or a multi-clip encoding node.

## Weight Syntax

### Emphasis (Attention Weights)

Adjust how strongly the model attends to specific words or phrases:

| Syntax | Effect | Equivalent Weight |
|--------|--------|-------------------|
| `(word:1.3)` | Increase emphasis by 30% | Explicit weight 1.3 |
| `(word:0.7)` | Decrease emphasis by 30% | Explicit weight 0.7 |
| `(word)` | Slight increase | `(word:1.1)` |
| `((word))` | Moderate increase | `(word:1.21)` — 1.1^2 |
| `(((word)))` | Strong increase | `(word:1.331)` — 1.1^3 |
| `[word]` | Slight decrease | `(word:0.9091)` — 1/1.1 |
| `[[word]]` | Moderate decrease | `(word:0.8264)` — 1/1.1^2 |

### Weight Rules
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add artokun/comfyui-mcp/prompt-engineering@sha256:cc46604075a1638d

The line at the top of this page pins the label git:20260825.973d578, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_nk2h26ypelqcum5k.svg)](https://markdownregistry.com/a/art_nk2h26ypelqcum5k)

6 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Feb 16, 2026 and Aug 25, 2026, about one every 95 days.

versioncommittedcommitsizeaudit
git:20260825.973d578 latest2026-08-25 973d578 11,759 BA view · diff
git:20260819.9fe9ea32026-08-19 9fe9ea3 11,795 BA view · diff
git:20260216.e7c22d52026-02-16 e7c22d5 11,504 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11759 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

artokun/comfyui-mcp · 887 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nk2h26ypelqcum5k
GET https://markdownregistry.com/api/v1/resolve?ref=artokun/comfyui-mcp/prompt-engineering
GET https://markdownregistry.com/api/v1/blob/cc46604075a1638db8feb25ee3148c312e8acd39e3a03131547a6de5af8d9331

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from artokun/comfyui-mcp

ai-toolkit-trainer SKILL.md skill
artokun/comfyui-mcp · plugin/skills/ai-toolkit-trainer/SKILL.md · Train custom LoRAs with ostris AI-Toolkit. Covers WAN 2.2/2.1 (people, styles, video motion) and Z-Image (Turbo & Base…
git:20260825.cab59a6 · audit A · 887 stars
anima-base SKILL.md skill
artokun/comfyui-mcp · plugin/skills/anima-base/SKILL.md · Anime/illustration text-to-image (ANIMA 1.0, ~2B Cosmos DiT). Use for anime, manga, illustrated characters; accepts…
git:20260827.6cfca93 · audit A · 887 stars
anima-lora-trainer SKILL.md skill
artokun/comfyui-mcp · plugin/skills/anima-lora-trainer/SKILL.md · Train a custom anime LoRA on the ANIMA base model with Citron's local Gradio trainer (kohya sd-scripts), <6GB VRAM…
git:20260825.cab59a6 · audit B · 887 stars
civitai SKILL.md skill
artokun/comfyui-mcp · plugin/skills/civitai/SKILL.md · Discover Civitai models with the BUILT-IN download_model action:"search_civitai" and install/generate them locally…
git:20260825.cab59a6 · audit A · 887 stars
color-correction SKILL.md skill
artokun/comfyui-mcp · plugin/skills/color-correction/SKILL.md · Diagnose and fix video/image color OBJECTIVELY with the get_image (action:"analyze_color") tool (scopes/stats such as…
git:20260825.cab59a6 · audit A · 887 stars
comfyui-core SKILL.md skill
artokun/comfyui-mcp · plugin/skills/comfyui-core/SKILL.md · Core ComfyUI knowledge covering workflow format, node types, pipeline patterns, and MCP tool usage
git:20261025.d36a05c · audit A · 887 stars
comfyui-frontend-extensions SKILL.md skill
artokun/comfyui-mcp · plugin/skills/comfyui-frontend-extensions/SKILL.md · Authoring ComfyUI v2 frontend extensions with @comfyorg/extension-api, covering…
git:20260825.cab59a6 · audit A · 887 stars
comfyui-launch-flags SKILL.md skill
artokun/comfyui-mcp · plugin/skills/comfyui-launch-flags/SKILL.md · Pick the right ComfyUI startup flags for VRAM, attention, caching, and speed. The full decision matrix for OOM…
git:20260825.cab59a6 · audit A · 887 stars
comfyui-node-registry SKILL.md skill
artokun/comfyui-mcp · plugin/skills/comfyui-node-registry/SKILL.md · Authoring & publishing ComfyUI custom nodes to the Comfy Registry, covering node structure, pyproject.toml spec…
git:20260825.cab59a6 · audit A · 887 stars
debug-render SKILL.md skill
artokun/comfyui-mcp · plugin/skills/debug-render/SKILL.md · Debug a WRONG or imperfect render (not a hard error) by inspecting inputs and intermediate steps with run-to-node…
git:20260825.cab59a6 · audit A · 887 stars
director SKILL.md skill
artokun/comfyui-mcp · plugin/skills/director/SKILL.md · Full production pipeline covering story to scenes, Z-Image start frames, Qwen Edit end frames, WAN FLF video clips…
git:20260825.cab59a6 · audit A · 887 stars
ernie-image SKILL.md skill
artokun/comfyui-mcp · plugin/skills/ernie-image/SKILL.md · Build Baidu ERNIE-Image / ERNIE-Image-Turbo workflows, primarily TEXT-TO-IMAGE. Pick ERNIE when you need precise…
git:20260825.cab59a6 · audit A · 887 stars

Every file in artokun/comfyui-mcp

Other files named prompt-engineering

prompt-engineering SKILL.md skill
ericrisco/rsc-harness · skills/prompt-engineering/SKILL.md · Use when one prompt must give the same right answer across reruns, models, and pasted-in hostile input: forcing a fixed…
git:20260729.bd66119 · audit A · 429 stars
prompt-engineering SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-ai/skills/prompt-engineering/SKILL.md · Provides workflows to write, debug, and optimize prompts for LLMs, including few-shot example selection…
git:20260316.68f3ca5 · audit A · 366 stars
prompt-engineering SKILL.md skill
codealive-ai/ai-driven-development · skills/prompt-engineering/SKILL.md · Universal prompt engineering techniques for any LLM. Use when crafting, optimizing, or reviewing prompts for AI models…
git:20260908.6813cbf · audit A · 167 stars
prompt-engineering SKILL.md skill
doodledood/manifest-dev · claude-plugins/manifest-dev-tools/skills/prompt-engineering/SKILL.md · Create, update, review, or discuss an LLM prompt — a system prompt, a skill, or an agent. Use when writing or improving…
git:20261031.1cf2a1f · audit A · 77 stars
prompt-engineering SKILL.md skill
nahid-sparktales/agent-dispatcher · skills/ai/prompt-engineering/SKILL.md · Write or revise a prompt so it holds up — output contract, instruction placement, examples that earn their place, an…
git:20260919.a0d4f55 · audit A · 58 stars
prompt-engineering SKILL.md skill
akaszubski/autonomous-dev · plugins/autonomous-dev/skills/prompt-engineering/SKILL.md · Prompt engineering patterns for writing agent prompts and skill files — constraint budgets, register shifting, HARD…
git:20260414.6e64c38 · audit A · 34 stars
prompt-engineering SKILL.md skill
vodailocz/kilo-kit-mcp · skills/engineering/prompt-engineering/SKILL.md · Use when designing, optimizing, testing, or deploying robust prompt systems for AI agents. This skill provides…
git:20260821.05c0d52 · audit A · 27 stars
prompt-engineering SKILL.md skill
j-star-films-studios/vibecode-protocol-suite · assets/.agent/skills/agent-engineering/prompt-engineering/SKILL.md · Master prompt engineering for AI models: LLMs, image generators, video models. Techniques: chain-of-thought, few-shot…
git:20260820.4dbe9e4 · audit B · 26 stars

Browse by kind, by grade A, or by owner.