Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计通过

comfyui-prompt-engineercomfyui 提示工程师

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

6,744

周安装

281

GitHub Stars

50

下载量

2,248
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:comfyui-prompt-engineer(comfyui 提示工程师)
来源仓库:https://github.com/mckruz/comfyui-expert
仓库路径:skills/comfyui-prompt-engineer
安装命令:
npx skills add https://github.com/mckruz/comfyui-expert --skill comfyui-prompt-engineer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mckruz/comfyui-expert --skill comfyui-prompt-engineer

简介

comfyui-prompt-engineer 根据模型和身份方法生成优化提示词,适配不同响应风格。

  • 针对 FLUX.1 系列调整 CFG 值和标签使用策略,避免冗余描述。
  • 结构化提示词包含主体、场景、光影和风格要素,提升生成质量。
  • 输出基于经验规则,实际效果需通过实验验证调整。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

ComfyUI Prompt Engineer

Generates optimized prompts tailored to specific models and identity methods. Different models respond differently to prompts.

Model-Specific Prompt Rules

FLUX.1 (dev/schnell/Kontext)

  • Style: Natural language descriptions work best
  • CFG: 3.5-4 (very low)
  • Quality tags: Minimal - FLUX doesn't need "masterpiece, best quality"
  • Length: Medium (50-100 words)
  • Structure: {subject description}, {setting}, {lighting}, {camera/style}

Good FLUX prompt:

photorealistic portrait of a woman with auburn hair and green eyes, freckles across
her nose and cheeks, wearing a cream knit sweater, sitting in a cafe with warm ambient
lighting, shallow depth of field, shot on Sony A7IV, 85mm lens

Bad FLUX prompt (too many quality tags):

masterpiece, best quality, 8k uhd, highly detailed, photorealistic portrait...

SDXL (RealVisXL, Juggernaut, etc.)

  • Style: Quality tags at front help significantly
  • CFG: 7-9
  • Quality tags: Include masterpiece, best quality, photorealistic
  • Length: Medium-long (50-150 words)
  • Structure: {quality tags}, {trigger word}, {subject}, {details}, {setting}, {style}
  • Weighted syntax: Supported (important:1.3) or ((very important))

Good SDXL prompt:

masterpiece, best quality, sage_character, photorealistic portrait of a woman,
detailed skin texture with freckles, emerald green eyes, auburn copper hair,
natural lighting from window, indoor setting, shallow depth of field,
RAW photo quality, 8k uhd, film grain

SD 1.5

  • Style: Tag-based works best
  • CFG: 7-8
  • Quality tags: Essential
  • Length: Shorter (30-80 words)
  • Structure: {quality}, {trigger}, {subject}, {details}, {style tags}

Wan 2.1/2.2 (Video)

  • Style: Concise motion descriptions
  • CFG: 5-7
  • Quality tags: Minimal
  • Length: Short (20-50 words)
  • Focus: Describe the motion, not just the appearance
  • Structure: {subject}, {action/motion}, {setting}, {quality}

Good Wan prompt:

young woman with auburn hair, talking naturally with gentle hand gestures,
seated at a modern desk, soft studio lighting, high quality

AnimateDiff

  • Style: Same as base model (SD1.5/SDXL) but add motion keywords
  • Motion keywords: Include camera/subject motion description
  • Length: Same as base model

With Identity Methods

InstantID Prompts

Key adjustments:

  • DO NOT describe specific facial features (the model provides them)
  • DO describe everything else: clothing, pose, setting, lighting
  • Keep CFG at 4-5
photorealistic portrait, wearing black leather jacket, standing in an alley,
dramatic side lighting, urban setting, moody atmosphere, 8k quality

PuLID Prompts

Key adjustments:

  • Can include some facial descriptions (PuLID is more tolerant)
  • Method "neutral" for realistic, "fidelity" for exact match
  • CFG 5-7
sage_character, photorealistic portrait, green eyes visible, natural makeup,
professional headshot, neutral grey background, studio lighting

IP-Adapter FaceID

Key adjustments:

  • Describe the style you want, not the face
  • weight_type "style transfer" for 3D→realistic
  • Standard CFG for base model
photorealistic portrait, DSLR photo quality, natural skin texture,
warm indoor lighting, bokeh background, professional photography

FLUX Kontext (Editing)

Key adjustments:

  • Describe the EDIT, not the full image
  • Be specific about what to change
  • Mention what to preserve
Change the outfit to a formal black evening dress while keeping the face,
hair, and pose exactly the same. Add subtle jewelry.

With Character LoRA

Key adjustments:

  • ALWAYS include trigger word first
  • Don't describe features the LoRA has learned
  • Focus on what varies: pose, clothing, setting, lighting
sage_character, standing on a rooftop at sunset, wind blowing hair,
wearing casual summer dress, city skyline behind, golden hour lighting,
cinematic composition

Negative Prompt Templates

Universal Negative (SDXL/SD1.5)

(worst quality:1.4), (low quality:1.4), blurry, deformed, bad anatomy,
bad hands, extra fingers, missing fingers, extra limbs, fused fingers,
text, watermark, signature, jpeg artifacts, username, error

Photorealism Negative

3d render, cartoon, anime, illustration, painting, drawing, cgi,
plastic skin, smooth skin, airbrushed, video game, doll, mannequin,
oversaturated, artificial lighting

Video Negative (Wan/AnimateDiff)

static, frozen, jerky motion, low quality, blurry, distorted face,
bad anatomy, glitch, artifacts, flickering, jittery, unnatural movement

FLUX Negative (keep minimal)

blurry, low quality, distorted, deformed, ugly, watermark, text

Prompt Construction Workflow

  1. Get character profile from projects/{project}/characters/{name}/profile.yaml
  2. Get target model from inventory/user preference
  3. Apply model rules from above
  4. Add identity method modifiers if applicable
  5. Include trigger word if LoRA is being used
  6. Draft positive + negative pair
  7. Review against past successes in character's generation_history
  8. Adjust CFG recommendation based on method stack

Reference

  • references/prompt-templates.md - Full template library with examples
  • references/workflows.md - CFG and sampler settings per workflow
  • Character profiles in projects/ for trigger words and feature descriptions

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.22%
按下载量换算747

Claude

30.46%
按下载量换算685

Cursor

20.74%
按下载量换算466

Gemini CLI

9.62%
按下载量换算216

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills