operate-comfyui

operate-comfyui is a skill for Claude Code, Codex from allcolor/PawFlow-Agents. It costs 87 tokens per session (4,526 once invoked), scanned A, original, MIT.

A guide for installing, configuring, running, and repairing self-hosted ComfyUI, a visual system for building media-generation workflows.

In plain words
What is it for?
Use it to prepare ComfyUI, add approved models or custom nodes, create and submit image, video, or audio workflows, and check or troubleshoot results.
Why use it?
It handles the setup details behind ComfyUI, including models, custom nodes, workflow submission, relays, monitoring, and validation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare ComfyUI, add approved models or custom nodes, create and submit image, video, or audio workflows, and check or troubleshoot results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/allcolor/pawflow-agents/operate-comfyui
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add allcolor/PawFlow-Agents --skill operate-comfyui
Clone the repo
git clone --depth 1 https://github.com/allcolor/PawFlow-Agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for operate-comfyui

README.md
[![agentmods](https://agentmods.dev/badge/skills/allcolor/pawflow-agents/operate-comfyui/github.svg)](https://agentmods.dev/skills/allcolor/pawflow-agents/operate-comfyui)
Your own site
<a href="https://agentmods.dev/skills/allcolor/pawflow-agents/operate-comfyui"><img src="https://agentmods.dev/badge/skills/allcolor/pawflow-agents/operate-comfyui/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for operate-comfyui

Your own site · 80×15
<a href="https://agentmods.dev/skills/allcolor/pawflow-agents/operate-comfyui"><img src="https://agentmods.dev/badge/skills/allcolor/pawflow-agents/operate-comfyui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,526 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.04526
Opus 5 $0.00044 $0.02263
Sonnet 5 $0.00017 $0.00905
Haiku 4.5 $0.00009 $0.00453

Measured 10d ago against content hash 9ed74384904f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

operate-comfyui scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/pawflow.comfyui-operator.pfpdir/content/skills/operate-comfyui/SKILL.md · 382 lines

How it starts

The opening of the file, as written. The whole thing — 382 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Operate ComfyUI through PawFlow

Use this skill for every self-hosted ComfyUI task: installation, relay setup, models, custom nodes, API workflows, reference-driven image/video/audio generation, authorized voice continuity, monitoring, QA, troubleshooting, and delivery.

Package orchestration contract

This skill is the intelligent entry point for the package. Keep user-facing requests simple: infer the operation, bootstrap missing preferences, select the versioned flow, and translate the final result. Users do not need to know ComfyUI nodes, graph formats, model folders, relay routing, or PawFlow flow IDs.

The package provides these flow templates:

  • pawflow.comfyui.ensure-ready:1.0.0 probes the selected target and durably asks for automatic, manual, or cancelled recovery when it is not ready.
  • pawflow.comfyui.provision-assets:1.0.0 validates a model, LoRA, or custom node plan and durably waits for explicit approval.
  • pawflow.comfyui.generate-video:1.0.0 normalizes and validates a video request, gates estimated partner cost, calls the active video service, and checks that a result reference exists.
  • pawflow.comfyui.validate-video:1.0.0 is the reusable structural validation stage. It does not replace the technical and visual QA required below.

Flows containing durableWait must be deployed, started, and invoked through manage_flow.invoke; never run them with the synchronous batch action. Reuse an existing compatible running instance when possible. Persist its instance ID and the invocation/job correlation in working state. If it parks for a user answer or a long job, schedule a passive continuation and end the turn; never poll in a loop.

First-use bootstrap

Run this idempotently whenever the skill is first used in a conversation:

  1. Resolve the relay in this order: agent binding, conversation binding, user variable comfyui.default_relay, then ask the user.
  2. Verify that the relay exists and is connected before storing it.
  3. Read comfyui.config_version and the target entry in comfyui.targets. Ask only for values that are missing for the requested operation.
  4. Store durable preferences with manage_variable at user scope. Store conversation-only choices at conversation scope. Never put secrets in variables.
  5. Deploy the selected flow on that relay, start it, and invoke its input port with one UTF-8 JSON object.

Read the full file on GitHub · 382 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 382 lines · 87 tokens per session scan A 9ed74384904f

Subscribe to this mod's changes

operate-comfyui is a skill published in the GitHub repository allcolor/PawFlow-Agents (25 stars, last pushed 2d ago), licensed MIT. It adds 87 tokens to every session and 4,526 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.