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.
npx skills add MCKRUZ/ComfyUI-Expert --skill comfyui-inventorygit clone --depth 1 https://github.com/MCKRUZ/ComfyUI-ExpertWrote 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.
[](https://agentmods.dev/skills/mckruz/comfyui-expert/comfyui-inventory)<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.
<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>- Socket pass
- Snyk pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.01565 |
| Opus 5.5 | $0.00018 | $0.00626 |
| Sonnet 5.5 | $0.00009 | $0.00313 |
| Haiku 4.5 | $0.00004 | $0.00156 |
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 3mo 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 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
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.
- 3mo ago First seen · 158 lines · 44 tokens per session scan A 88f79f5ef5e6
comfyui-inventory is a skill published in the GitHub repository MCKRUZ/ComfyUI-Expert (95 stars, last pushed 8mo ago), licensed MIT. It adds 44 tokens to every session and 1,565 once invoked, about $0.0002 per session on Opus 5.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.
comfyui-inventory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| comfyui-inventoryMCKRUZ/ComfyUI-Expert | Skill | 95 | 8mo ago | MIT | A | 44 | Claude Code |
| Prompt craft for ComfyUI generationhowdeploy/deploychan_mcp | Skill | 21 | 21d ago | MIT | A | 52 | Claude Code, Codex |
| ai-media-generatorHao0321/ai-media-generator | Skill | 282 | 3mo ago | MIT | A | 380 | Codex |
| minimax-h3teskor-hub/minimax-h3-skill | Skill | 18 | 2mo ago | MIT | A | 135 | Claude Code, Codex |
| minimax-h3-reel-makerteskor-hub/minimax-h3-skill | Skill | 18 | 2mo ago | MIT | A | 65 | Claude Code, Codex |
| handoffwassermanproductions/master-canvas-hermes-plugin | Skill | 7 | 4mo ago | MIT | A | 105 | Claude Code, Codex |
| local-ai-filmL-Trunks/ai-film-skills | Skill | 32 | 2mo ago | none | A | 223 | Claude Code, Codex |