Rinne414

Lora Training Skill — Development skill for Claude Code

Development community

Bring a folder of images, leave with a trained LoRA.

How to install Lora Training Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Rinne414/lora-training-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Lora Training Skill does

Bring a folder of images, leave with a trained LoRA. Agent skills (SKILL.md) for quality-gated LoRA training: dataset doctor + safe fixer + one-confirmation training orchestration for SD-Trainer / lora-scripts-next. Anima-first, SD1.5/SDXL/Flux.

Alternatives in Development

  • Build Fixer 24.1k ★
  • Add Dataset — Renamed → /portaljs-add-dataset 2.3k ★
  • Symfony Check — Run all quality checks (PHP-CS-Fixer, PHPStan, tests) on the Symfony project 206 ★

README

LoRA Training Skill Suite

**Bring a folder of images. Leave with a trained LoRA.** Or bring just a **name** — `lora-pipeline` collects, curates, tags, trains, validates, and stages a **Civitai draft** for you to review and publish manually.

A small family of agent skills (open [SKILL.md format](https://developers.openai.com/codex/skills)) that turns LoRA training on the [`lora-scripts-next`](https://github.com/wochenlong/lora-scripts-next) trainer (a.k.a. *Next Trainer* / SD-Trainer) into a guided, quality-gated training workflow with separate approval for dataset repairs and manual publishing — **Anima-first**, with SD1.5 / SDXL / Flux support.

Built for **Claude Code**, and works in any SKILL.md-compatible agent — **OpenCode, Codex CLI, OpenClaw** — see [Compatibility](#compatibility-claude-code-opencode-codex-openclaw).

📖 **New here? Start with [docs/WALKTHROUGH.md](docs/WALKTHROUGH.md)** — the full process from empty folder to published LoRA, including what to check at each stage and the captioning mistake that ruins most first attempts. For command reference and the agent contract, see **[GUIDE.md](GUIDE.md)** (English + 简体中文).


The full process at a glance

Three skills, three jobs. `lora-pipeline` runs all of them in order, or enter at any stage with what you already have.

        ┌──────────────┐   ┌───────────────┐   ┌──────────────┐
        │  1. MAKE     │──▶│  2. VERIFY    │──▶│  3. TRAIN    │
        │ lora-pipeline│   │dataset-doctor │   │ lora-trainer │
        └──────────────┘   └───────────────┘   └──────────────┘
         collect · curate    PASS/WARN/FAIL      confirm card
         build · caption     + one-line fixes    → train → snapshots
               │                    │                    │
               │            ⛔ FAIL blocks here          ▼
               │            (seconds, offline,     4. VALIDATE  fixed-seed
               │             before the GPU)          gallery per checkpoint