agentleFS
hybridindiehybridindie/comfyui_mcp/skills/workflow/SKILL.md

workflow

Skill2 starsChanged 4 days agoMITView on GitHub

Create a ComfyUI workflow from a template

80 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use build-keil, can-debug and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ZhongYechengSkill

    build-keil

    当需要通过 Keil MDK 命令行编译嵌入式工程,调用自带脚本解析工程文件、执行构建并定位固件产物时使用。

    Also in 3 projects that use this

  • ZhongYechengSkill

    can-debug

    当需要调试 CAN 总线通信时使用,支持通过 USB-CAN 适配器监听、发送 CAN 帧和扫描节点。

    Also in 3 projects that use this

  • +10 more from ZhongYecheng

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 63 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create and optionally run a ComfyUI workflow.

    line 8
  2. Very specific:

    If the user did not specify any parameter overrides, call comfyui_create_workflow with only the template name (omit params.

    line 15
  3. Very specific:

    If the user specified overrides (e.g., prompt, dimensions), pass them as a JSON string in the params argument:

    line 16
  4. Very specific:

    Validate the workflow: Call comfyui_validate_workflow with the workflow JSON returned from step 2.

    line 21
  5. Very specific:

    Use comfyui_summarize_workflow for a human-readable text or Mermaid overview (output_format="text" or "mermaid").

    line 29
  6. Very specific:

    Use comfyui_analyze_workflow if you need the structured analysis as a dict (fields like pipeline, models, parameters) without parsing prose.

    line 30

“Common” is measured: kept by at least 6 in 10 of the 63 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create Workflow

Create and optionally run a ComfyUI workflow. Template or description provided by the user as input: "$ARGUMENTS".

Steps

  1. Pick a template. If no specific template was requested, choose from the built-in template names accepted by comfyui_create_workflow: txt2img, img2img, upscale, inpaint, txt2vid_animatediff, txt2vid_wan, controlnet_canny, controlnet_depth, controlnet_openpose, ip_adapter, lora_stack, face_restore, flux_txt2img, sdxl_txt2img. The full list is also in comfyui_create_workflow's docstring. (Note: comfyui_list_workflows returns server-side /workflow_templates from front-end packages — not these MCP-built-in templates.) If the user provides a template name that is not in this list, respond with an error message and list the valid options above.
  2. Create the workflow.
    • If the user did not specify any parameter overrides, call comfyui_create_workflow with only the template name (omit params; it defaults to "", which applies the predefined settings for the selected template).
    • If the user specified overrides (e.g., prompt, dimensions), pass them as a JSON string in the params argument:
      create_workflow(template="txt2img", params='{"prompt": "a sunset", "width": 768}')
  3. Validate the workflow. Call comfyui_validate_workflow with the workflow JSON returned from step 2. The response is a dict {valid, errors, warnings, node_count, pipeline}. Report any entries in errors (blocking) and warnings (non-blocking).
  4. Present the workflow. Show a summary of what the workflow does (nodes, connections, key parameters). Offer the user two options:
    • Run it — call comfyui_run_workflow with wait=True. The response is a dict envelope: {status, prompt_id, outputs, elapsed_seconds, warnings?}. Read status to confirm completion.
    • Modify it — use comfyui_modify_workflow to add/remove nodes or change parameters, then re-validate

Notes

  • Use comfyui_summarize_workflow for a human-readable text or Mermaid overview (output_format="text" or "mermaid").
  • Use comfyui_analyze_workflow if you need the structured analysis as a dict (fields like pipeline, models, parameters) without parsing prose.
  • For simple text-to-image generation, /comfy:gen is faster.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.