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.
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/comfyuiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/T-Crypt/berth /tmp/berth && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/berth/internal/skill/comfyui ~/.gemini/antigravity-cli/skills/comfyuiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
