comfyui-inventory

comfyui-inventory is a skill for Claude Code from MCKRUZ/ComfyUI-Expert. It costs 44 tokens per session (1,565 once invoked), scanned A, original, MIT.

A discovery and caching helper for ComfyUI, a workflow tool for AI image and video generation. It checks which models, custom nodes, and system resources are installed, either through the running ComfyUI server or by scanning folders.

In plain words
What is it for?
Use it to inventory checkpoints, LoRAs, VAEs, ControlNets, other models, custom nodes, ComfyUI version, graphics card, and available graphics memory.
Why use it?
A workflow can fail when it refers to a missing model or node, or when it demands more graphics memory than the computer has. Checking the installation first helps reveal those limits before generation.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit Use it to inventory checkpoints, LoRAs, VAEs, ControlNets, other models, custom nodes, ComfyUI version, graphics card, and available graphics memory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mckruz/comfyui-expert/comfyui-inventory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MCKRUZ/ComfyUI-Expert --skill comfyui-inventory
Clone the repo
git clone --depth 1 https://github.com/MCKRUZ/ComfyUI-Expert

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for comfyui-inventory

README.md
[![agentmods](https://agentmods.dev/badge/skills/mckruz/comfyui-expert/comfyui-inventory/github.svg)](https://agentmods.dev/skills/mckruz/comfyui-expert/comfyui-inventory)
Your own site
<a href="https://agentmods.dev/skills/mckruz/comfyui-expert/comfyui-inventory"><img src="https://agentmods.dev/badge/skills/mckruz/comfyui-expert/comfyui-inventory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for comfyui-inventory

Your own site · 80×15
<a href="https://agentmods.dev/skills/mckruz/comfyui-expert/comfyui-inventory"><img src="https://agentmods.dev/badge/skills/mckruz/comfyui-expert/comfyui-inventory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk pass 28 Feb 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.01565
Opus 5 $0.00022 $0.00783
Sonnet 5 $0.00009 $0.00313
Haiku 4.5 $0.00004 $0.00156

Measured 10d ago against content hash 88f79f5ef5e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

comfyui-inventory scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://127.0.0.1:8188/system_stats
skills/comfyui-inventory/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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)

When ComfyUI isn't running, scan the filesystem directly.

Requires: ComfyUI installation path (e.g., C:\ComfyUI)

Scan directories:

{ComfyUI}/models/checkpoints/    → .safetensors, .ckpt
{ComfyUI}/models/loras/          → .safetensors
{ComfyUI}/models/vae/            → .safetensors, .pt
{ComfyUI}/models/controlnet/     → .safetensors, .pth
{ComfyUI}/models/clip/           → .safetensors
{ComfyUI}/models/clip_vision/    → .safetensors
{ComfyUI}/models/upscale_models/ → .pth, .safetensors
{ComfyUI}/models/diffusion_models/ → .safetensors
{ComfyUI}/models/ipadapter/      → .safetensors, .bin
{ComfyUI}/models/instantid/      → .bin
{ComfyUI}/models/insightface/    → .onnx + folders
{ComfyUI}/models/facerestore_models/ → .pth
{ComfyUI}/models/ultralytics/bbox/ → .pt
{ComfyUI}/custom_nodes/          → folder names = node packages

Read the full file on GitHub · 158 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 158 lines · 44 tokens per session scan A 88f79f5ef5e6

Subscribe to this mod's changes

comfyui-inventory is a skill published in the GitHub repository MCKRUZ/ComfyUI-Expert (91 stars, last pushed 5mo ago), licensed MIT. It adds 44 tokens to every session and 1,565 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ai-media-generator

A workflow for turning ideas into prompts for AI-generated images, videos, and music across several media platforms. When needed, it can also send those prompts to the chosen platform through browser automation.

Hao0321/ai-media-generator · 380 tokens

minimax-h3

Write, debug and structure prompts for MiniMax H3 video generation (T2VA, I2VA, FL2VA, L2VA, Ref2VA) and configure its ComfyUI workflow. Use when the user mentions MiniMax H3, minimaxh3, fl2va, ref2va, MiniMaxH3ReferenceToVideo, reference-to-video, asks to animate a photo, write a video prompt, pick a model quant, or…

teskor-hub/minimax-h3-skill · 135 tokens

Prompt craft for ComfyUI generation

Use when writing prompts for ComfyUI image or video models: choosing tags vs literary format, fixing composition and anatomy artifacts, picking samplers per LoRA, and writing short movement prompts for video. Neutral examples only.

howdeploy/deploychan_mcp · 52 tokens

handoff

Work with Master Canvas AI video handoff packages. Use when a user provides a Master Canvas ZIP or projectmanifest.json and wants Hermes to inspect assets, preserve scene and shot order, prepare ComfyUI/LTX 2.3 jobs, or hand off prompts to Kling, Veo, or another video generation operator. Also use when a user wants…

wassermanproductions/master-canvas-hermes-plugin · 105 tokens

local-ai-film

A directing workflow for producing AI short films with local or cloud-based models, including atmospheric films, trailers, vlogs, and dialogue-driven stories. It covers creative decisions, avoiding repetitive results, production steps, and final editing.

L-Trunks/ai-film-skills · 223 tokens

rhythm-density

A video-editing guide for arranging several short locally generated shots so their pacing alternates between quick, dense sections and slower breathing space.

L-Trunks/ai-film-skills · 324 tokens