Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

comfyui

Skill by T-Crypt

Generates, edits and upscales images and videos with ComfyUI through the Berth gateway. It lets ComfyUI share the GPU with chat models on machines that run Berth.

  • Score 75
  • 302 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install comfyui

Built from the published package, never by AI.

git clone --depth 1 https://github.com/T-Crypt/berth /tmp/berth && mkdir -p ~/.claude/skills && cp -r /tmp/berth/internal/skill/comfyui ~/.claude/skills/comfyui

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install comfyui in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The comfyui skill tells an AI agent how to generate, edit or upscale images and videos with ComfyUI on a machine that runs Berth. Berth decides which engine holds the GPU. Generating through Berth's port lets ComfyUI wake when asked, wait its turn, and hand the card back when a chat model needs it.

The skill also covers one-time setup: installing or adopting ComfyUI, adding an engine entry to Berth's config, and serving ComfyUI's port through the gateway. It explains how to submit API-format workflows, read results and fix common failures such as out-of-memory errors. It is for agents and users who run ComfyUI alongside other engines on a shared GPU.

Written from the project's SKILL.md and checked against it.

What it can do

  • Generate images or videoSubmits API-format ComfyUI workflows through Berth's port and reads the finished outputs.
  • Tune workflowsEdits node inputs such as prompt, seed, size and steps before submitting a workflow.
  • Set up ComfyUIInstalls or adopts a ComfyUI checkout and adds a ComfyUI entry to Berth's config.
  • Pull modelsSearches and downloads checkpoints and LoRAs from Civitai and Hugging Face with Berth commands.
  • Hand back the GPULets Berth park or drain ComfyUI so a chat model can take the card.
  • Diagnose failuresChecks Berth status and events when renders fail with out-of-memory or stop responding.

What you need

  • A machine that runs Berth
  • A ComfyUI checkout to adopt, or permission to clone one
  • PyTorch set up for the user's GPU when cloning a fresh ComfyUI

Try asking

  • Generate an image with my ComfyUI workflow through Berth
  • Upscale this picture using ComfyUI and show me the output
  • My ComfyUI render failed with VRAM grow failed, what should I check?

Good to know

  • Setup steps change the machine's services, so the agent should ask the user first.
  • Never start ComfyUI by hand or post to its own port when Berth's port exists.
  • A workflow that already ran returns its cached result unless the seed changes.
  • A prompt can wait while a game, VM or hold has the GPU.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: internal/skill/comfyui/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to comfyui

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

comfyui: common questions

Why should I use port 8189 instead of 8188?

Port 8189 is Berth's ComfyUI port and wakes ComfyUI under its lease. A parked ComfyUI on 8188 can load onto a card another engine holds and fail with out-of-memory errors.

Why does my ComfyUI job return the same image?

ComfyUI caches a workflow it has already run, so the same JSON with the same seed returns the old result at once. Change the seed to get a new image.

What does WARM mean in Berth status?

WARM means ComfyUI is parked in RAM. It still answers HTTP on its port, but no models are loaded on the card, so it is not ready to render.

How do I install comfyui?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is comfyui free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is comfyui safe to use?

It scores 75 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to comfyui?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

comfyui Install

Add to stack

Loading.