- Home
- Skills
- Image & Video
- ComfyUI Server Ops over HTTP
ComfyUI Server Ops over HTTP
Run jobs on a shared ComfyUI box without monopolising the queue.
Free
ComfyUI Server Ops over HTTP
Example session with this skill installed
Check the queue on $COMFYUI_URL and submit the portrait workflow with prefix 'batch_01' only if nothing else is running. If someone else's job is in the queue, stop and tell me.
- Read your context and instructions
- Compiled the comfyui server ops
Queue on $COMFYUI_URL was 0 running / 0 pending, so the portrait workflow was submitted; the queue now shows one item of mine (position 1). Time to first image was about 45 s on a warm server — cold start on the same class of box measured roughly 19–29 s just to load the model, so treat 45 s as warm-start only.
Submission Status
| Parameter | Value |
|---|---|
| Server URL | $COMFYUI_URL |
| Prompt ID | f7a2b9c1-… |
| Filename Prefix | batch_01_20231027_r1 |
| Queue Status | Submitted (position 1, mine is the only item) |
| Time to first image | ~45 s (warm start) |
Scan history instead of trusting one prompt ID — GET /history/{prompt_id} often returns {} even when the image exists:
import json, urllib.parse, urllib.request
def harvest_batch(server, prefix):
# GET /history (full list), match filenames by prefix, fetch via /view
history = json.loads(urllib.request.urlopen(f"{server}/history").read())
for pid, data in history.items():
for node_output in data.get("outputs", {}).values():
for img in node_output.get("images", []):
if img["filename"].startswith(prefix):
q = urllib.parse.urlencode({"filename": img["filename"], "subfolder": img.get("subfolder", ""), "type": img.get("type", "output")})
print(f"{server}/view?{q}")
Next steps
- If the session times out, do not resubmit: scan
GET /historyfor filenames starting with the prefix and pull the file with/view(includesubfolder, or you get a 404). - Re-check
GET /queuebefore the next item; if the running job isn't yours, stop rather than queue behind it. - Used this prefix before? The server appends
_00001_/_00002_counters — deliver this run's file, not last batch's.
Connects securely to your tools. The creator never sees your data.
About this skill
Operational discipline for submitting, polling, and scheduling work on a shared ComfyUI machine: one job at a time, queue courtesy, timeout and partial-file traps, cron collisions, and model downloads when you have no shell on the box. Examples use $COMFYUI_URL and may call the ComfyUI HTTP API, Hugging Face, or Civitai (token from a local .env, passed as a query parameter). Those network calls are documented in the skill; the package itself does not hardcode credentials or hosts.
Custom-node install over HTTP only works when the box allows manager installs at weak/normal security and git-URL installs on a loopback listener — a remotely-listening server has no API path, the owner has to clone and restart. Downloads larger than roughly 10 GB should not be pushed through a download node at all: one 22 GB weight stalled at 18.9 GB, could not be interrupted, and only finished when the owner fetched it by hand. Creating directories under a Windows junction can fail with WinError 183 when python3 is the Microsoft Store build — use a venv python. The skill text and its six reference documents are written in Traditional Chinese, and there are no runnable scripts: the snippets are curl/Python you paste into your own code.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 16 days ago
- Free with an Agensi account
- Software
- ComfyUI server (reachable over HTTP)curlor
Python 3
Git
- Optional
Hugging FaceCivitai
Shared ComfyUI boxes are queue politics, not code. This is the rulebook: one job at a time, yield when the running job isn't yours, poll /history by filename prefix, never retry POST /prompt blind. Bring your own workflow and URL; snippets are curl/Python. Skill text is Traditional Chinese.
Permissions
What's inside
Frequently Asked Questions
New in Image & Video
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Video Skills.