comfyui-pipeline

comfyui-pipeline is a skill for Claude Code, Codex from Limbicnation/hermes-asset-pipeline. It costs 43 tokens per session (1,082 once invoked), scanned A, original, Apache-2.0.

A programmable connection to ComfyUI, a node-based system for generating images. It can send workflows to a local ComfyUI server, monitor their progress, manage model files, and pass results to Blender or Godot.

In plain words
What is it for?
Use it to queue ComfyUI workflows, monitor completion, retrieve generated files, manage models, and feed image outputs into the rest of the pipeline.
Why use it?
It removes the need to submit workflows and check their results manually. It also connects image generation to later asset-processing steps.

Skill for Claude CodeCodex

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

Good fit Use it to queue ComfyUI workflows, monitor completion, retrieve generated files, manage models, and feed image outputs into the rest of the pipeline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/limbicnation/hermes-asset-pipeline/comfyui-pipeline
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 Limbicnation/hermes-asset-pipeline --skill comfyui-pipeline
Clone the repo
git clone --depth 1 https://github.com/Limbicnation/hermes-asset-pipeline

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 comfyui-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/limbicnation/hermes-asset-pipeline/comfyui-pipeline/github.svg)](https://agentmods.dev/skills/limbicnation/hermes-asset-pipeline/comfyui-pipeline)
Your own site
<a href="https://agentmods.dev/skills/limbicnation/hermes-asset-pipeline/comfyui-pipeline"><img src="https://agentmods.dev/badge/skills/limbicnation/hermes-asset-pipeline/comfyui-pipeline/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 comfyui-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/limbicnation/hermes-asset-pipeline/comfyui-pipeline"><img src="https://agentmods.dev/badge/skills/limbicnation/hermes-asset-pipeline/comfyui-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00043 $0.01082
Opus 5 $0.00022 $0.00541
Sonnet 5 $0.00009 $0.00216
Haiku 4.5 $0.00004 $0.00108

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

Security

Grade A, and why

comfyui-pipeline scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

resp = requests.post(
pipeline/comfyui-pipeline/SKILL.md · 123 lines

How it starts

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

ComfyUI Pipeline Skill

Interface ComfyUI as a programmable node in the Hermes asset pipeline. Run workflows, manage models, and feed outputs downstream to Blender or Godot.

ComfyUI API Base

Default: http://127.0.0.1:8188 Set COMFYUI_HOST env var to override.

Core Tools

1. Queue Prompt

import requests

def queue_comfyui_prompt(prompt_json: dict, workflow_name: str = "pipeline") -> str:
    """Queue a ComfyUI workflow. Returns prompt_id."""
    resp = requests.post(
        f"{COMFYUI_HOST}/api/prompt",
        json={"prompt": prompt_json, "workflow_name": workflow_name},
        timeout=30
    )
    resp.raise_for_status()
    return resp.json()["prompt_id"]

2. Monitor History

import requests, time

def wait_for_completion(prompt_id: str, timeout: int = 300) -> dict:
    """Poll ComfyUI history until prompt completes."""
    start = time.time()
    while time.time() - start < timeout:
        resp = requests.get(f"{COMFYUI_HOST}/api/history/{prompt_id}", timeout=10)
        history = resp.json()
        if prompt_id in history:
            status = history[prompt_id].get("status", {})
            if status.get("state") == "success":
                return history[prompt_id]
            elif status.get("state") == "failed":
                raise RuntimeError(f"Prompt failed: {status}")
        time.sleep(5)
    raise TimeoutError(f"Prompt {prompt_id} did not complete in {timeout}s")

3. Get Output Images

import os, shutil, requests
from pathlib import Path

def fetch_output_images(prompt_id: str, output_dir: Path) -> list[Path]:
    """Download all images from a completed ComfyUI run."""
    output_dir.mkdir(parents=True, exist_ok=True)
    resp = requests.get(f"{COMFYUI_HOST}/api/history/{prompt_id}", timeout=10)
    data = resp.json()[prompt_id]
    paths = []
    for node in data.get("outputs", {}).values():
        for item in node.get("images", []) + node.get("ui", {}).get("images", []):
            fname = item.get("filename")
            if fname:
                src = f"{COMFYUI_HOST}/view?filename={fname}&type=output"
                dst = output_dir / fname
                r = requests.get(src, timeout=60)
                dst.write_bytes(r.content)
                paths.append(dst)
    return paths

Read the full file on GitHub · 123 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. 12d ago First seen · 123 lines · 43 tokens per session scan A fa29a86154a8

Subscribe to this mod's changes

comfyui-pipeline is a skill published in the GitHub repository Limbicnation/hermes-asset-pipeline (5 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 1,082 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens