comfy-metadata

comfy-metadata is a skill for Claude Code from laurigates/claude-plugins. It costs 54 tokens per session (2,627 once invoked), scanned A, original, MIT.

A reference and toolkit for reading the prompt and workflow settings stored inside ComfyUI output files such as PNG, WebP, video, and latent files.

In plain words
What is it for?
Use it to inspect embedded metadata, recover prompts and workflows, and analyze or compare saved outputs.
Why use it?
It helps you determine how an existing result was made and compare the settings used in different runs.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the comfyui-plugin plugin — 17 skills shipped together

Good fit Use it to inspect embedded metadata, recover prompts and workflows, and analyze or compare saved outputs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/laurigates/claude-plugins/comfy-metadata
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 laurigates/claude-plugins --skill comfy-metadata
Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins

Made for: Claude Code.

Or install comfyui-plugin, the plugin that ships this one along with the rest of its 17 skills.

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 comfy-metadata

README.md
[![agentmods](https://agentmods.dev/badge/skills/laurigates/claude-plugins/comfy-metadata/github.svg)](https://agentmods.dev/skills/laurigates/claude-plugins/comfy-metadata)
Your own site
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/comfy-metadata"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/comfy-metadata/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 comfy-metadata

Your own site · 80×15
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/comfy-metadata"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/comfy-metadata.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 66
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
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.00054 $0.02627
Opus 5.5 $0.00022 $0.01051
Sonnet 5.5 $0.00011 $0.00525
Haiku 4.5 $0.00005 $0.00263

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

Security

Grade A, and why

comfy-metadata scanned grade A with 0 findings 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 17d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/comfy_meta.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

comfyui-plugin/skills/comfy-metadata/SKILL.md · 197 lines

How it starts

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

ComfyUI output metadata

Every image/video/audio file ComfyUI emits embeds the API-form prompt and the UI-form workflow that produced it. The encoding varies by file format and by which save-node wrote it (core vs. kijai vs. VHS). This skill is the canonical reference for where the data lives, how to read it back, and a small Python toolkit to do it reliably across every format on disk in this install.

When to Use This Skill

Use this skill when... Use instead when...
Figuring out what prompt/settings produced an existing output file Inspecting a live in-graph value during a run -> comfy-debug-preview
Scanning, organizing, or comparing a directory of outputs Auto-arranging the layout of a workflow JSON -> comfy-workflow-layout

Quick reference

Format Saved by Where the JSON lives Encoding
PNG still core SaveImage, kijai PNG path tEXt chunks (PIL Image.info["prompt"] and ["workflow"]) each value is a JSON string
Animated PNG core SaveAnimatedPNG iTXt chunks (same keys) each value is a JSON string
WebP still + animated core SaveAnimatedWEBP EXIF tags: 0x0110 (Model) holds "prompt:<json>", 0x010F (Make) holds "workflow:<json>", lower tags hold further extra_pnginfo keys one EXIF string per key, "key:json" prefix
MP4 native core SaveVideo Container metadata, separate keys: prompt, workflow, plus any extra each value is a JSON string
MP4 kijai (WanVideoWrapper_*.mp4) WanVideoWrapper.save_video Container metadata, single key comment one JSON object: {"prompt": "<json>", "workflow": "<json>"} (double-encoded)
WebM / Matroska core SaveVideo; kijai/MMAudio Container metadata: per-key (native) or single COMMENT (kijai) same patterns as MP4
FLAC / OGG / MP3 / WAV core SaveAudio Container metadata: prompt, extra_pnginfo* keys each value is a JSON string
.latent core SaveLatent safetensors header metadata: prompt, workflow each value is a JSON string

Read the full file on GitHub · 197 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 17d ago Changed e07da7f599e7
  2. 18d ago Changed fb3c63995c39
  3. 1mo ago Changed · -48 lines 70058e3bc487
  4. 3mo ago First seen · 245 lines · 54 tokens per session scan A 5910a7a38bbd

Subscribe to this mod's changes

comfy-metadata is a skill published in the GitHub repository laurigates/claude-plugins (60 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 2,627 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

comfy-metadata compared with skills from other repositories

comfy-metadata next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
comfy-metadatalaurigates/claude-pluginsSkill60yesterdayMITA54Claude Code
verify-before-done42-evey/hermes-pluginsSkill5601mo agoMITA17Claude Code, Codex
django-ticket-triage2ykwang/agent-skillsSkill192d agoMITA65Claude Code
mk:resolving-merge-conflictsngocsangyem/MeowKitSkill17yesterdayMITA24Claude Code
mk:elicitngocsangyem/MeowKitSkill17yesterdayMITA22Claude Code
mk:investigatengocsangyem/MeowKitSkill17yesterdayMITA24Claude Code
devils-advocatemelodic-software/claude-code-pluginsSkill34todayMITA139Claude Code