trainer-integration — Claude Code skill: features and install
trainer-integration is a Claude Code skill for adding or refining LoRA training support for models in Draw Things. It covers trainer wiring, checkpoint export, and validation.
GPL-3.0 ★ 171 updated 2026-11-17
npx skills add drawthingsai/local-code-community --skill trainer-integration -a claude-codeWhat trainer-integration does
The skill lays out a workflow for adding LoRA training paths for generative models available in Draw Things app and CLI. It covers model builders, trainer dispatch, tokenizer setup, and fixed encoders. Flux1 serves as the reference path; the workflow advises reusing only the pieces a model needs.
The checklist covers trainable-key selection in both the CLI and app, weight loading with the required model key and codec list, rotary handling, and attention backend checks. It also addresses numerical stability and LoRA checkpoint export. Qwen Image uses the Qwen 2.5 tokenizer, while Z Image uses Qwen 3.
What it helps with
- add a LoRA training path for a Draw Things model
- align trainable-key selection between the CLI and app
- connect the model's tokenizer and fixed encoder
- check training numerics and LoRA checkpoint export
Example prompts for the agent
- Add LoRA training for a new Draw Things model and use the Flux1 path as a reference.
- Check which tokenizer the Qwen Image training path needs.
- Find where to add version-specific model selection in the CLI and app.
How to install trainer-integration
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill trainer-integration -a claude-code2Manually: put the files in place
~/.claude/skills/trainer-integration/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/trainer-integration/
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill trainer-integration -a codex2Manually: put the files in place
.agents/skills/trainer-integration/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill trainer-integration -a cursor2Manually: put the files in place
.cursor/skills/trainer-integration/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install drawthingsai/local-code-community .agents/skills/trainer-integration2Manually: put the files in place
.github/skills/trainer-integration/SKILL.md1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill trainer-integration -a gemini-cli2Platform CLI
gemini skills install https://github.com/drawthingsai/local-code-community --path .agents/skills/trainer-integrationManually: put the files in place
.devin/skills/trainer-integration/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about trainer-integration
How do I install trainer-integration in Claude Code?
Run npx skills add drawthingsai/local-code-community --skill trainer-integration -a claude-code. The skill file is installed at ~/.claude/skills/trainer-integration/SKILL.md.
What does trainer-integration do?
It guides work on LoRA training support for Draw Things models, including trainer wiring, tokenizer setup, numerical checks, and checkpoint export.
Which tokenizers do Qwen Image and Z Image use?
Qwen Image uses Qwen 2.5, while Z Image uses Qwen 3.