managing-thumbnails

managing-thumbnails is a skill for Claude Code, Codex from Comfy-Org/workflow_templates. It costs 123 tokens per session (1,010 once invoked), scanned A, original, MIT.

A thumbnail-management tool for ComfyUI workflow templates, which are reusable image-generation setups. It handles the preview images stored with those templates.

In plain words
What is it for?
Use it to add or replace template thumbnails, validate image files and names, and audit which ComfyUI templates lack previews.
Why use it?
It removes the manual work of finding missing or incorrectly named previews and checking whether template images match the site’s rules.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/comfy-org/workflow_templates/managing-thumbnails
Any agent
npx skills add Comfy-Org/workflow_templates --skill managing-thumbnails
Clone the repo
git clone --depth 1 https://github.com/Comfy-Org/workflow_templates

Made for: Claude Code, Codex.

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 managing-thumbnails

README.md
[![agentmods](https://agentmods.dev/badge/skills/comfy-org/workflow_templates/managing-thumbnails.svg)](https://agentmods.dev/skills/comfy-org/workflow_templates/managing-thumbnails)
Your own site
<a href="https://agentmods.dev/skills/comfy-org/workflow_templates/managing-thumbnails"><img src="https://agentmods.dev/badge/skills/comfy-org/workflow_templates/managing-thumbnails.svg" alt="Measured on agentmods" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,010 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00123 $0.01010
Opus 5 $0.00062 $0.00505
Sonnet 5 $0.00025 $0.00202
Haiku 4.5 $0.00012 $0.00101

Measured 4d ago against content hash c87e705b5cda, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

managing-thumbnails 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 4d 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.

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.

.claude/skills/managing-thumbnails/SKILL.md · 102 lines

How it starts

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

Managing Thumbnails

This skill covers adding, replacing, validating, and auditing thumbnail images for ComfyUI workflow templates.

Naming Convention

Thumbnails live in templates/ alongside the workflow JSON files. They are named using the template's name field from templates/index.json:

  • Primary: {template_name}-1.webp
  • Secondary (optional): {template_name}-2.webp (only for dual-thumbnail variants)

The {template_name} portion must exactly match the name field in templates/index.json.

Supported Formats

Format Notes
.webp Preferred. Smallest file size. Use lossy compression (~65% quality).
.png Acceptable fallback.
.jpg / .jpeg Acceptable fallback.
.webp (animated) Used for video-type templates (animated webp).

Thumbnail Variants

The thumbnailVariant field in templates/index.json controls how the thumbnail behaves on the site:

Variant Thumbnails Needed Effect
(none/default) -1 only Static image, slight zoom on hover
compareSlider -1 AND -2 Before/after slider comparison
hoverDissolve -1 AND -2 Dissolves to second image on hover
hoverZoom / zoomHover -1 only Same as default but zooms more

If a template uses compareSlider or hoverDissolve, both -1 and -2 files are required.

Adding a Thumbnail

  1. Name the file {template_name}-1.webp, where {template_name} matches the template's name field in templates/index.json.
  2. Place it in the templates/ directory.
  3. Compress to a reasonable size (use lossy webp compression, ~65% quality).
  4. If using compareSlider or hoverDissolve, also add {template_name}-2.webp.

Replacing a Thumbnail

Overwrite the existing file in templates/ with the new image, using the same filename.

Setting the Thumbnail Variant

Edit the template's entry in templates/index.json and set or change the thumbnailVariant field to one of: compareSlider, hoverDissolve, hoverZoom, or zoomHover. Remove the field (or leave it unset) for the default behavior.

Read the full file on GitHub · 102 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. 4d ago First seen · 102 lines · 123 tokens per session scan A c87e705b5cda

Subscribe to this mod's changes

managing-thumbnails is a skill published in the GitHub repository Comfy-Org/workflow_templates (855 stars, last pushed 5d ago), licensed MIT. It adds 123 tokens to every session and 1,010 once invoked, about $0.0006 per session on Opus 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-08-30.

Related

Other skills, from other repositories

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-cut

剪辑中文口播原素材:逐词转录、词典修字出修字表、五轮扫描找口误与重复、汇总表与重复句子表、打开 Studio 让用户复核、复盘沉淀用户偏好与词典。只产出一份已复核的删词账本,不切媒体、不做字幕、不做分镜动画。用户说剪口播、处理口误、生成口播基础素材、继续剪口播,或确认卡回传 action=returncutreview 时使用。不要用于执行物理剪切、导出剪后视频、单独安装、单独打开工作台或口播分镜成片。.

Agentchengfeng/chengfeng-videocut-skills · 154 tokens

chengfeng-check-updates

剪辑环境的唯一管理者:就绪检查(skills 是否最新 → Runtime 是否配套)、Skills 更新激活、Runtime 安装与体检。用户说检查更新、安装剪辑环境、装播放器、检查剪辑环境、剪辑环境就绪了吗、配置转录凭证时使用;业务 Skill(剪口播/字幕/画面/导出)第 0 步也引用本 Skill 的就绪检查。不用于剪辑、字幕、画面、导出本身或项目数据迁移。.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens

infographic-template-updater

Update template catalogs and UI prompts after adding new infographic templates (src/templates/.ts), including SKILL.md template list, site gallery template mappings, and the AIPlayground prompt list.

antvis/Infographic · 43 tokens