List Model Path π€
A searchable dropdown of every checkpoint you own
- model_paths_list
- selected_model_path
- count
If you keep checkpoints scattered across a few folders, this is the node that turns them into a browsable list. Give it a directory, and it recursively finds every .safetensors, .ckpt, .pt, and .pth file, lets you filter by model family, and hands you a selected model path plus a count. Unlike the pack's image/video listers, this one scans subdirectories too - and it's built to feed a loader that takes a path, which makes it the "pick my checkpoint from disk" node for workflows that don't use ComfyUI's standard model folders.
How it works
The recursive walk is the key difference: os.walk finds models in the root and every subfolder, and relative paths are preserved so a model in checkpoints/sdxl/my_model.safetensors comes back with its subfolder intact. The model_type filter is a quick way to narrow the list to a family:
ALL- no filterFLUX1,HUN1,SD15,LCM,SDXL- prefix-match on the model's subfolder
index + cycle pick from the filtered list the same way as the sibling list nodes (modulo wrap when enabled, clamp when disabled).
The outputs are where this node gets clever:
model_paths_list(STRING) - a newline-joined[0] - name,[1] - name... listingselected_model_path(*) - the picked path; typedanyso it can feed a combo loadercount(INT)
That selected_model_path being any type is deliberate: the author built the list output as a string precisely so it can be converted into a COMBO widget, giving you a working dropdown of your models on the canvas. If you're wiring this into a loader, keep Get File Name in mind for stripping the bare filename.
Installing the pack
Search "Robe Nodes" in ComfyUI Manager, or:
cd ComfyUI/custom_nodes
git clone https://github.com/RobeSantoro/ComfyUI-RobeNodes
Restart ComfyUI. Nothing to download - the pack's dependencies (opencv-python, google-genai, piexif, requests) don't affect this node.
Where people get burned
The model_type filter is hardcoded to match a Windows backslash prefix (FLUX1\), so on Linux that filter silently matches nothing and every model_type except ALL gives you an empty list. It's the one real wart in an otherwise portable pack. Also, despite the name, model_paths_list is a string, not a Python list - don't try to feed it into a node expecting a LIST type. And the default directory is the author's E:\MODELS\checkpoints, which won't exist on your box; the folder-missing case returns an empty list and an empty string for the selection, with no error raised.
Honest framing: this is a small personal pack with essentially no community footprint, so treat it as a handy utility, not a maintained platform. For one thing - a recursive checkpoint browser - it works.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| directory | STRING | E:\MODELS\checkpoints | β |
| model_type | COMBO | ALL | 6 options: ALL, FLUX1, HUN1, SD15, LCM, SDXL |
| index | INT | 0 | β |
| cycle | COMBO | enable | 2 options: enable, disable |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| model_paths_list | STRING | β |
| selected_model_path | * | β |
| count | INT | β |