Source profileQuality 83/100

HKUDS/CLI-Anything/skills/cli-anything-comfyui/SKILL.md

cli-anything-comfyui

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.

Source repository stars
46,599
Declared platforms
0
Static risk flags
1
Last source update
2026-08-03
Source checked
2026-08-04

Decision brief

What it does—and where it fits

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.

Best for

    Not for

    • Tasks that require unconfirmed production actions or broad system permissions.
    • Environments where the pinned source and install steps cannot be inspected.

    Compatibility matrix

    Platform support, with evidence labels

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    Installation

    Inspect first. Install second.

    The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

    Source-detected install commandSource
    npx skills add https://github.com/HKUDS/CLI-Anything --skill "skills/cli-anything-comfyui"
    Safe inspection promptEditorial

    Inspect the Agent Skill "cli-anything-comfyui" from https://github.com/HKUDS/CLI-Anything/blob/39634a640cf20bc603b4faae4d31069c44821a9a/skills/cli-anything-comfyui/SKILL.md at commit 39634a640cf20bc603b4faae4d31069c44821a9a. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

    Workflow

    What the source asks the agent to do

    1. 01

      Usage

      Review the “Usage” section in the pinned source before continuing.

      Review and apply the “Usage” source section.
    2. 02

      Workflow

      Workflow management commands.

      Workflow management commands.
    3. 03

      Queue a workflow

      cli-anything-comfyui queue prompt --workflow myworkflow.json

      cli-anything-comfyui queue prompt --workflow myworkflow.json
    4. 04

      Installation

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

      Python 3.10+ComfyUI must be installed and running at http://localhost:8188This CLI is installed as part of the cli-anything-comfyui package:

    Permission review

    Static risk signals and limitations

    Reads files

    low · line 54

    The documentation asks the agent to read local files, directories, or repositories.

    | `load` | Load a workflow from a JSON file |

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score83/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars46,599SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

    Pinned source

    Provenance and original SKILL.md

    Repository
    HKUDS/CLI-Anything
    Skill path
    skills/cli-anything-comfyui/SKILL.md
    Commit
    39634a640cf20bc603b4faae4d31069c44821a9a
    License
    Apache-2.0
    Collected
    2026-08-04
    Default branch
    main
    View the original SKILL.md

    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.

    CommandDescription
    listList saved workflows
    loadLoad a workflow from a JSON file
    validateValidate a workflow JSON against the ComfyUI node graph

    Queue

    Generation queue management.

    CommandDescription
    promptQueue a workflow for execution
    statusShow current queue status (running and pending)
    clearClear the generation queue
    historyShow prompt execution history
    interruptInterrupt the currently running generation

    Models

    Model discovery commands.

    CommandDescription
    checkpointsList available checkpoint models
    lorasList available LoRA models
    vaesList available VAE models
    controlnetsList available ControlNet models
    node-infoShow detailed info for a specific node type
    list-nodesList all available node types

    Images

    Generated image management.

    CommandDescription
    listList generated images on the server
    downloadDownload a specific generated image
    download-allDownload all images from a prompt execution

    System

    Server status and information.

    CommandDescription
    statsShow ComfyUI system statistics (GPU, CPU, memory)
    infoShow 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

    Alternatives

    Compare before choosing

    Computed 10023,781

    alirezarezvani/claude-skills

    app-store-optimization

    App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

    Computed 1004,922

    dotnet/skills

    migrate-vstest-to-mtp

    Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing

    Computed 9929,558

    HKUDS/Vibe-Trading

    strategy-generate

    Create, modify, and optimize quantitative trading strategies, then backtest and evaluate them.

    Computed 9832,606

    K-Dense-AI/scientific-agent-skills

    dask

    Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.