Agent skill

Flux2 Lora Training

by AnastasiyaW in AnastasiyaW/codex-claude-code-config

Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets, trainer-version contracts, and held-out fidelity checks.

MITAuto-check passedAI & LLM Engineering

Install Flux2 Lora Training

skills CLI
$ npx skills add AnastasiyaW/codex-claude-code-config --skill flux2-lora-training -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AnastasiyaW/codex-claude-code-config flux2-lora-training --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AnastasiyaW/codex-claude-code-config.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai-ml/flux2-lora-training .claude/skills/flux2-lora-training && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
flux2-lora-training
GitHub stars
154
Token cost
~4.5k tokens
SKILL.md length
1,704 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
MIT

At a glance

Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets, trainer-version contracts, and held-out fidelity checks.

  • Works in 3 steps: Обработать угловой тайл (нет соседей →… → Обработать тайлы по периметру (1 сосед… → Обработать внутренние тайлы (2-3…
  • Generic Stable Diffusion/DiT training
  • SKILL.md covers Evidence boundary, Архитектура моделей, Edit LoRA (before/after):… and Гиперпараметры и конфиги, plus 5 more sections
  • Calls python

What it does

Flux2 Lora Training is an agent skill from AnastasiyaW/codex-claude-code-config. Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets, trainer-version contracts, and held-out fidelity checks. Do not use for generic Stable Diffusion/DiT training, prompt authoring, or model serving; route those tasks to their specialized skill.

Its SKILL.md is about 4.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Diffusion and image models, Fine-tuning and LLM inference and serving. It works with Qwen and Stable Diffusion. The repository describes itself as: Claude Code, Codex, and multi-agent configuration system: principles, hooks, skills, and workflow patterns for AI-assisted development. The licence is MIT.

When your agent uses it

  • Generic Stable Diffusion/DiT training
  • Prompt authoring
  • Route those tasks to their specialized skill

Example prompts

  • “/flux2-lora-training”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Обработать угловой тайл (нет соседей → reference пустой)
  2. Обработать тайлы по периметру (1 сосед как reference)
  3. Обработать внутренние тайлы (2-3 соседних тайла как references)

What it can do on your machine

Read from SKILL.md and the folder at commit 67709af. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • huggingface.co
    • hf.co
    • arxiv.org
    • docs.bfl.ml
    • medium.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Flux2 Lora Training loads about 4.5k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 1,704 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~4.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from AnastasiyaW/codex-claude-code-config at commit 67709af, republished under its MIT licence (© AnastasiyaW). 1,704 words, ~4,516 tokens.

Download SKILL.mdSave it as .claude/skills/flux2-lora-training/SKILL.md (or your agent's skills folder).
name
flux2-lora-training
description
Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets, trainer-version contracts, and held-out fidelity checks. Do not use for generic Stable Diffusion/DiT training, prompt authoring, or model serving; route those tasks to their specialized skill.

FLUX.2 Klein 9B — LoRA Training Reference

Evidence boundary

This file is a route to evaluate a training plan, not a tested recipe. Model cards establish model identity and license; trainer repositories establish only the behavior of their pinned version. Numeric settings and BFS notes below are historical local experiment candidates unless an exact source is linked. Before training, record the model revision, trainer commit, dataset contract, hardware, and a small held-out acceptance set. Do not promote a historical score, memory estimate, slot order, or private result into a universal default.

Архитектура моделей

FLUX.2 Klein — Rectified Flow Transformer (DiT)
ПараметрKlein 9BKlein 4BQwen-Image-EditFLUX.1 dev
Blocks32 (8+24)25 (5+20)60 (MM-DiT)56 (8+48)
Embedding dim12,2887,680—15,360
VAE latent channels32 (128 packed features)32 (128 packed features)verify the exact revision16
Text encoderQwen3 (bundled)Qwen3Qwen2.5-VL (7B)Mistral-Small-3.1
Guidance embeddingsНЕТНЕТ—Есть
Total params9B4B20B DiT + 7B VL12B

FLUX.2 Klein VAE: AutoencoderKLFlux2, 32 latent channels (FLUX.1: 16) → после 2×2 patch packing в трансформере: 32×4 = 128 dims per token, 16× spatial compression. Несовместим с FLUX.1 LoRA — другой VAE, другой latent space. Tiling для больших разрешений: 1024px тайлы с 25% overlap, обрабатывает произвольное разрешение.

Klein editing механизм (Kontext-style): reference image VAE-кодируется и конкатенируется с noise latent вдоль sequence dim. Positional embeddings разделяют reference и output через 3D RoPE time offsets (ref1=t:1, ref2=t:2, output=t:0). Поддерживает до 10 reference images теоретически, обучен на 2.

Text encoder Klein: Qwen3 (встроен в 9B), выходы из слоёв 9, 18, 27.

Do not assume a trainer’s flux_guidance_* fields are no-ops or active from their names. Verify their behavior against the pinned trainer release and the selected model before relying on them.

Для LoRA тренировки: base модель FLUX.2-klein-base-9B, не distilled 4-step.


Qwen Image Edit 2511 — MMDiT с dual encoding

Архитектурно совершенно другая модель. 20B MMDiT (Multimodal DiT) + Qwen2.5-VL 7B как visual-language encoder.

Dual encoding — ключевое отличие от Klein:

Входное изображение →┬→ Qwen2.5-VL 7B → семантические фичи (кто/что/стиль)
                     └→ VAE encoder   → reconstructive latent (текстуры/пиксели)
                                ↓ оба пути сходятся в MMDiT

This is an architectural interpretation, not a measured cross-model guarantee. Assess identity preservation on the task’s held-out images rather than claiming that one model drifts less at an equal LoRA rank.

Consistency Mode (qe2511_consis_alpha) — результат I2I reconstruction training objective: модель дообучена реконструировать входное изображение без изменений. Это выравнивает VL и DiT latent spaces, делая консервативные правки более точными. Триггер restore image details активирует этот bias.

LoRA target modules для Qwen-Image-Edit-2511 (13 модулей, в отличие от Klein):

to_q, to_k, to_v, to_out.0
add_q_proj, add_k_proj, add_v_proj, to_add_out
img_mlp.net.2    ← image-specific FFN (в Klein нет разделения)
img_mod.1        ← image AdaLayerNorm modulation
txt_mlp.net.2    ← text-specific FFN
txt_mod.1        ← text modulation
linear_in, linear_out

Qwen нативно поддерживает 3 control image слота (control_1, control_2, control_3) через sequence concatenation + MSRoPE.


Edit LoRA (before/after): датасет и тренировка

Датасет (ai-toolkit формат)
dataset/
  control_1/    ← "before" изображение (источник)
  control_2/    ← опциональный 2-й референс (напр., лицо донора)
  targets/      ← "after" изображение (результат)
  captions/     ← .txt файл с инструкцией на сэмпл

Критично: имена файлов должны совпадать между папками (0001.png ↔ 0001.png ↔ 0001.txt).

Do not infer folder_path/control_path_1 semantics from issue #536 or PR #629. The primary records do not establish a reversed-path bug: #536 was closed as not planned, while #629 fixes Flux2 training that ignored a single control image. Pin the trainer commit and run a small non-production fixture that proves which input becomes which control/target before a training job. Sources: https://github.com/ostris/ai-toolkit/issues/536 and https://github.com/ostris/ai-toolkit/pull/629

Порядок входных изображений важен. Для BFS Head Swap:

  • V1–V2: [face, body]
  • V3+: [body, face] — инвертирование порядка дало значительный прирост качества

Historical BFS observation: the recorded dataset counts are not a minimum or maximum for another edit. Start from a representative, consented dataset and use held-out fidelity/attribute checks to decide whether more diversity or cleaner pairs are needed.

zero_cond_t — ключевой параметр

zero_cond_t трактует control images как чистые референсы при t=0, пока основное изображение следует нормальному diffusion schedule. Предотвращает identity drift.

Use it only when the pinned trainer and inference implementation document the field; then keep train/inference conditioning consistent and verify it on a held-out edit. It is not a universal Qwen-Image-Edit switch.

Trigger word

Trigger ОБЯЗАТЕЛЬНО ставить в user message (slot prompt), НЕ в system/instruction message. LoRA-триггеры обучаются в user message контексте. Это объясняет почему в head swap воркфлоу head_swap: идёт в prompt, а не в instruction.


Гиперпараметры и конфиги

ai-toolkit (Klein 9B) — рекомендуется для edit LoRA
yaml
learning_rate: 1e-4          # снизь до 5e-5 при нестабильности
batch_size: 1
gradient_accumulation: 1-4
lora_rank: 16-32             # стандарт; 64-128 для сложных edits
steps: 2000-6000             # зависит от датасета
save_every: 250-500
optimizer: adamw8bit
dtype: bf16
noise_scheduler: flowmatch

BFS Head Swap для Klein 9B конкретно:

  • rank: 128 (начало), 64 (позже)
  • steps: 3500–3750
  • Curriculum resolution: начинал с 256/512px → прогрессивно до 1024/1536
DiffSynth-Studio
bash
python train.py \
  --learning_rate 1e-4 \
  --epochs 5 \
  --lora_rank 32 \
  --max_pixels 1048576  # 1024×1024

LoRA target modules (24 transformer blocks):

to_q, to_k, to_v, to_out.0,
add_q_proj, add_k_proj, add_v_proj, to_add_out,
linear_in, linear_out, to_qkv_mlp_proj

Полный fine-tune скрипт: examples/flux2/model_training/full/FLUX.2-klein-base-9B.sh

SimpleTuner (Klein 9B)
json
{
  "model_family": "flux2",
  "model_flavour": "klein-9b",
  "base_model_precision": "int8-quanto",
  "lora_rank": 16,
  "learning_rate": 1e-4,
  "lr_scheduler": "constant",
  "flux_guidance_mode": "constant",
  "flux_guidance_value": 1.0,
  "gradient_checkpointing": true
}

VRAM: ~14GB (int8-quanto), ~22GB (bf16).

50+ training runs (Calvin Herbst, Feb 2026)

Что реально работает:

  • linear: 128, linear_alpha: 64, conv: 64, conv_alpha: 32 → улучшает в почти каждом тесте
  • lr: 0.000095, timestep_type: shift, weight_decay: 0.00015
  • Более высокий rank = более чёткие детали, более естественный grain

Инпеинтинг LoRA

Подход 1: ostris "Green Screen" (проще всего)

Обучаешь модель на парах где маскированные области закрашены чистым зелёным (RGB 0, 255, 0). Модель учит: зелёный = "перегенерировать эту область по тексту".

  • Использует существующий control_image slot в ai-toolkit — не нужна модификация архитектуры
  • Inference: красишь область зелёным, пишешь промпт что должно быть
  • Модель: ostris/qwen_image_edit_inpainting на HuggingFace
  • При тренировке: normal t2i dropout для generalization, random inpaint blobs по умолчанию
Подход 2: SimpleTuner mask conditioning (PR #2520, merged Jan 29, 2026)

mask_conditioning_type — добавляет proper mask-conditioned training для FLUX.2 Klein. Подходит для более строгого контроля маски.

Чего НЕ делать

FLUX.1-Fill approach (concatenated latents, 16+16+64 channels) требует полной модификации архитектуры модели — не реализуемо как LoRA. Нужен full fine-tune с добавлением input channels.


Тренировка на больших разрешениях (1024 → 1536 → 2048)

Klein официально поддерживает 64×64 до 4MP (2048×2048), dimensions кратны 16.

DiffSynth-Studio: изменить --max_pixels
Разрешениеmax_pixels
1024×1024 (1MP)1048576
1536×15362359296
2048×2048 (4MP)4194304

Нет архитектурных ограничений — Klein использует RoPE (resolution-agnostic).

Память на H200 (140GB)
РазрешениеVRAM (bf16)Оптимизации
1024×1024~22GBбазовые
1536×153640–80GB+grad_checkpoint + fp8 + 8bit adam
2048×204880GB+все + cache_latents

H200 (140GB) комфортно берёт 1536 с оптимизациями.

Curriculum learning (метод BFS)

Начинай с маленького разрешения (256–512px), постепенно увеличивай. Прыжок сразу на 1536 может вызвать нестабильность. Kohya-ss задокументировали деградацию likeness при >1024px без curriculum подхода.

SimpleTuner bucketing
json
{
  "resolution_type": "pixel_area",
  "crop_aspect": "square",
  "crop_style": "center"
}

crop_aspect: square — наиболее надёжный вариант для multi-aspect.


Расширение latent space / checkpoint fine-tune

Нет опубликованных методов расширения native resolution Klein через checkpoint fine-tuning (на март 2026).

На практике это не нужно — Klein уже генерирует до 4MP нативно.

Если всё же нужен "latent expansion":

  • Просто тренируй на большем --max_pixels через DiffSynth-Studio full fine-tune
  • Теоретически применимы RoPE scaling техники (YaRN, NTK-aware) из LLM мира, но требуют данных на целевом разрешении

Full checkpoint fine-tune скрипт: examples/flux2/model_training/full/FLUX.2-klein-base-9B.sh (DiffSynth-Studio)


Show full SKILL.md (696 more words)Show less

Сравнение фреймворков

ФреймворкKlein 9BEdit LoRAInpaintMulti-AspectЗаметки
ai-toolkitДаДа (native)Green screenОграниченоЛучший для edit LoRA
SimpleTunerДаЧастично (PR#2520)Mask conditioningДа (с нюансами)Лучшая документация
DiffSynth-StudioДаДа (ICEdit format)Не задокументированоДа (dynamic)Поддерживает full fine-tune
fal.ai trainerДа (hosted)Да (Qwen 2511)НетНетCloud, проще всего
kohya-ssОграниченоНетНетДаНестабильно для Klein

Рекомендация для edit LoRA (head swap, face swap): ai-toolkit + base модель.



Тайловая обработка крупных изображений (tile-as-video)

Проблема

Банальная тайловая обработка через ComfyUI-TiledDiffusion даёт цветовые скачки между тайлами: каждый тайл генерируется независимо без знания соседей.

Решение: Kontext-style sequence concatenation (без обучения)

Klein нативно поддерживает произвольное число reference images через sequence concatenation + 3D RoPE. Это можно использовать для тайлов:

Tile 1 (обработан) → reference_1
Tile 2 (обработан) → reference_2
Tile 3 (текущий)   → output (Klein видит соседей при генерации)

Практический порядок обхода (BFS-style):

  1. Обработать угловой тайл (нет соседей → reference пустой)
  2. Обработать тайлы по периметру (1 сосед как reference)
  3. Обработать внутренние тайлы (2-3 соседних тайла как references)

Это работает за счёт того, что Klein использует те же RoPE time offsets что и для head swap: ref1=t:1, ref2=t:2, output=t:0. Тайлы по-сути становятся "видеокадрами" в пространстве последовательности.

Существующие подходы для tiled diffusion
МетодГдеПринципДля FLUX/DiT
MultiDiffusionComfyUI-TiledDiffusionУсреднение latents в overlapping зонахРаботает (базовый)
SyncDiffusionотдельноLPIPS loss для согласованности цветовНет реализации для Klein
SpotDiffusionComfyUI-TiledDiffusionShifting windows, снижает артефактыЛучший из TiledDiffusion
DemoFusionотдельноProgressive upscaling + skip residualsНет для Klein
DyPEотдельноTraining-free 16MP для FLUXТолько для FLUX.1
Scale-DiTarxiv:2501.12900LoRA для масштабирования DiTОбучается
Kontext-concatнативно в KleinСоседние тайлы как referencesЛучший
Практический ComfyUI пайплайн
Большое изображение (напр. 3072×2048)
  ↓
VAEEncodeTiled (1024px тайлы, 25% overlap)
  ↓
Для каждого тайла:
  [уже_обработанные_соседи] → LoadImage → reference_1, reference_2
  [текущий_тайл]            → noise latent
  Klein KSampler с 2 references
  ↓
VAEDecodeTiled
  ↓
Stitch с Gaussian blending в зонах overlap

Ключевые ноды: ComfyUI-TiledDiffusion (SpotDiffusion режим), VAEEncodeTiled, VAEDecodeTiled.

Почему circular convolution НЕ работает для Klein

FLUX.1/Klein трансформер не содержит conv слоёв в основной части — только attention и MLP. Circular padding применимо только к VAE (там есть conv), но не к самому DiT. Поэтому бесшовных панорам через circular padding не получить — используй StitchDiffusion LoRA.

Когда нужен тайлинг vs когда нет
СценарийРешение
Изображение ≤ 4MPKlein напрямую (поддерживает до 2048px нативно)
Изображение > 4MPVAEEncodeTiled + SpotDiffusion
Панорама (seamless)StitchDiffusion LoRA + wrap padding в VAE
Batch крупных продуктовых кадровТайлинг с Kontext-соседями

Мульти-референс тренировка (2 входа → 1 выход)

Нужна ли модификация архитектуры?

Нет. Qwen-Image-Edit-2509/2511 уже нативно поддерживает 2 control image слота. Для head swap (body + face → result) архитектурных изменений не требуется:

dataset/
  control_1/   ← BODY (поза, одежда, окружение)
  control_2/   ← FACE (лицо донора)
  targets/     ← RESULT (голова пересажена)
  captions/    ← "head_swap: ..."

Порядок слотов критичен и должен быть консистентным во всём датасете.

Расширение до 3 слотов (body + face + pose map)

Только добавление control_3/ папки + новый time offset в position embeddings (t=3). Веса трансформера не меняются. Это уже поддерживается в Qwen-Image-Edit нативно.

Строгий attribute masking (без attribute leakage)

Проблема 2-slot LoRA: модель иногда берёт волосы с body вместо face. Решения:

A) Текстовые якоря (текущий подход): явно в промпте "hair MUST match Picture 2", повторить 2-3 раза в разных формулировках.

B) FuseAnyPart-style adapter (arxiv:2410.22771): отдельный lightweight adapter принимает masked_face + masked_body → combined conditioning. Жёсткое маскирование на уровне латентов. Требует нового компонента поверх модели.

C) ACE++ (arxiv:2501.02487): Long-context Condition Unit — все conditioning images (reference + mask + output) конкатенируются в единый extended sequence. Two-stage training: сначала 0-ref, потом multi-ref задачи.

Что нужно изменить в датасете vs 1-input → 1-output
Аспект1-input2-input (head swap)
Датасет(source, target) пары(body, face, result) триплеты
СинтетикаМожно генерироватьНужны реальные результаты head swap как GT
CaptionОбщая инструкцияЯвные ссылки на "image 1" и "image 2"
ПорядокНе критиченСтрого: body=control_1, face=control_2
zero_cond_tЖелательноОбязательно (иначе references зашумляются)

Известные проблемы

ПроблемаПричинаРешение
Модель учит трансформацию в обратную сторонуСемантика control/target не подтверждена для закреплённой версии trainerЗафиксировать commit и проверить малым control/target fixture до training job
LyCORIS создаёт 0 модулейKey mismatch с Klein architectureИспользовать стандартный LoRA format
SimpleTuner зависает на RTX 5090Issue #2477Fallback на H200
Деградация likeness при >1024pxПрямой jump на высокое разрешениеCurriculum: 256→512→1024→1536
identity drift при editingzero_cond_t не включёнВключить и при тренировке, и при inference
Attribute leakage (волосы с body вместо face)2-slot LoRA не имеет жёсткого mask controlТекстовые якоря ИЛИ FuseAnyPart adapter

Источники

© AnastasiyaW, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/ai-ml/flux2-lora-training of AnastasiyaW/codex-claude-code-config.

Open the folder on GitHubat commit 67709af

Compare with similar skills

Flux2 Lora Training next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Flux2 Lora Training compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Flux2 Lora Training this skillAnastasiyaW/codex-claude-code-config154—~4.5kAutomated safety check: PassMIT
Model Registryartokun/comfyui-mcp803—~2.1kAutomated safety check: PassMIT
Castguaardvark/guaardvark258—~673Automated safety check: PassMIT
LoRA Space Builderhuggingface/skills11k2 repos~8.4kAutomated safety check: PassApache-2.0
Workflow Template BuilderMooshieblob1/MooshieUI207—~640Automated safety check: PassAGPL-3.0
Z Image Txt2imgartokun/comfyui-mcp803—~2.8kAutomated safety check: PassMIT

Similar skills

  • Model Registry

    artokun/comfyui-mcp

    Curated download URLs and target directories, organized by family (Flux, WAN, LTX, Qwen, Z-Image, SD15/SDXL), for every model the comfyui-mcp skills reference, covering checkpoints, VAEs, text…

    803 GitHub stars~2.1k tokensUpdated 6 days ago
    AI & LLM EngineeringAuto-check passed
  • Cast

    guaardvark/guaardvark

    Build consistent characters, environments and props in Guaardvark's Cast Library and train LoRAs for them locally (reference photos → vision bible → sample plan → approved samples → training).

    258 GitHub stars~673 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • LoRA Space Builder

    huggingface/skills

    Official

    Builds and publishes a Gradio demo on Hugging Face Spaces for a LoRA, with the pipeline, UI and settings chosen to match that LoRA's task and model card.

    11k GitHub starsUsed in 2 repos~8.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Workflow Template Builder

    Mooshieblob1/MooshieUI

    Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates).

    207 GitHub stars~640 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Z Image Txt2img

    artokun/comfyui-mcp

    Build Z-Image txt2img workflows. An agent skill from artokun/comfyui-mcp.

    803 GitHub stars~2.8k tokensUpdated 6 days ago
    AI & LLM EngineeringAuto-check passed
  • Anima Base

    artokun/comfyui-mcp

    Anime/illustration text-to-image (ANIMA 1.0, ~2B Cosmos DiT).

    803 GitHub stars~4k tokensUpdated 6 days ago
    Media & CreativeAuto-check passed

More from AnastasiyaW/codex-claude-code-config

All 50 skills in this repo
  • Bug Reproducer

    AnastasiyaW/codex-claude-code-config

    Find likely software bugs in a codebase, rank concrete bug candidates, and prove or reject them with focused regression tests before proposing a fix.

    154 GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Motion Framer

    AnastasiyaW/codex-claude-code-config

    A skill your agent uses when implementing Motion or Framer Motion in React/JavaScript: interactive UI components, micro-interactions, gestures, layout or page transitions, and scroll-based animation.

    154 GitHub starsUsed in 1 repo~5.2k tokens
    Auto-check passed
  • Proof Verify

    AnastasiyaW/codex-claude-code-config

    Plan-based verification - freeze acceptance criteria before building, then verify after with an independent fresh-context agent (the builder must not verify their own work).

    154 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Workflow Orchestration

    AnastasiyaW/codex-claude-code-config

    Написание и запуск Claude Code dynamic workflows (JS-оркестратор субагентов).

    154 GitHub stars~3.8k tokensUpdated today
    Auto-check passed
  • Notebooklm Grounded Research

    AnastasiyaW/codex-claude-code-config

    A skill your agent uses when: NotebookLM, notebooklm MCP, large documentation sets, courses, books, papers, or citation-backed research are mentioned.

    154 GitHub stars~2.4k tokensUpdated today
    Auto-check: warnings
  • Deepseek Provider Contract

    AnastasiyaW/codex-claude-code-config

    Validate a proposed DeepSeek API integration before any key or project context is sent: check thinking-mode tool-call history, strict-schema assumptions, bounded output, and provider data boundaries.

    154 GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Flux2 Lora Training

What does Flux2 Lora Training do?

Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets, trainer-version contracts, and held-out fidelity checks. Flux2 Lora Training is an agent skill from AnastasiyaW/codex-claude-code-config.2 Klein or Qwen-Image-Edit, including paired datasets, trainer-version contracts, and held-out fidelity checks.

When should I use Flux2 Lora Training?

Flux2 Lora Training fits situations like: generic Stable Diffusion/DiT training; prompt authoring; route those tasks to their specialized skill.

How do I install Flux2 Lora Training in Claude Code?

Run `npx skills add AnastasiyaW/codex-claude-code-config --skill flux2-lora-training -a claude-code`. Or copy the skill folder (skills/ai-ml/flux2-lora-training in AnastasiyaW/codex-claude-code-config) into .claude/skills/flux2-lora-training in your project. Claude Code loads it when a task matches its description.

How do I install Flux2 Lora Training in Codex?

Run `npx skills add AnastasiyaW/codex-claude-code-config --skill flux2-lora-training -a codex`. Or copy the skill folder (skills/ai-ml/flux2-lora-training in AnastasiyaW/codex-claude-code-config) into .agents/skills/flux2-lora-training in your project. Codex loads it when a task matches its description.

Can I use Flux2 Lora Training in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AnastasiyaW/codex-claude-code-config --skill flux2-lora-training -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flux2-lora-training, .gemini/skills/flux2-lora-training, .github/skills/flux2-lora-training and .opencode/skills/flux2-lora-training in your project.

What does Flux2 Lora Training need to run?

Going by SKILL.md and its folder, Flux2 Lora Training needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Flux2 Lora Training access the network?

SKILL.md names 6 domains. As links in the text: github.com, huggingface.co, hf.co, arxiv.org, docs.bfl.ml and medium.com. This is read from the text; nothing was executed.

Is Flux2 Lora Training safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Flux2 Lora Training use?

Flux2 Lora Training is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Flux2 Lora Training use?

About 4.5k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Flux2 Lora Training?

Skills that share tags, products or a category with Flux2 Lora Training: Model Registry (artokun/comfyui-mcp, 803 stars), Cast (guaardvark/guaardvark, 258 stars), LoRA Space Builder (huggingface/skills, 11k stars) and Workflow Template Builder (Mooshieblob1/MooshieUI, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Flux2 Lora Training?

AnastasiyaW (a GitHub user) maintains it in AnastasiyaW/codex-claude-code-config, which has 154 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 9, 2026.

Source: AnastasiyaW/codex-claude-code-config on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.