ComfyUI Extension
ComfyUI Model Linker Extension
A ComfyUI extension that helps users relink missing models in workflows
kianxyzw/comfyui-model-linker
Nodes—
On cloudLocal install
Stars66
Updated10 days ago
Readme
ComfyUI Model Linker
A ComfyUI extension that relinks missing models in shared workflows: it finds the closest matches among your local files using fuzzy matching, and can download what you don't have from HuggingFace or CivitAI.

Features
- Workflow scanning — finds model references in all nodes, including nested subgraphs
- Custom node support — detects model fields of third-party loader nodes automatically by introspecting their input definitions; no hardcoded node list
- Fuzzy matching — intelligent similarity scoring finds files despite renames, different separators, or capitalization; 100% matches shown first, otherwise best matches ≥70% confidence
- Cross-platform paths — workflows authored on Windows match on Linux and vice versa (
\vs/is handled) - Folder-aware suggestions — a file sitting in a folder the node can't load from is flagged with a "wrong folder" warning instead of silently failing at prompt time
- Auto-resolve — one click links every perfect match; also available directly from ComfyUI's native Missing Models popup
- Browse & swap — the All models tab lists every model in the workflow grouped by category; swap any of them for another local file without hunting through the node tree, applied to all referencing nodes at once
- Downloads — fetches missing models from HuggingFace/CivitAI (URLs from the workflow, a model database, or online search), with progress, speed display, bulk download, and cancel
- Safe updates — resolved models are applied to the live graph in place (no canvas rebuild); you save the workflow yourself when ready
Installation
- Clone or download this repository
- Place it in your ComfyUI
custom_nodes/directory - Restart ComfyUI
Usage
- Open a workflow with missing models
- Open the Model Linker via the button in ComfyUI's top menu bar, the
Ctrl+Shift+Lshortcut, or the button injected into ComfyUI's Missing Models popup - Review missing models and their suggested matches
- Link individual matches, use Auto-Link for all 100% matches, or Download All Missing for models with known sources
- Save your workflow when ready