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.
npx skills add BillusA1111/billus-model-skill-library --skill diffusion-pipe-auto-traingit clone --depth 1 https://github.com/BillusA1111/billus-model-skill-libraryWrote 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.
[](https://agentmods.dev/skills/billusa1111/billus-model-skill-library/diffusion-pipe-auto-train)<a href="https://agentmods.dev/skills/billusa1111/billus-model-skill-library/diffusion-pipe-auto-train"><img src="https://agentmods.dev/badge/skills/billusa1111/billus-model-skill-library/diffusion-pipe-auto-train/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.
<a href="https://agentmods.dev/skills/billusa1111/billus-model-skill-library/diffusion-pipe-auto-train"><img src="https://agentmods.dev/badge/skills/billusa1111/billus-model-skill-library/diffusion-pipe-auto-train.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00090 | $0.01386 |
| Opus 5 | $0.00045 | $0.00693 |
| Sonnet 5 | $0.00018 | $0.00277 |
| Haiku 4.5 | $0.00009 | $0.00139 |
Grade A, and why
diffusion-pipe-auto-train 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diffusion Pipe Auto Train
Overview
Use this skill when the user wants a mostly hands-off diffusion-pipe training flow for image or edit datasets. It bundles a WSL-first bootstrap and launcher script, a fixed workspace layout, and conservative presets optimized for stable training on commodity GPUs instead of open-ended hyperparameter hunting.
Version
Current release: v1.0
This v1.0 release focuses on stable automation for preparing configs, enforcing dataset layout, and launching image or image-edit training runs on top of diffusion-pipe.
Planned optimizations after v1.0:
- automatic dataset download
- dataset cleaning and filtering
- automated tagging or caption generation
- automatic dataset organization before training
- a more complete end-to-end pipeline from raw data to training launch
Scope
Supported automatic paths:
- Image LoRA:
flux-dev,qwen-image,sdxl,lumina2,hunyuanimage-2.1 - Image full finetune:
sdxl,lumina2 - Edit LoRA:
flux-kontext,qwen-image-edit
Out of scope for the automatic path:
- Video training
- Native Windows training
- Experimental full finetunes for models that the repo supports but does not document with a stable low-VRAM recipe
If the user explicitly asks for an unsupported automatic path, explain that diffusion-pipe may support it, but this skill keeps the bundled automation on the stable surface.
Quick Start
- Confirm the runtime.
- Use Linux or WSL2 only.
- Do not attempt native Windows training.
diffusion-pipeis built around DeepSpeed pipeline parallelism and the upstream repo documents Windows as impractical.
- Normalize the request into:
modeltrain_kindasimageoreditmodeasloraorfullepochsnum_gpusgpu_vram_gb- required base model paths
- Read
references/presets.mdif you need the support matrix, fixed dataset layout, model path requirements, or VRAM floors. - Run every bundled command inside Linux or WSL2, including
prepare. - Bootstrap or update the training repo:
python scripts/diffusion_pipe_auto.py bootstrap --repo-root /workspace/diffusion-pipe - Prepare configs and stable workspace directories:
python scripts/diffusion_pipe_auto.py prepare \ --workspace-root /workspace/dp-auto \ --model flux-dev \ --train-kind image \ --mode lora \ --epochs 16 \ --num-gpus 1 \ --gpu-vram-gb 24 \ --model-arg diffusers_path=/models/FLUX.1-dev - Launch caching and training:
python scripts/diffusion_pipe_auto.py launch \ --repo-root /workspace/diffusion-pipe \ --manifest /workspace/dp-auto/configs/manifests/flux-dev-image-lora.json \ --cache-first - Validate:
- confirm the generated dataset and train TOML files exist
- confirm the launch command exits successfully
- confirm a run directory is created under
<workspace-root>/runs
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 138 lines · 90 tokens per session scan A 6af39ef0b89a
diffusion-pipe-auto-train is a skill published in the GitHub repository BillusA1111/billus-model-skill-library (11 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 90 tokens to every session and 1,386 once invoked, about $0.0005 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.
Other skills, from other repositories
huggingface-accelerate
Simplest distributed training API. 4 lines to add distributed support to any PyTorch script. Unified API for DeepSpeed/FSDP/Megatron/DDP. Automatic device placement, mixed precision (FP16/BF16/FP8). Interactive config, single launch command. HuggingFace ecosystem standard.
axolotl
Expert guidance for fine-tuning LLMs with Axolotl - YAML configs, 100+ models, LoRA/QLoRA, DPO/KTO/ORPO/GRPO, multimodal support.
huggingface-accelerate
Simplest distributed training API. 4 lines to add distributed support to any PyTorch script. Unified API for DeepSpeed/FSDP/Megatron/DDP. Automatic device placement, mixed precision (FP16/BF16/FP8). Interactive config, single launch command. HuggingFace ecosystem standard.
axolotl
Expert guidance for fine-tuning LLMs with Axolotl - YAML configs, 100+ models, LoRA/QLoRA, DPO/KTO/ORPO/GRPO, multimodal support.
huggingface-accelerate
Simplest distributed training API. 4 lines to add distributed support to any PyTorch script. Unified API for DeepSpeed/FSDP/Megatron/DDP. Automatic device placement, mixed precision (FP16/BF16/FP8). Interactive config, single launch command. HuggingFace ecosystem standard.
axolotl
Expert guidance for fine-tuning LLMs with Axolotl - YAML configs, 100+ models, LoRA/QLoRA, DPO/KTO/ORPO/GRPO, multimodal support.