Skip to content
Back to skills

Training Recipes

ASecurity

"Diffusers training recipes for DreamBooth, LoRA, textual

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
devopspython

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill training-recipes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training Recipes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Training Recipes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-recipes-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-recipes-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: training-recipes
description: "Diffusers training recipes for DreamBooth, LoRA, textual
  inversion, ControlNet, text-to-image, T2I-Adapter, InstructPix2Pix, SDXL,
  Flux, and SD3 examples with dataset and Accelerate safety checks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Diffusers Training Recipes

Use this sub-skill when the task is to prepare or adapt Diffusers training examples, build an `accelerate launch` command, validate a local image dataset, choose between DreamBooth/LoRA/textual inversion/ControlNet/T2I-Adapter/text-to-image recipes, or debug training setup failures.

Route elsewhere:
- Inference-only pipeline usage, loading trained adapters, or generation scripts: use `pipelines-and-inference`.
- Maintainer test policy, copied-code updates, or conversion PR mechanics: use `conversion-and-maintenance`.

## Fast Path

1. Identify the recipe and base family from the user request: SD 1.x/2.x, SDXL, SD3, Flux, or a task-specific adapter.
2. Validate local datasets before composing commands:
   - `python sub-skills/training-recipes/scripts/dataset_layout_check.py --data-dir DATA --require-captions`
   - Add `--conditioning-dir COND` for ControlNet/T2I-Adapter/Flux control image pairs.
3. Generate a dry-run command rather than launching training:
   - `python sub-skills/training-recipes/scripts/training_command_builder.py --recipe dreambooth-lora --model MODEL --dataset DATA --output-dir OUT --instance-prompt "a photo of sks dog"`
4. Add memory controls before suggesting real runs: `--mixed_precision`, `--gradient_checkpointing`, small `--train_batch_size`, `--gradient_accumulation_steps`, checkpointing, and a capped `--max_train_steps`.
5. Require explicit user confirmation before running expensive training, Hub pushes, remote downloads of gated models, or commands that overwrite a non-empty output directory.

## References

- Recipe selection and command patterns: [references/recipes.md](references/recipes.md)
- Dataset formats and validation: [references/datasets-and-launch.md](references/datasets-and-launch.md)
- Troubleshooting training failures: [references/troubleshooting.md](references/troubleshooting.md)

## Bundled Helpers

- `scripts/training_command_builder.py` prints safe `accelerate launch` commands for common recipes without importing Diffusers or starting training.
- `scripts/dataset_layout_check.py` validates tiny local imagefolder layouts, optional captions, metadata files, and conditioning-image pair counts.

Files in this skill

  • SKILL.md2.5 KB
  • references/datasets-and-launch.md4.6 KB
  • references/recipes.md6.2 KB
  • references/troubleshooting.md5.2 KB
  • scripts/dataset_layout_check.py7.7 KB
  • scripts/training_command_builder.py11 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.