N Noer

Getting Started with Hermes + ComfyUI Skills: Agentic Image Workflows Are More Than Prompts

ComfyUI has never had a problem producing images. Its real challenge is operational: powerful node graphs quickly become private machinery that only the original author understands. Hermes plus ComfyUI Skills does not replace ComfyUI or magically solve taste. It gives the workflow a reliable operator that can inspect dependencies, inject parameters, run batches, collect outputs, and turn successful runs into reusable assets.

ComfyUI has never had a problem producing images. It can connect checkpoints, samplers, ControlNet, LoRA, VAE, upscalers, face restoration, video nodes, and custom extensions into remarkably capable pipelines. The hard part is not whether an image can be generated. The hard part is whether the workflow can be understood, repeated, changed, debugged, and handed to someone else without turning into a pile of wires that only its author can read.

That is where Hermes plus ComfyUI Skills becomes useful. The point is not to spare the user from writing a prompt. The point is to let an agent take over the operational work around a ComfyUI workflow: checking what the graph needs, deciding which parameters are safe to modify, running the right commands, validating outputs, saving artifacts, and documenting what changed.

In other words, Hermes does not replace ComfyUI. It adds a competent operator on top of it.

Separate the three layers first

The first layer is ComfyUI itself. It is the runtime that loads models, executes nodes, wires graphs together, and writes images or videos to disk. If this layer is broken, no amount of agent instruction will help.

The second layer is the workflow JSON. This is the reusable asset. A good workflow is not merely a graph that runs once on the author's machine. It should make clear which parameters can be changed, which models are required, which custom nodes are involved, and what kind of output it is expected to produce.

The third layer is the Agent Skill. The skill tells Hermes how to behave when the user asks for an image, a batch, an edit to an existing graph, or a dependency check. It encodes the procedure: what to inspect first, which commands to run, what to ask the user to judge, and what evidence must be collected before calling the job done.

Most failed attempts mix these layers together. The agent writes a confident description but never reaches the ComfyUI API. Or ComfyUI runs once, but the next request starts from scratch because the reusable workflow and the agent's operating rules were never captured.

The minimum practical path

For local use, start by checking whether the machine is actually suitable for ComfyUI. If there is no appropriate GPU or the memory budget is too tight, forcing a local installation is usually a waste of time. Use a cloud instance, a separate workstation, or a remote ComfyUI server instead.

BASH
python3 scripts/hardware_check.py --json

A typical local installation goes through comfy-cli:

BASH
pipx install comfy-cli comfy --skip-prompt tracking disable comfy --skip-prompt install --nvidia comfy launch --background curl -s http://127.0.0.1:8188/system_stats

Once the service is running, resist the temptation to ask the agent to generate something immediately. Prepare an API-format workflow JSON first. In ComfyUI this is not the same as the editor-format graph. A simple way to recognize the correct format is that nodes contain class_type.

BASH
python3 scripts/extract_schema.py workflow_api.json --summary-only python3 scripts/check_deps.py workflow_api.json

Those two checks are not bureaucracy. The schema extraction tells Hermes which fields are meant to be controlled. The dependency check tells you which models or custom nodes are missing before the run fails halfway through. Without this step, the agent is likely to spend its time guessing at errors that should have been detected up front.

Let the agent own repetition, not taste

The easiest way to misuse an image agent is to hand over the entire aesthetic decision. Hermes can generate ten candidates, but it cannot know by itself which one fits your brand, which composition feels trustworthy, which output risks copyright confusion, or which character variation breaks continuity. Those choices still need human judgment.

What the agent is excellent at is repetitive operational work:

  • Selecting a baseline workflow such as SDXL text-to-image, image-to-image, inpainting, or upscaling.
  • Injecting prompt, negative prompt, seed, steps, denoise, dimensions, and sampler settings into known-safe fields.
  • Running batches across multiple seeds, prompt variants, or style presets.
  • Checking for missing checkpoints, LoRAs, VAEs, and custom nodes before execution.
  • Downloading outputs, renaming files, and organizing them by run.
  • Recording the final parameter set so the result can be reproduced later.

This is the real use of a ComfyUI Skill. It turns a handmade graph into an executable procedure. The agent should not invent a new graph every time. It should choose from known workflows, modify the exposed controls, run them, and report exactly what happened.

What a good ComfyUI Skill should contain

A useful skill is less like a prompt template and more like a runbook. It should define where workflows live, how to validate them, how to call the ComfyUI API, where outputs are saved, and how to handle common failures.

At minimum, include a small library of API-format workflows, a dependency manifest, a parameter schema for each workflow, example commands, and acceptance criteria. If a workflow depends on a specific checkpoint or custom node, write that down. If a field should never be modified by the agent, mark it as fixed. If an output must be reviewed by a human before being published, make that explicit.

The goal is auditability. When an image is approved, you should be able to answer: which workflow ran, which model was used, which seed produced the chosen image, what prompt was injected, what post-processing occurred, and where the final file was stored.

Common failure modes

The most common failure is giving Hermes a beautiful but non-API workflow export. The editor graph may look correct in ComfyUI, but the API cannot execute it directly. The second is hiding model dependencies in local paths that only exist on one machine. The third is allowing the agent to edit arbitrary node fields without a schema, which quickly breaks graphs in subtle ways.

Another frequent mistake is treating every failed image as a prompt problem. Sometimes the prompt is fine and the issue is denoise strength, image size, an incompatible LoRA, a missing VAE, a ControlNet preprocessor, or a post-processing node. A well-written skill should make Hermes inspect the workflow and run logs instead of blindly adding more adjectives to the prompt.

The right mental model

Hermes plus ComfyUI is best understood as a production loop. Humans define taste, constraints, and final approval. ComfyUI provides the image-generation runtime. The skill gives the agent a repeatable operating procedure. Hermes then executes the boring but important parts: checking, running, collecting, comparing, and documenting.

That is a more durable workflow than chasing the perfect one-line prompt. A prompt can produce a lucky image once. A ComfyUI workflow plus an agentic runbook can produce a controlled series of images, explain how they were made, and make the next run cheaper than the last one.