Install, manage, and run ComfyUI instances. Use when setting up ComfyUI, launching servers, installing/updating/debugging custom nodes, downloading models from CivitAI/HuggingFace, managing workspaces, running API workflows, or troubleshooting node conflicts with bisect.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install comfy-cli或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install comfy-cli⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/comfy-cli/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: comfy-cli description: Install, manage, and run ComfyUI instances. Use when setting up ComfyUI, launching servers, installing/updating/debugging custom nodes, downloading models from CivitAI/HuggingFace, managing workspaces, running API workflows, or troubleshooting node conflicts with bisect. metadata: {"clawdbot":{"emoji":"🎨","requires":{"bins":["comfy"]},"install":[{"id":"uv","kind":"uv","package":"comfy-cli","bins":["comfy"],"label":"Install comfy-cli (uv)"}]}} ---
CLI tool for managing ComfyUI installations, custom nodes, and models.
comfy install # Install ComfyUI + ComfyUI-Manager
comfy launch # Start ComfyUI server
comfy node install ComfyUI-Impact-Pack # Install a custom node
comfy model download --url "https://civitai.com/api/download/models/12345"
comfy install # Interactive GPU selection
comfy install --nvidia # NVIDIA GPU
comfy install --amd # AMD GPU (Linux ROCm)
comfy install --m-series # Apple Silicon
comfy install --cpu # CPU only
comfy install --restore # Restore deps for existing install
comfy install --pr 1234 # Install specific PR
comfy install --version latest # Latest stable release
comfy install --version 0.2.0 # Specific version
GPU options: --nvidia, --amd, --intel-arc, --m-series, --cpu
CUDA versions (NVIDIA): --cuda 12.9, --cuda 12.6, --cuda 12.4, --cuda 12.1, --cuda 11.8
Other flags: --skip-manager, --skip-torch-or-directml, --skip-requirement, --fast-deps
comfy launch # Foreground mode
comfy launch --background # Background mode
comfy launch -- --listen 0.0.0.0 # Pass args to ComfyUI
comfy stop # Stop background instance
comfy launch --frontend-pr 1234 # Test frontend PR
Global flags (mutually exclusive):
comfy --workspace /path/to/ComfyUI ... # Explicit path
comfy --recent ... # Last used instance
comfy --here ... # Current directory
comfy which # Show selected instance
comfy set-default /path/to/ComfyUI # Set default
comfy node show # List installed nodes
comfy node simple-show # Compact list
comfy node install <name> # Install from registry
comfy node install <name> --fast-deps # Fast dependency install
comfy node reinstall <name> # Reinstall node
comfy node uninstall <name> # Remove node
comfy node update all # Update all nodes
comfy node disable <name> # Disable node
comfy node enable <name> # Enable node
comfy node fix <name> # Fix node dependencies
Snapshots:
comfy node save-snapshot # Save current state
comfy node save-snapshot --output snapshot.json
comfy node restore-snapshot snapshot.json
comfy node restore-dependencies # Restore deps from nodes
Debugging:
comfy node bisect # Binary search for broken node
comfy node deps-in-workflow workflow.json # Extract deps from workflow
comfy node install-deps --workflow workflow.json # Install workflow deps
Publishing:
comfy node init # Init scaffolding
comfy node scaffold # Create project via cookiecutter
comfy node validate # Validate before publishing
comfy node pack # Package node
comfy node publish # Publish to registry
comfy model list # List available models
comfy model download --url <url> # Download from URL
comfy model remove <name> # Remove model
Sources: CivitAI, Hugging Face, direct URLs
Tokens for gated models:
--civitai-token or config civitai_api_token--hf-token or config hf_api_tokencomfy run --workflow workflow_api.json
comfy run --workflow workflow.json --wait --verbose
comfy run --workflow workflow.json --host 192.168.1.10 --port 8188
Requires running ComfyUI instance.
comfy manager disable-gui # Hide manager in UI
comfy manager enable-gui # Show manager in UI
comfy manager clear # Clear startup actions
comfy update all # Update ComfyUI + nodes
comfy update comfy # Update ComfyUI only
comfy env # Show config and paths
comfy --version # Print CLI version
comfy pr-cache list # List cached PR builds
comfy pr-cache clean # Clear expired caches
comfy standalone # Create standalone Python bundle
comfy tracking enable|disable # Manage analytics
comfy feedback # Submit feedback
Location:
~/.config/comfy-cli/config.ini~/Library/Application Support/comfy-cli/config.ini%APPDATA%\Local\comfy-cli\config.iniKeys: default_workspace, default_launch_extras, civitai_api_token, hf_api_token
--skip-prompt for non-interactive mode (CI/scripts)comfy stopcomfy node bisect binary-searches to find which node broke your setup安装 Comfy Cli 后,可以对 AI 说这些话来触发它
Help me get started with Comfy Cli
Explains what Comfy Cli does, walks through the setup, and runs a quick demo based on your current project
Use Comfy Cli to install, manage, and run ComfyUI instances
Invokes Comfy Cli with the right parameters and returns the result directly in the conversation
What can I do with Comfy Cli in my developer & devops workflow?
Lists the top use cases for Comfy Cli, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/comfy-cli/ 目录(个人级,所有项目可用),或 .claude/skills/comfy-cli/(项目级)。重启 AI 客户端后,用 /comfy-cli 主动调用,或让 AI 根据上下文自动发现并使用。
Comfy Cli 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Comfy Cli 可免费安装使用。请查阅仓库了解许可证信息。
Install, manage, and run ComfyUI instances. Use when setting up ComfyUI, launching servers, installing/updating/debugging custom nodes, downloading models from CivitAI/HuggingFace, managing workspaces, running API workflows, or troubleshooting node conflicts with bisect.
Comfy Cli 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Comfy Cli
Identifies repetitive steps in your workflow and sets up Comfy Cli to handle them automatically