cli-anything-generator
Build, refine, test, validate, or list CLI-Anything harnesses for GUI applications in Cursor. Prefer slash commands…
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.
Claude Code
$ npx -y skills add HKUDS/CLI-Anything --skill cli-anything-comfyui --agent claude-code
Codex
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-comfyui -a codex -y
Cursor
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-comfyui -a cursor -y
Gemini CLI
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-comfyui -a gemini-cli -y
GitHub Copilot
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-comfyui -a github-copilot -y
OpenCode
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-comfyui -a opencode -y
Windsurf
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-comfyui -a windsurf -y
name: "cli-anything-comfyui" description: >- 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.
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.
This CLI is installed as part of the cli-anything-comfyui package:
pip install cli-anything-comfyui
**Prerequisites:**
# 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
Start an interactive session for exploratory use:
cli-anything-comfyui repl # Enter commands interactively with tab-completion and history
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 |
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 |
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 |
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 |
Server status and information.
| Command | Description | |---------|-------------| | `stats` | Show ComfyUI system statistics (GPU, CPU, memory) | | `info` | Show ComfyUI server info and extensions |
# Server stats cli-anything-comfyui system stats # Server info cli-anything-comfyui system info
# 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 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
# 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
All commands support dual output modes:
# Human output cli-anything-comfyui system stats # JSON output for agents cli-anything-comfyui --json system stats
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
1.0.0
"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
Build, refine, test, validate, or list CLI-Anything harnesses for GUI applications in Cursor. Prefer slash commands…
Firefly III CLI - Personal finance management via CLI-Anything
Use OpenRefine through an agent-native CLI for importing messy data, applying JSON operation histories, inspecting rows,…
Command-line interface for AdGuard Home - Network-wide ad blocking and DNS management via AdGuard Home REST API. Designed for AI…
Command-line interface for Anygen - A stateful command-line interface for AnyGen OpenAPI — generate professional slides,…
Command-line interface for Audacity - A stateful command-line interface for audio editing, following the same patterns as the…
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a…
Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on…
Set up a new integration, connector, or CLI binding for any API. Wrap or generate a ship-ready Go CLI from an OpenAPI, HAR, or…
MANDATORY: Replaces ALL built-in search tools. You MUST invoke this skill BEFORE using WebSearch, Grep, or Glob. NEVER use the…