sickn33/antigravity-awesome-skills/comfyui-gateway

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

REST API gateway for ComfyUI servers. Workflow management, job queuing, webhooks, caching, auth, rate limiting, and image delivery (URL + base64).

Install

npx vskill@latest install sickn33/antigravity-awesome-skills/comfyui-gateway

SKILL.md

ComfyUI Gateway

Overview

Design or review a REST gateway around an existing ComfyUI server. This skill contains documentation only: no gateway application, package manifest, Dockerfile, CLI, database migrations or runnable workflow templates are bundled. Obtain the actual implementation and its version before proposing install or startup commands. The proposed gateway routes below are not native ComfyUI endpoints.

When to Use

Use when designing ComfyUI job submission, authenticated result delivery, worker queues or webhook integrations. For direct ComfyUI calls, consult its native API.

Architecture and contract

A gateway can validate requests, map reviewed workflow templates, submit work to ComfyUI, persist job state and deliver authorized outputs. Fastify, BullMQ, Redis, SQLite/Postgres and S3 are possible components, not installed capabilities.

Proposed gateway operationRequired behavior
POST /jobsAuthenticate caller; validate bounded inputs; authorize workflow; return job ID
GET /jobs/:idReturn only jobs accessible to this principal
POST /jobs/:id/cancelAuthorize cancellation; distinguish requested from confirmed cancellation
GET /outputs/:id/:fileEnforce ownership and path containment; never trust caller file paths
Workflow CRUDRequire admin authorization and audit changes
Health/capabilitiesExpose minimal operational information without secrets

Specify one state vocabulary, for example queued, running, succeeded, failed and canceled. Persist transitions atomically. A client timeout does not cancel server work. Define restart recovery, idempotency-key scope/expiry and retry behavior; Redis alone does not prove durability or exactly-once execution.

Native ComfyUI routes include POST /prompt, GET /history/{prompt_id}, GET /view, GET /object_info and WS /ws. Validate the pinned server's request/response shapes. Export a complete API-format workflow from ComfyUI; a two-node fragment with references to absent nodes cannot execute. Preserve numeric input types when rendering templates and reject unknown nodes/parameters.

Security and operating boundaries

  • Bind development listeners to loopback. Remote deployments require TLS,

authentication, per-principal authorization and network controls. CORS is not access control. Fail startup when required credentials are missing.

  • Keep API/JWT/storage secrets in a secret store; do not echo environment files,

embed admin keys in browser clients or issue ad-hoc admin JWTs to fix access.

  • Restrict callback origins and resolved IPs, block private/metadata networks as

appropriate, and revalidate every redirect or disable redirects. A hostname allowlist alone does not prevent SSRF or DNS rebinding.

  • Sign exact webhook bytes and validate before side effects. Add replay handling

and durable deduplication; acknowledge only after durable acceptance.

  • Keep outputs private by default. Restrict filesystem paths, tenant cache keys

and signed URL lifetimes. Include workflow/model/version/seed in cache identity; random-seed jobs must not accidentally reuse another generation or tenant data.

  • Bound job count, dimensions, batch, wall time, polling, download bytes and cost.

More steps usually increase time; diagnose the actual memory-failing node before promising that fewer steps solve OOM. Model, hardware and custom nodes matter.

  • Review model/custom-node licenses and code before activation. Show planned

installation, deployment, data transmission and destructive actions for approval.

Example

User: “Put our local ComfyUI behind a job API.”

Response: “First identify the reviewed server/gateway commit, complete workflow, allowed callers and output retention. I will propose a job-state/auth contract, then test invalid inputs, cross-user job access, callback SSRF, replay, restart recovery and cancellation in an isolated deployment before exposing it.”

Read integration guidance for webhook verification and troubleshooting for bounded diagnosis.

Limitations

This is a design reference, not a deployable gateway or production-security certification. No runtime/API compatibility, throughput, automatic fallback, privacy mode, included model or deployment guarantee is established by this tree. Require tests against the actual implementation before asserting those features.

Sources

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
26,506
Repository forks
4,518
Repository npm downloads, 7 days
6,478
7-day trend score
72

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 22 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sickn33/antigravity-awesome-skills/comfyui-gateway/badge)](https://verified-skill.com/skills/sickn33/antigravity-awesome-skills/comfyui-gateway)

Something wrong with this skill or its page? Tell us.