mckruz avatar

Comfyui Inventory

Before you generate any ComfyUI workflow, run this to scan what's actually installed on your system. It checks via API if ComfyUI is running, or falls back to directory scanning if offline, then caches everything to inventory.json: models, custom nodes, VRAM specs, the works. The real value is workflow validation. It'll tell you exactly which model files are missing and where to download them, or which custom node package you need to install via ComfyUI Manager. Saves you from that annoying cycle of generating a workflow, hitting errors, realizing you don't have the LoRA or InstantID node, then starting over. Cache stays fresh for an hour.

skills.sh installs
601
GitHub stars
94
last updated
Jun 3, 2026

Install

$ npx -y skills add mckruz/comfyui-expert --skill comfyui-inventory --agent claude-code

Installs into .claude/skills of the current project.

Files

ComfyUI Inventory Skill

Discovers what's installed in the user's ComfyUI instance and caches results for workflow validation.

Purpose

Every workflow generation MUST be preceded by an inventory check. This prevents:

  • Referencing models that aren't downloaded
  • Using nodes that aren't installed
  • Exceeding VRAM limits

Two Discovery Modes

Online Mode (ComfyUI API Running)

Query the live server for authoritative information.

1. System info:

curl http://127.0.0.1:8188/system_stats

Extracts: GPU name, total VRAM, free VRAM, ComfyUI version.

2. Installed nodes:

curl http://127.0.0.1:8188/object_info

Returns all registered node classes with their input/output specifications.

3. Installed models (per type):

curl http://127.0.0.1:8188/models/checkpoints
curl http://127.0.0.1:8188/models/loras
curl http://127.0.0.1:8188/models/vae
curl http://127.0.0.1:8188/models/controlnet
curl http://127.0.0.1:8188/models/clip
curl http://127.0.0.1:8188/models/clip_vision
curl http://127.0.0.1:8188/models/upscale_models
curl http://127.0.0.1:8188/models/diffusion_models

Offline Mode (Directory Scan)

Sponsors

Details

Repository
github.com/mckruz/comfyui-expert
Category
Generative Media
First seen
Jun 3, 2026

More from mckruz/comfyui-expert

All 10
1hkuds avatarcli-anything-comfyuihkuds/cli-anythingCommand-line interface for ComfyUI - AI image generation workflow management via ComfyUI REST API. Designed for AI agents and power users who need to queue work586skills.sh installs
2eachlabs avatarimage-to-videoeachlabs/skillsTransform static images into dynamic videos using each::sense AI. Create animations, Ken Burns effects, cinemagraphs, product showcases, and motion graphics fro536skills.sh installs
3freestylefly avatarremotion-best-practicesfreestylefly/canghe-skillsBest practices for Remotion - Video creation in React503skills.sh installs
4vercel-labs avatarcreate-remotion-geistvercel-labs/skill-remotion-geistCreate Remotion videos using the Geist design system aesthetic. Use when asked to create videos, animations, or motion graphics that should follow Vercel's visu499skills.sh installs
5ncklrs avatarremotion-animationncklrs/startup-os-skillsGenerates animation configurations for Remotion including spring configs, interpolations, easing functions, and timing logic. Focuses ONLY on animation paramete452skills.sh installs
6mckruz avatarcomfyui-researchmckruz/comfyui-expertcomfyui research431skills.sh installs