Skip to main content

ComfyUI workflow execution skill for agents with packaged workflows and CLI tooling

Project description

ComfyUI Agent Skill

This repository is an Agent Skill folder (Claude Code / Claude.ai / Agent Skills). The only required file is SKILL.md.

Status

  • Requires a local or trusted self-hosted ComfyUI server (this repo is not a hosted service).
  • Not a hosted generation service; this package does not provide a ComfyUI backend.
  • This package does not install ComfyUI itself.
  • Stable interface: registered workflows only + CLI with structured JSON output.
  • Recommended trust model: do not point this at an untrusted public ComfyUI endpoint.
  • PyPI package: comfyui-agent-skill-mie (includes comfyui-skill alias).

Registered Workflows

Stable (reviewed configs in assets/workflows/*.config.json):

  • z_image_turbo (text-to-image)
  • klein_edit (image edit)
  • qwen3_tts (text-to-speech)
  • ltx-23-t2v (text-to-video)
  • ltx-23-i2v (image-to-video)
  • ace_step_15_music (music/audio)
  • qwen_image_2512_4step (text-to-image, excels at posters and images with embedded text)

Source of truth: the runtime registry is derived from assets/workflows/*.config.json (and the corresponding assets/workflows/*.json workflow files). If this list drifts, trust the configs and python -m comfyui generate --help output.

For Skill Users (Generate / Edit / Video / Audio)

Use this when you want to run registered ComfyUI workflows via the CLI in this repo.

Quick Start

Install (Recommended: pipx)

pipx install comfyui-agent-skill-mie
comfyui-agent-skill-mie check
comfyui-agent-skill-mie generate -p "a cute cat sitting on a windowsill at golden hour"
comfyui-skill check
comfyui-skill generate -p "a cute cat sitting on a windowsill at golden hour"

Alternative: uv tool install

uv tool install comfyui-agent-skill-mie
comfyui-agent-skill-mie check
comfyui-agent-skill-mie generate -p "a cute cat sitting on a windowsill at golden hour"
comfyui-skill check
comfyui-skill generate -p "a cute cat sitting on a windowsill at golden hour"

Source mode (for development / maintainers)

uv sync
uv run --no-sync python -m comfyui check
uv run --no-sync python -m comfyui generate -p "a cute cat sitting on a windowsill at golden hour"

Optional short command (after uv sync installs the project):

uv run --no-sync comfyui-skill check
uv run --no-sync comfyui-skill generate -p "a cute cat sitting on a windowsill at golden hour"

From a local wheel (for testing before PyPI publish):

pipx install dist/comfyui_agent_skill_mie-*.whl

Or install from GitHub:

pipx install "git+https://github.com/MieMieeeee/comfyui-agent-skill.git"

In tool-install mode, workflows/references are read from the installed package, while writable data goes to a per-user directory:

  • Windows: %APPDATA%\\comfyui-skill
  • macOS: ~/Library/Application Support/comfyui-skill
  • Linux: $XDG_DATA_HOME/comfyui-skill or ~/.local/share/comfyui-skill

Short alias also available: comfyui-skill

Upgrade

If you installed via pipx:

pipx upgrade comfyui-agent-skill-mie

If you installed via uv tool:

uv tool upgrade comfyui-agent-skill-mie

Troubleshooting

  • Run an environment doctor check (server + workflow preflight):
    • comfyui-skill doctor (recommended)
    • comfyui-agent-skill-mie doctor
    • uv run --no-sync python -m comfyui doctor (source mode)
  • If the agent/skill runs inside WSL/container/sandbox while ComfyUI runs on the host OS, 127.0.0.1 may point to the runtime itself instead of the host. Try --server http://localhost:8188 or the host machine IP (and optionally persist it via save-server).
  • SERVER_UNAVAILABLE: ComfyUI is not reachable at the target URL. Start ComfyUI or re-run with --server http://<ip>:8188.
  • PREFLIGHT_MISSING_NODES: install/enable required custom nodes on the ComfyUI server.
  • PREFLIGHT_MISSING_MODELS: download required model files on the ComfyUI server.
  • NO_OUTPUT: workflow ran but no media could be retrieved; check the workflow output node and server logs/UI.
  • For PREFLIGHT_MISSING_NODES, PREFLIGHT_MISSING_MODELS, or NO_OUTPUT, consult the dependency reference: references/workflow_nodes.md.

For Maintainers (Add / Review Workflows)

Maintenance docs are intentionally kept out of SKILL.md to keep the skill instructions user-focused.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comfyui_agent_skill_mie-0.1.3.tar.gz (74.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comfyui_agent_skill_mie-0.1.3-py3-none-any.whl (93.3 kB view details)

Uploaded Python 3

File details

Details for the file comfyui_agent_skill_mie-0.1.3.tar.gz.

File metadata

  • Download URL: comfyui_agent_skill_mie-0.1.3.tar.gz
  • Upload date:
  • Size: 74.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for comfyui_agent_skill_mie-0.1.3.tar.gz
Algorithm Hash digest
SHA256 56960d4c1081c9392e0c36a80fec8dc22442c896559e67d3727f1bc9a287deba
MD5 3d933fd0d82b3c496d1a277c897f2d2c
BLAKE2b-256 c6b61f1f1d7e10a82aaae9f8bf5d477c3a0cbd6fc6192a02810ab90f9879f860

See more details on using hashes here.

File details

Details for the file comfyui_agent_skill_mie-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for comfyui_agent_skill_mie-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 db4ad812859e1eebdb23a91a6fb3bebcdd0a8cfd522bccf655f665ad0da5727f
MD5 779844ba44b385a861df30939deba0a3
BLAKE2b-256 6a29aa81c94b450db953f4ccb8d82af1ec78f19b7c052eee253eabc9bdef4b9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page