batch

batch is a skill for Claude Code from hybridindie/comfyui_mcp. It costs 12 tokens per session (373 once invoked), scanned A, original, MIT.

A batch-generation workflow for ComfyUI, a tool for building image-generation workflows. It creates variants from prompts and random or chosen seeds, submits them in groups, tracks progress, and collects the results.

In plain words
What is it for?
Use it to compare prompt or seed variations, monitor queued jobs, and present completed images with their prompts, seeds, and filenames.
Why use it?
It organises repeated generations so variants use consistent settings and failed jobs can be handled individually.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to compare prompt or seed variations, monitor queued jobs, and present completed images with their prompts, seeds, and filenames.

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

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 batch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hybridindie/comfyui_mcp/batch"><img src="https://agentmods.dev/badge/skills/hybridindie/comfyui_mcp/batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 373 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.
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.00012 $0.00373
Opus 5.5 $0.00005 $0.00149
Sonnet 5.5 $0.00002 $0.00075
Haiku 4.5 $0.00001 $0.00037

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

Security

Grade A, and why

batch 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 2d 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.

skills/batch/SKILL.md · 28 lines

What it actually says

Batch generation

The user wants several variants. Request: "$ARGUMENTS".

Steps

  1. Build the matrix. Prompts × seeds, or a count with random seeds. Confirm the Cartesian size with the user; default to four variants unless they asked for more.

  2. Fix the settings. One model, one resolution, one sampler configuration for the whole batch — mixed settings make the results hard to compare. Pick the model from comfyui_list_models(folder="checkpoints").

  3. Submit in batches. Call comfyui_generate_batch(prompts=..., seeds=...) with at most eight variants per call. It returns {status, count, variants, errors} with a prompt_id per variant, and counts as one generation call — wait for the batch to finish before starting another.

  4. Track progress. Poll comfyui_get_progress (or comfyui_list_jobs for the wider queue) per prompt ID. A failed variant reports its error through comfyui_get_job; stop that variant only.

  5. Collect outputs. Fetch each completed result with comfyui_get_image(preview_format="webp", preview_quality=80) and present a table: seed, prompt, status, filename.

Notes

  • Warn about GPU time before a large matrix; a 20-image batch is not a quick request.
  • Keep the prompt list and seed list visible in the final report so the run is reproducible.
  • For a custom graph, use comfyui_run_workflow per variant instead of generate_batch.
  • Enforce mode may ask for confirmation per variant; tell the user before starting a wave.
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. 2d ago First seen · 28 lines · 12 tokens per session scan A 425d3b59f6ac

Subscribe to this mod's changes

batch is a skill published in the GitHub repository hybridindie/comfyui_mcp (2 stars, last pushed 2d ago), licensed MIT. It adds 12 tokens to every session and 373 once invoked, about $0.0000 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-11-27.

Related

batch compared with skills from other repositories

batch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
batchhybridindie/comfyui_mcpSkill22d agoMITA12Claude Code
local-gpu-imagegenChevalGrand520/local-gpu-imagegenSkill11mo agoMITA35Claude Code, Codex
b123d-modelingpzfreo/build123d-mcpSkill1719d agoApache-2.0A0Claude Code, Codex
b123d-editpzfreo/build123d-mcpSkill1719d agoApache-2.0A0Claude Code, Codex
mlflow-tracesGalbaz1/video-research-mcpSkill239d agoMITA37Claude Code
gemini-visualizeGalbaz1/video-research-mcpSkill239d agoMITA46Claude Code
video-explainerGalbaz1/video-research-mcpSkill239d agoMITA46Claude Code