본문으로 건너뛰기
Skillpedia
이미지 및 아이콘58k · #3198

cli-anything-comfyui

하는 일

이 스킬은 에이전트가 명령줄에서 ComfyUI를 통해 AI 이미지 생성을 실행하게 합니다. ComfyUI를 쓰면서 앱을 열지 않고 작업을 대기열에 넣고 결과를 모으려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓ComfyUI에서 AI 이미지 워크플로를 대기열에 넣고 싶을 때.
  • ✓이미지 생성 작업의 진행 상황을 확인하고 싶을 때.
  • ✓ComfyUI에서 생성된 이미지를 내려받고 싶을 때.

스킬 링크

https://github.com/HKUDS/CLI-Anything/blob/main/comfyui/agent-harness/cli_anything/comfyui/skills/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/comfyui/agent-harness/cli_anything/comfyui/skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“ComfyUI에 제 인물 워크플로를 대기열에 넣고, 완성되면 이미지를 내려받아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 워크플로를 REST API로 ComfyUI 서버에 보냅니다. 대기열을 모니터링하고, 모델을 관리하며, 완료된 이미지를 내려받을 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

cli-anything-comfyui

AI image generation workflow management via the ComfyUI REST API. Designed for AI agents and power users who need to queue workflows, manage models, download generated images, and monitor the generation queue without a GUI.

Installation

This CLI is installed as part of the cli-anything-comfyui package:

pip install cli-anything-comfyui

Prerequisites:

Usage

Basic Commands

# Show help
cli-anything-comfyui --help

# Start interactive REPL mode
cli-anything-comfyui repl

# Check server stats
cli-anything-comfyui system stats

# Run with JSON output (for agent consumption)
cli-anything-comfyui --json system stats

REPL Mode

Start an interactive session for exploratory use:

cli-anything-comfyui repl
# Enter commands interactively with tab-completion and history

Command Groups

Workflow

Workflow management commands.

Command Description
list List saved workflows
load Load a workflow from a JSON file
validate Validate a workflow JSON against the ComfyUI node graph

Queue

Generation queue management.

Command Description
prompt Queue a workflow for execution
status Show current queue status (running and pending)
clear Clear the generation queue
history Show prompt execution history
interrupt Interrupt the currently running generation

Models

Model discovery commands.

Command Description
checkpoints List available checkpoint models
loras List available LoRA models
vaes List available VAE models
controlnets List available ControlNet models
node-info Show detailed info for a specific node type
list-nodes List all available node types

Images

Generated image management.

Command Description
list List generated images on the server
download Download a specific generated image
download-all Download all images from a prompt execution

System

Server status and information.

Command Description
stats Show ComfyUI system statistics (GPU, CPU, memory)
info Show ComfyUI server info and extensions

Examples

Check System Status

# Server stats
cli-anything-comfyui system stats

# Server info
cli-anything-comfyui system info

Discover Available Models

# List checkpoints
cli-anything-comfyui models checkpoints

# List LoRAs
cli-anything-comfyui models loras

# List all node types
cli-anything-comfyui models list-nodes

Queue and Monitor Generation

# Queue a workflow
cli-anything-comfyui queue prompt --workflow my_workflow.json

# Check queue status
cli-anything-comfyui queue status

# View execution history
cli-anything-comfyui --json queue history

Download Generated Images

# List generated images
cli-anything-comfyui images list

# Download a specific image
cli-anything-comfyui images download --filename ComfyUI_00001_.png --output ./out.png

# Download all images from a prompt
cli-anything-comfyui images download-all --prompt-id <id> --output-dir ./outputs

Output Formats

All commands support dual output modes:

  • Human-readable (default): Tables, colors, formatted text
  • Machine-readable (--json flag): Structured JSON for agent consumption
# Human output
cli-anything-comfyui system stats

# JSON output for agents
cli-anything-comfyui --json system stats

For AI Agents

When using this CLI programmatically:

  1. Always use --json flag for parseable output
  2. Check return codes - 0 for success, non-zero for errors
  3. Parse stderr for error messages on failure
  4. Use absolute paths for all file operations
  5. Verify ComfyUI is running with system stats before other commands

More Information

  • Full documentation: See README.md in the package
  • Test coverage: See TEST.md in the package
  • Methodology: See HARNESS.md in the cli-anything-plugin

Version

1.0.0

자주 묻는 질문

ComfyUI가 실행 중이어야 하나요?

네. ComfyUI가 설치되어 localhost 포트 8188에서 실행 중이어야 합니다.

모델을 관리할 수 있나요?

네. 스킬은 ComfyUI가 사용하는 AI 모델을 관리할 수 있습니다.

시각적 인터페이스가 있나요?

아닙니다. 명령줄 기반이며, 대화형 사용을 위한 REPL 모드는 있습니다.

상세 정보

작성자의 원본 설명

Command-line interface for ComfyUI - AI image generation workflow management via ComfyUI REST API. Designed for AI agents and power users who need to queue workflows, manage models, download generated images, and monitor the generation queue without a GUI.

repo: HKUDS/CLI-Anything

인기도

GitHub 스타
58k
순위
#3198
라이선스
Apache-2.0
업데이트
2026. 9. 21.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬