comfyui-lora-data-gathering

Gather, curate, and auto-caption LoRA training data into a ready dataset folder.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/Bakery88/ComfyUI-Claude-Integration --skill comfyui-lora-data-gathering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: comfyui-lora-data-gathering
Source: https://github.com/Bakery88/ComfyUI-Claude-Integration/tree/main/skills/comfyui-lora-data-gathering
Command: npx skills add https://github.com/Bakery88/ComfyUI-Claude-Integration --skill comfyui-lora-data-gathering

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires transformers, torch, Pillow, onnxruntime, numpy, huggingface_hub, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the end-to-end process of researching, collecting, and preparing training images for LoRA fine-tuning, reducing manual effort and ensuring dataset readiness.

Core Features & Use Cases

  • Full pipeline from web research through image download, video frame extraction, and auto-captioning, delivering a ready-to-train dataset folder.
  • Dependency-aware workflow that interfaces with comfyui-inventory and comfyui-lora-training to ensure proper dataset resolution and formatting.
  • Handles dataset organization into datasets/{project-name}/ with images, captions, and a dataset-report.json, and records source attribution for auditing.

Quick Start

Describe your LoRA target and dataset size, and I will research sources, fetch images and video frames, curate the dataset, and generate a ready-to-train dataset folder.

Frequently Asked Questions about comfyui-lora-data-gathering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate gathering and auto-captioning images for a LoRA training dataset?

Yes, you can extract video frames for LoRA datasets by processing video sources through a script-based pipeline. The extracted frames are automatically organized alongside downloaded images and auto-captioned within your project's dataset folder.

What is the required folder structure for organizing a ComfyUI LoRA dataset?

The required folder structure for a ComfyUI LoRA dataset is datasets/{project-name}/. This directory must contain your gathered images, their corresponding text captions, and a dataset-report.json file that tracks sources and provides a quality scorecard.

Do I need to install PyTorch and Hugging Face Hub to prepare a LoRA dataset?

Yes, preparing a LoRA dataset with auto-captioning requires dependencies like PyTorch, Hugging Face Hub, transformers, and Pillow. These libraries support the underlying script-based processing, image handling, and model inference needed for the pipeline.

Can I use WebSearch and WebFetch to download images from art communities for LoRA training?

You can use WebSearch and WebFetch to research and download images from web sources or art communities for LoRA training. The pipeline coordinates these tools to gather assets, curate them, and record source attribution for auditing.

What is the best way to track source attribution and quality when curating a LoRA dataset?

The best way to track source attribution and quality when curating a LoRA dataset is to generate a dataset-report.json file. This report logs the origins of gathered images and video frames while providing a dataset-quality scorecard for evaluation.