This connects Claude to a running ComfyUI instance so you can queue workflows, poll for completion, and grab the outputs without leaving the terminal. It hits the REST API endpoints for prompt submission, history checking, and file retrieval, with a fallback to JSON export mode when the server isn't running. The polling strategy is straightforward: POST your workflow, then GET the history endpoint every 5 seconds until you see results. It includes validation against your installed nodes and models before queuing anything. Useful when you're orchestrating image or video generation from ComfyUI as part of a larger automated pipeline and don't want to touch the web UI.
npx skills add https://github.com/mckruz/comfyui-expert --skill comfyui-api