# ComfyUI Server Ops over HTTP

> Run jobs on a shared ComfyUI box without monopolising the queue.

ComfyUI Server Ops over HTTP is a free AI agent skill on Agensi by Drizzt Studio, in Image & Video. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Drizzt Studio](https://www.agensi.io/creators/drizztstudio)
- Category: [Image & Video](https://www.agensi.io/skills/image-video)
- Version: 1.0
- Last updated: 2026-11-19
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/comfyui-server-ops-over-http
- Tags: api, image, devops, comfyui, queue, cron, ops, video

## 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.

## Requires

- ComfyUI server (reachable over HTTP)
- curl or Python 3
- Git
- Optional: Hugging Face
- Optional: Civitai

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.

## Known limitations

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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ComfyUI Server Ops over HTTP skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill handle ComfyUI production errors differently than a standard API call?

It is not a wrapper library. It is the operating rules around the same HTTP calls you already make: check GET /queue before submitting, back off when another job is running, and treat POST /prompt as non-idempotent — a dropped response may mean the job is already queued, so re-check /queue or /history for your prefix before retrying. Polling by filename prefix exists because /history/{prompt_id} frequently returns {} for jobs that succeeded.

### Is this skill compatible with specific AI agent frameworks?

Anything that can make HTTP calls: a shell with curl, or Python 3 with urllib/requests. No SDK, no ComfyUI install and no custom client library on the agent side — only a reachable server URL. Multi-host agents work too, but the server must listen beyond loopback for that, which is exactly when custom-node installs stop being possible.

### What exactly is included?

One SKILL.md plus six reference documents: HTTP API scripting contract, history forensics, cron collision and re-arming, cron provider-outage triage, external workflow port audit, and remote model download with no shell. Everything is prose plus inline curl/Python snippets you adapt to your own workflow — there are no bundled scripts and nothing to install.

### Can I use this skill if my ComfyUI server is running on Windows while my agent is on Linux?

There is no code layer to do it for you; the traps are documented with fixes you apply in your own script: MSYS paths vs native forward-slash paths, native Python's /tmp not being bash's /tmp, junction trees returning 0 files without error under find, and cron jobs that work interactively then die on the first line because they relied on relative paths.

### Does this skill support multi-user environments where multiple agents share one GPU?

Yes, that is the first rule of the skill. One job at a time: read GET /queue, identify other people's work by input filename prefix or model name, let their running job finish, and submit only into an empty queue. Chained batches are explicitly banned even when sequential, because 20 items at 5.5 minutes blocks everyone's morning — finish one, report, and wait for the go-ahead.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
