mckruz/comfyui-expert/comfyui-inventory
Claude Code and agent skill by mckruz/comfyui-expert
- community
Checking that the SKILL.md file is still in the repository.
Discover and cache all installed ComfyUI models, custom nodes, and system capabilities. Works online (API queries) and offline (directory scanning). Use before generating workflows to verify available resources.
Install
npx vskill@latest install mckruz/comfyui-expert/comfyui-inventorySKILL.md
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:
Extracts: GPU name, total VRAM, free VRAM, ComfyUI version.
2. Installed nodes:
Returns all registered node classes with their input/output specifications.
3. Installed models (per type):
Offline Mode (Directory Scan)
When ComfyUI isn't running, scan the filesystem directly.
Requires: ComfyUI installation path (e.g., C:\ComfyUI)
Scan directories:
Custom node detection: List directories under custom_nodes/. Each directory name corresponds to a node package (e.g., ComfyUI_IPAdapter_plus, ComfyUI-Impact-Pack).
Cache Format
Save results to state/inventory.json:
Workflow Validation
Given a workflow JSON, validate against inventory:
Common Node-to-Package Mapping
| Node Class | Package | |
|---|---|---|
| ApplyInstantID | ComfyUI_InstantID | |
| IPAdapterUnifiedLoader | ComfyUI_IPAdapter_plus | |
| FaceDetailer | ComfyUI-Impact-Pack | |
| ReactorFaceSwap | ComfyUI-ReActor | |
| AnimateDiffLoaderWithContext | ComfyUI-AnimateDiff-Evolved | |
| VideoHelper* | ComfyUI-VideoHelperSuite | |
| ControlNetApply* | comfyui_controlnet_aux | |
| UltimateSDUpscale | ComfyUI_UltimateSDUpscale | |
| VHS_* | ComfyUI-VideoHelperSuite | |
| RIFE* | ComfyUI-Frame-Interpolation |
Cache Freshness
- Cache is valid for 1 hour during active sessions
- Invalidate cache when user installs new models/nodes
- Force refresh:
scan-inventory.ps1or API re-query
Integration
- Called by
comfyui-workflow-builderbefore generating workflows - Called by
comfyui-character-gen(via agent wrapper) for model selection - Called by
comfyui-troubleshooterwhen diagnosing missing model errors - Results stored in
state/inventory.jsonfor all skills to reference
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/comfyui-inventory/SKILL.md
Popularity
- Repository stars
- 30
- Repository forks
- 9
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mckruz/comfyui-expert/comfyui-inventory)