agentleFS
badgidsbadgids/Story-Film-Skills/skills/comfyui/SKILL.md

comfyui

Skill4 starsChanged 3 months agoApache-2.0View on GitHub

Understand and operate ComfyUI for story-film production through Story-Film's extension-local workflow library, managed official comfy-mcp/comfy-cli control runtime, live node/model discovery, deterministic validation, generation execution, API v2, offline batching, resource handoff, and safe troubleshooting.

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use touchdesigner-mcp, bfl-api 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.
  • john-data-chenSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 6 projects that use this

  • LinHao-citySkill

    bfl-api

    BFL FLUX API integration guide covering endpoints, async polling patterns, rate limiting, error handling, webhooks, and regional endpoints with Python and TypeScript code examples.

    Also in 3 projects that use this

  • LinHao-citySkill

    flux-best-practices

    Comprehensive guide for BFL FLUX image generation models. Covers prompting, T2I, I2I, structured JSON, hex colors, typography, multi-reference editing, and model-specific best practices for FLUX.2 and FLUX.1 families.

    Also in 3 projects that use this

  • john-data-chenSkill

    teams-meeting-pipeline

    Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.

    Also in 6 projects that use this

  • AsharibAliSkill

    pretext

    DOM-free multiline text measurement and layout using @chenglou/pretext. Use when the user needs text height calculation, virtualized list row sizing, canvas/SVG text rendering, rich-text inline flow, or any scenario involving text layout without DOM reflow.

    Also in 7 projects that use this

  • mae616Skill

    p5js

    p5.js(クリエイティブコーディング)のProcessing由来「コードでスケッチ」思想を軸に、setup/drawループ・座標系・インタラクション・パフォーマンス最適化を整理する。p5.js、Processing、クリエイティブコーディング、ジェネラティブアート、インタラクティブ表現、ビジュアルプログラミング、Canvas描画、パーティクル、フラクタル、ノイズ表現に関する相談で必ず使うこと。ユーザーが「コードでアート」「動くビジュアル」「インタラクティブな描画」と言った場合にも適用する。

    Also in 7 projects that use this

  • +6 more from LinHao-city

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read only the specialist skill needed next.

    line 19
  2. Very specific:

    Do not use Bash, find, ls, which, locate, direct comfy-cli discovery commands, guessed personal paths, home-directory scans, model-folder …

    line 38
  3. Very specific:

    Before deciding a model is missing, use action=model-inventory, then action=model-search when a filtered search is needed.

    line 39
  4. Distinctive:

    Do not ask the user to install or configure comfy-cli, comfy-mcp, comfy-api-proxy, or a generic MCP extension.

    line 43
  5. Very specific:

    If the user explicitly asks Story-Film to create a new workflow, route to comfyui-workflow and use bounded live-schema authoring.

    line 47
  6. Distinctive:

    Keep credentials out of workflows and project files.

    line 51

“Common” is measured: kept by at least 6 in 10 of the 20 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

ComfyUI

This is the ComfyUI router for Story-Film Skills.

Start

  1. Read ../../references/COMFYUI_MANAGED_RUNTIME.md.
  2. Read ../../references/COMFYUI_OPERATIONS.md.
  3. Read ../../references/COMFYUI_SECURITY.md.
  4. Identify the requested control surface and scope.
  5. Read only the specialist skill needed next.

Route

  • primary Pi live control, official MCP discovery, nodes, models, lifecycle, jobs, outputs, and assets: comfyui-mcp
  • inspect server, nodes, models, features, resources, or existing workflows: comfyui-discover
  • inspect, validate, edit, or prepare workflow JSON: comfyui-workflow
  • submit, wait, queue, cancel, free memory, or collect a run: comfyui-run
  • upload inputs or download generated outputs: comfyui-assets
  • official CLI workspace and lifecycle operations behind the managed runtime: comfyui-cli
  • managed comfy-api-proxy or another approved Comfy API v2 endpoint: comfyui-api-v2
  • diagnose missing nodes, models, invalid prompts, execution failures, or VRAM problems: comfyui-troubleshoot
  • compile and run a deterministic multi-job generation batch that cannot call an LLM: comfyui-offline-batch
  • hand GPU/RAM ownership from a local LLM to ComfyUI and back without model calls during generation: resource-safe-generation

Rules

  • In Pi, use the native story_comfy tool as the primary live ComfyUI control surface. Start with action=server-info.
  • story_comfy has precedence over shell/filesystem discovery for ComfyUI installation/location, live server state, installed models, model search, nodes, and workflows.
  • Do not use Bash, find, ls, which, locate, direct comfy-cli discovery commands, guessed personal paths, home-directory scans, model-folder scans, raw config-file inspection, or one-off HTTP clients to discover those facts.
  • Before deciding a model is missing, use action=model-inventory, then action=model-search when a filtered search is needed. For workflow discovery use action=workflow-catalog; it catalogs only the extension's comfyui_workflows/ tree. Use action=node-search/action=node-info for live nodes.
  • Use action=search-tools only when the exact allowed non-gallery comfy-mcp verb is unknown. Story-Film filters template-gallery tools and template cross-references out of LLM-facing MCP discovery. An empty or failed MCP tool-name search is not permission to fall back to Bash; the native story_comfy inventory/catalog/node actions remain the first fallback.
  • A failed guessed path, missing guessed directory, empty checkpoints directory, or empty filesystem search is never evidence that ComfyUI or a model is absent.
  • Story-Film automatically bootstraps its separate official control environment. The managed comfy-mcp process is private stdio behind story_comfy, not a server registered in Pi's generic mcp tool. Generic mcp status may therefore show 0/0; use story_comfy action=mcp-status for Story-Film MCP health.
  • Do not ask the user to install or configure comfy-cli, comfy-mcp, comfy-api-proxy, or a generic MCP extension.
  • Managed bootstrap never installs ComfyUI, models, or custom nodes. The user supplies ComfyUI and their model collection.
  • Discover live capabilities before naming executable nodes or model files.
  • For normal workflow selection, catalog only Story-Film's comfyui_workflows/ directory. Never scan project workflow/default folders, ComfyUI userdata, arbitrary external paths, or template catalogs. To add another existing workflow, copy its JSON into comfyui_workflows/custom/<task>/<model>/.
  • If the user explicitly asks Story-Film to create a new workflow, route to comfyui-workflow and use bounded live-schema authoring. Workflow creation remains supported; extension-only discovery must not be interpreted as a ban on authoring new graphs.
  • A Story-Film prompt adapter name describes prompt grammar only. It never proves that a same-named ComfyUI node, API node, checkpoint, or runtime exists.
  • ComfyUI-Pi-Agent and a separately configured Pi MCP server are not prerequisites.
  • Third-party custom-node installation, model downloads, ComfyUI version changes, broad updates, and paid partner execution require explicit user approval.
  • Keep credentials out of workflows and project files.
  • For long generations, submit asynchronously and keep the prompt ID.
  • The bundled native HTTP controller remains a deterministic fallback/internal path; do not replace the managed tool with ad hoc curl, urllib, requests, or raw prompt loops.

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.