Skip to content
Back to skills

Custom Diffusion

ASecurity

"Route Custom Diffusion workflows for concept data prep, diffusers

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
toolspythonbash

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill custom-diffusion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Custom Diffusion?

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

Security grade badge for Custom Diffusion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-custom-diffusion/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-custom-diffusion)

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: custom-diffusion
description: "Route Custom Diffusion workflows for concept data prep, diffusers
  training and SDXL, sample generation, delta tools, and CustomConcept101
  evaluation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Custom Diffusion

Use this repo skill for the diffusers-side Custom Diffusion workflow family:

- prepare concept data and real-prior bundles
- train single- and multi-concept models with diffusers or SDXL
- sample from delta checkpoints
- extract, compress, and compose delta artifacts
- evaluate generated samples on CustomConcept101

## Start here

1. Read `references/repo-provenance.md` to confirm the source baseline.
2. Read `references/workflows.md` for the route map.
3. Run `scripts/check_runtime.py --require-cuda` to confirm the CUDA/import stack.
4. Use `scripts/validate_concepts.py` when a concept-list JSON needs a structural check.
5. Open the focused sub-skill for the task family you have.

## Routes

### `data-preparation`
Use when you need instance images, real-prior image lists, caption files, or concept JSON for training.
Start with [`sub-skills/data-preparation/SKILL.md`](sub-skills/data-preparation/SKILL.md).

### `training`
Use when you need diffusers training, SDXL training, prior preservation, modifier tokens, or checkpoint output planning.
Start with [`sub-skills/training/SKILL.md`](sub-skills/training/SKILL.md).

### `inference`
Use when you need to load a Custom Diffusion delta and generate samples from prompts or prompt files.
Start with [`sub-skills/inference/SKILL.md`](sub-skills/inference/SKILL.md).

### `checkpoint-tools`
Use when you need delta extraction, compression, or composition.
Start with [`sub-skills/checkpoint-tools/SKILL.md`](sub-skills/checkpoint-tools/SKILL.md).

### `benchmarking`
Use when you need to score generated images with CustomConcept101 CLIP/DINO evaluation.
Start with [`sub-skills/benchmarking/SKILL.md`](sub-skills/benchmarking/SKILL.md).

## Install and runtime notes

- Use Python 3.11 or newer.
- Install a CUDA-enabled PyTorch/torchvision pair before the diffusers workflows.
- Verified public stack: `diffusers==0.21.4`, `accelerate==0.24.1`, `transformers==4.31.0`, `clip-retrieval==2.45.0`, `pandas`, `scipy`, `scikit-learn`, `tqdm`.
- Optional workflow extras: `xformers`, `bitsandbytes`, `deepspeed`, `modelcards`.
- The source training, sampling, compression, composition, and evaluation flows are CUDA-backed; the delta extraction route is the only selected CPU-substitutable workflow.
- Legacy checkout-based Stable Diffusion scripts are treated as reference-only or excluded in this generated skill.

## Minimal smoke check

After installing the stack, run:

```bash
python scripts/check_runtime.py --require-cuda
```

If you are only checking importability, omit `--require-cuda`.

Files in this skill

  • SKILL.md2.8 KB
  • references/repo-provenance.md1.5 KB
  • references/repo-routing-metadata.json432 B
  • references/troubleshooting.md2.7 KB
  • references/workflows.md3.4 KB
  • scripts/check_runtime.py2.3 KB
  • scripts/validate_concepts.py2.9 KB
  • sub-skills/benchmarking/SKILL.md1.4 KB
  • sub-skills/benchmarking/references/data-formats.md2.2 KB
  • sub-skills/benchmarking/references/troubleshooting.md826 B
  • sub-skills/benchmarking/references/workflows.md1013 B
  • sub-skills/benchmarking/scripts/validate_benchmark_layout.py2.8 KB
  • sub-skills/checkpoint-tools/SKILL.md1.3 KB
  • sub-skills/checkpoint-tools/references/api-reference.md1.9 KB
  • sub-skills/checkpoint-tools/references/troubleshooting.md919 B
  • sub-skills/checkpoint-tools/references/workflows.md1.1 KB
  • sub-skills/checkpoint-tools/scripts/check_delta_layout.py4.9 KB
  • sub-skills/checkpoint-tools/scripts/compress_delta.py4.2 KB
  • sub-skills/checkpoint-tools/scripts/extract_deltas.py3.7 KB
  • sub-skills/data-preparation/SKILL.md1.5 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.