Skills for Real Engineers. Straight from my .agents directory.
prompt-engineering
Agent skill fromartokun/comfyui-mcp
ComfyUI prompt engineering knowledge covering CLIP text encoding syntax, weight modifiers, model-specific prompting strategies, and best practices
How to install prompt-engineering
npx skills add artokun/comfyui-mcp# or add only this skill to Claude Code: copy the folder
plugin/skills/prompt-engineering/
# into
~/.claude/skills/prompt-engineering/ (all projects)
.claude/skills/prompt-engineering/ (one project)
1# ComfyUI Prompt Engineering23## CLIP Text Encoding Fundamentals45ComfyUI 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.67### Token Limit89CLIP 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.1011## Weight Syntax1213### Emphasis (Attention Weights)1415Adjust how strongly the model attends to specific words or phrases:1617| Syntax | Effect | Equivalent Weight |18|--------|--------|-------------------|19| `(word:1.3)` | Increase emphasis by 30% | Explicit weight 1.3 |20| `(word:0.7)` | Decrease emphasis by 30% | Explicit weight 0.7 |21| `(word)` | Slight increase | `(word:1.1)` |22| `((word))` | Moderate increase | `(word:1.21)` — 1.1^2 |23| `(((word)))` | Strong increase | `(word:1.331)` — 1.1^3 |24| `[word]` | Slight decrease | `(word:0.9091)` — 1/1.1 |25| `[[word]]` | Moderate decrease | `(word:0.8264)` — 1/1.1^2 |2627### Weight Rules2829- **Valid range**: 0.0 to 2.0 (going beyond 1.5 often causes artifacts)30- **Default weight**: 1.0 for unmodified tokens31- **Nesting stacks multiplicatively**: `((word))` = 1.1 * 1.1 = `(word:1.21)`32- **Phrases**: `(red sports car:1.3)` applies weight to the entire phrase33…
Excerpt shown under the repository's MIT license.
More skills in comfyui-mcp
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
