Skip to content

Workflow Commands

Workflow commands inspect saved ComfyUI workflows, resolve dependencies, and manage workflow-level model declarations.

List And Resolve

cg workflow list
cg workflow resolve WORKFLOW [--auto] [--install] [--no-install]

resolve analyzes workflow JSON, maps custom nodes to packages, matches model references to the model index, and records dependency metadata in the manifest.

Workflow Models

List models declared for a workflow:

cg workflow model list [WORKFLOW]

Declare an already-indexed local model as a workflow dependency:

cg workflow model add WORKFLOW --path RELATIVE_MODEL_PATH [--importance required|flexible|optional]
cg workflow model add WORKFLOW --hash HASH [--importance required|flexible|optional]

Remove a manually declared workflow model:

cg workflow model remove WORKFLOW --path RELATIVE_MODEL_PATH
cg workflow model remove WORKFLOW --hash HASH

Change model importance:

cg workflow model importance [WORKFLOW] [MODEL] [required|flexible|optional]

Use importance in user-facing docs. It maps to model criticality in the manifest.