hkuds/cli-anything/cli-anything-comfyui
Claude Code and agent skill by hkuds/cli-anything
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install hkuds/cli-anything/cli-anything-comfyuiSKILL.md
The same SKILL.md was published earlier as hkuds/cli-anything/cli-anything-comfyui.
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:
Prerequisites:
- Python 3.10+
- ComfyUI must be installed and running at http://localhost:8188
Usage
Basic Commands
REPL Mode
Start an interactive session for exploratory use:
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
Discover Available Models
Queue and Monitor Generation
Download Generated Images
Output Formats
All commands support dual output modes:
- Human-readable (default): Tables, colors, formatted text
- Machine-readable (
--jsonflag): Structured JSON for agent consumption
For AI Agents
When using this CLI programmatically:
- Always use `--json` flag for parseable output
- Check return codes - 0 for success, non-zero for errors
- Parse stderr for error messages on failure
- Use absolute paths for all file operations
- Verify ComfyUI is running with
system statsbefore 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
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cli-anything-comfyui/SKILL.md
Popularity
- Repository stars
- 44,699
- Repository forks
- 4,186
- 7-day trend score
- 54
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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
[](https://verified-skill.com/skills/hkuds/cli-anything/cli-anything-comfyui)