/vibe:skill-lora-training-setupfrom vibe
Generates a complete LoRA training config for custom datasets, including rank, learning rate, step count, scheduler, and caption format. Supports subject, style, and concept fine-tuning for SD 1.5, SDXL, SD3, and FLUX.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn a description of the fine-tune intent into a concrete training config that is ready to pass to diffusers or kohya_ss.
purpose: subject | style | conceptnum_images: how many training images are availablebase_model: SD 1.5 | SDXL | SD3 | FLUXgpu_vram_gb: 8 | 12 | 16 | 24 | 48+caption_source: manual | BLIP2-generated | dataset-native| Purpose | Rank | Alpha |
|---|---|---|
| Subject | 8-16 | rank |
| Style | 16-32 | rank * 2 |
| Concept | 32-64 | rank |
Higher rank = more capacity, more overfitting risk on small datasets. Alpha scales the LoRA's effect strength; alpha == rank is the safe default. Styles are the documented exception: alpha == rank * 2 gives a stronger style push at the cost of more risk of baking the style too hard — use only when subject fidelity is not the goal.
subject with 5-20 images: 500-1500 steps.style with 30-100 images: 1500-4000 steps.concept with 100+ images: 4000-10000 steps.Overshoot at your peril — a LoRA that has memorised its training images cannot generalise.
1e-4 for SD 1.5, 5e-5 for SDXL.1e-4 for SD 1.5, 1e-4 for SDXL.5e-5 for the transformer, text encoders usually frozen.num_images < 15 (subject) or when training for more than 3000 steps; tiny datasets and long runs both benefit from a gentler update.cosine_with_warmup (default): warmup over the first 5-10% of steps, then cosine decay. Use when steps >= 1000; the decay tail gives sharper final samples.constant: use only for very short runs (steps < 500) or when resuming a previous LoRA where you want to preserve the current learned features without re-annealing.mystyle, not impressionism, which already maps to a real concept.model:
base: <base_model HF id>
precision: fp16 | bf16
lora:
rank: <int>
alpha: <int>
targets: unet.cross_attention # and/or unet.to_q, to_k, to_v, to_out
training:
steps: <int>
batch_size: <int, tuned to gpu_vram_gb>
grad_accum: <int, usually 1 on >=16 GB, 4 on <=12 GB>
learning_rate: <float>
optimizer: AdamW8bit | AdamW
scheduler: cosine_with_warmup | constant
warmup_steps: <int>
save_every: <int>
data:
images_dir: <path>
caption_source: <manual | BLIP2 | native>
trigger_token: <string if purpose==subject>
resolution: <512 for SD 1.5, 1024 for SDXL>
aspect_ratio_bucketing: true
augmentation:
flip: true
color_jitter: false
validation:
prompts:
- "<trigger> ...test prompt..."
- "<trigger> in a different scene"
every_steps: 250
[lora setup]
purpose: <subject|style|concept>
base: <model>
rank: <int>
steps: <int>
batch: <int> grad_accum: <int>
lr: <float>
vram est.: <float> GB
rank > 64; above that the LoRA becomes a mini fine-tune and loses its "adapter" nature.num_images < 5, warn strongly — identity LoRAs on 1-3 images overfit every time.gpu_vram_gb < 12, require AdamW8bit and gradient checkpointing.base_model == FLUX and gpu_vram_gb < 24, route to the schnell variant and note that training is slower.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
lora, fine-tuning, stable-diffusion, training-config, diffusers, kohya-ss
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job