Skillpedia
الصور والأيقونات58k · #3198

cli-anything-comfyui

ما الذي تفعله

تتيح هذه المهارة لوكيلك تشغيل توليد الصور بالذكاء الاصطناعي عبر ComfyUI من سطر الأوامر. وهي مخصصة لمن يستخدمون ComfyUI ويريدون وضع المهام في القائمة وجمع النتائج دون فتح التطبيق.

متى تستخدمها

  • ✓عندما تريد وضع سير عمل لتوليد الصور بالذكاء الاصطناعي في قائمة انتظار ComfyUI.
  • ✓عندما تريد معرفة تقدم مهام توليد الصور.
  • ✓عندما تريد تنزيل الصور المولّدة من ComfyUI.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/HKUDS/CLI-Anything/blob/main/comfyui/agent-harness/cli_anything/comfyui/skills/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“ضع سير عمل صور البورتريه في قائمة انتظار ComfyUI، ونزّل الصور عندما تنتهي.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

ترسل المهارة سير العمل إلى خادم ComfyUI عبر واجهته البرمجية REST. وتستطيع مراقبة قائمة الانتظار وإدارة النماذج وتنزيل الصور المكتملة.

المحتوى التقني (ملف 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.

هل توجد واجهة مرئية؟

لا، المهارة تعمل من سطر الأوامر، رغم أن لديها وضع 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
آخر تحديث
21‏/9‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة