计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
cli-export【效率与协作】Export ComfyUI API workflows to Python and troubleshoot the generated script runtime.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about converting workflow_api.json into Python or understanding the standalone script that the exporter produces.
torch, or a model file.comfyui_to_python/ package behavior.python -m comfyui_to_python entry point.COMFYUI_PATH, torch, black, custom nodes, and model/runtime issues.File -> Save As Script button and /saveasscript route.references/cli-reference.md for commands, flags, and defaults.references/generated-script-runtime.md for the structure and runtime behavior of exported Python.references/troubleshooting.md for exporter and generated-script failure modes.scripts/export_smoke.py for a fast end-to-end smoke check with a tiny workflow.ComfyUItoPython(...) programmatically when they are scripting the export.COMFYUI_PATH before running the exported Python.black is available in the runtime that renders the script.COMFYUI_TOPYTHON_UNLOAD_MODELS=1 or main(unload_models=True).Choose this sub-skill when you see any of these signals:
workflow_api.jsonworkflow_api.pypython -m comfyui_to_pythoncomfyui_to_python.py--input_file, --output_file, or --queue_sizeCOMFYUI_PATHNo module named 'torch'custom node import errors during generated-script executioncleanup_comfyui_runtimebootstrap_comfyui_runtimeFile -> Export (API)The exported Python is a standalone workflow runner, not a generic API service. It:
torchfinally blockA future agent should be able to: