ai-toolkit-trainer SKILL.md skillA

ai-toolkit-trainer from artokun/comfyui-mcp is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add artokun/comfyui-mcp/ai-toolkit-trainer@git:20260825.cab59a6

Pins git:20260825.cab59a6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
artokun/comfyui-mcp
Path
plugin/skills/ai-toolkit-trainer/SKILL.md
Versions recorded
3
Latest version
git:20260825.cab59a6, committed Aug 25, 2026
First version recorded
Jun 17, 2026
Size
10,931 bytes
Repository stars
887
License
MIT

Train custom LoRAs with ostris AI-Toolkit. Covers WAN 2.2/2.1 (people, styles, video motion) and Z-Image (Turbo & Base, low-VRAM image LoRAs). Use when the user wants to train a WAN or Z-Image LoRA; covers local + RunPod setup, dataset prep, key params, and using the result in a ComfyUI workflow.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AI-Toolkit LoRA Trainer (WAN 2.2 & Z-Image)

## Overview

AI-Toolkit by ostris is an MIT-licensed trainer for finetuning diffusion models. It is a standalone trainer with its own web UI, not a ComfyUI custom node. It runs a Node.js UI front end over a Python (`run.py`) training backend and trains LoRAs for many model families. This skill covers the WAN 2.2 / 2.1 video models and Z-Image (Turbo & Base).

- Repo: `https://github.com/ostris/ai-toolkit` (cloned by the installers).
- Backend: `python run.py config/<job>.yml`. UI: a Node.js app under `ui/` that schedules and monitors jobs. You do not have to keep the UI open while a job runs.
- Output: a standard `.safetensors` LoRA you drop into ComfyUI `models/loras/` and load with `LoraLoaderModelOnly`.

Best for:
- WAN LoRAs. A person or character, an art style, or a specific camera or video motion, trained from image or video clip datasets. For *using* WAN see wan-t2v-video / wan-flf-video.
- Z-Image LoRAs. Fast, very low-VRAM image LoRAs (faces, characters, outfits, styles) on the 6B Z-Image base/turbo. For *using* Z-Image see z-image-base / z-image-turbo, and the z-image-xy-plot pack to compare trained LoRAs.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add artokun/comfyui-mcp/ai-toolkit-trainer@sha256:0deb84398f3e48c6

The line at the top of this page pins the label git:20260825.cab59a6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fme2uatlgqiorzra.svg)](https://markdownregistry.com/a/art_fme2uatlgqiorzra)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Jun 17, 2026 and Aug 25, 2026, about one every 35 days.

versioncommittedcommitsizeaudit
git:20260825.cab59a6 latest2026-08-25 cab59a6 10,931 BA view · diff
git:20260819.9fe9ea32026-08-19 9fe9ea3 11,185 BA view · diff
git:20260617.623a3d92026-06-17 623a3d9 10,997 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10931 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

artokun/comfyui-mcp · 887 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fme2uatlgqiorzra
GET https://markdownregistry.com/api/v1/resolve?ref=artokun/comfyui-mcp/ai-toolkit-trainer
GET https://markdownregistry.com/api/v1/blob/0deb84398f3e48c6e386f772a4e4d5413af7f3ebae08bdff5b8f5b46e4da0433

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from artokun/comfyui-mcp

anima-base SKILL.md skill
artokun/comfyui-mcp · plugin/skills/anima-base/SKILL.md · Anime/illustration text-to-image (ANIMA 1.0, ~2B Cosmos DiT). Use for anime, manga, illustrated characters; accepts…
git:20260827.6cfca93 · audit A · 887 stars
anima-lora-trainer SKILL.md skill
artokun/comfyui-mcp · plugin/skills/anima-lora-trainer/SKILL.md · Train a custom anime LoRA on the ANIMA base model with Citron's local Gradio trainer (kohya sd-scripts), <6GB VRAM…
git:20260825.cab59a6 · audit B · 887 stars
civitai SKILL.md skill
artokun/comfyui-mcp · plugin/skills/civitai/SKILL.md · Discover Civitai models with the BUILT-IN download_model action:"search_civitai" and install/generate them locally…
git:20260825.cab59a6 · audit A · 887 stars
color-correction SKILL.md skill
artokun/comfyui-mcp · plugin/skills/color-correction/SKILL.md · Diagnose and fix video/image color OBJECTIVELY with the get_image (action:"analyze_color") tool (scopes/stats such as…
git:20260825.cab59a6 · audit A · 887 stars
comfyui-core SKILL.md skill
artokun/comfyui-mcp · plugin/skills/comfyui-core/SKILL.md · Core ComfyUI knowledge covering workflow format, node types, pipeline patterns, and MCP tool usage
git:20261025.d36a05c · audit A · 887 stars
comfyui-frontend-extensions SKILL.md skill
artokun/comfyui-mcp · plugin/skills/comfyui-frontend-extensions/SKILL.md · Authoring ComfyUI v2 frontend extensions with @comfyorg/extension-api, covering…
git:20260825.cab59a6 · audit A · 887 stars
comfyui-launch-flags SKILL.md skill
artokun/comfyui-mcp · plugin/skills/comfyui-launch-flags/SKILL.md · Pick the right ComfyUI startup flags for VRAM, attention, caching, and speed. The full decision matrix for OOM…
git:20260825.cab59a6 · audit A · 887 stars
comfyui-node-registry SKILL.md skill
artokun/comfyui-mcp · plugin/skills/comfyui-node-registry/SKILL.md · Authoring & publishing ComfyUI custom nodes to the Comfy Registry, covering node structure, pyproject.toml spec…
git:20260825.cab59a6 · audit A · 887 stars
debug-render SKILL.md skill
artokun/comfyui-mcp · plugin/skills/debug-render/SKILL.md · Debug a WRONG or imperfect render (not a hard error) by inspecting inputs and intermediate steps with run-to-node…
git:20260825.cab59a6 · audit A · 887 stars
director SKILL.md skill
artokun/comfyui-mcp · plugin/skills/director/SKILL.md · Full production pipeline covering story to scenes, Z-Image start frames, Qwen Edit end frames, WAN FLF video clips…
git:20260825.cab59a6 · audit A · 887 stars
ernie-image SKILL.md skill
artokun/comfyui-mcp · plugin/skills/ernie-image/SKILL.md · Build Baidu ERNIE-Image / ERNIE-Image-Turbo workflows, primarily TEXT-TO-IMAGE. Pick ERNIE when you need precise…
git:20260825.cab59a6 · audit A · 887 stars
flux-txt2img SKILL.md skill
artokun/comfyui-mcp · plugin/skills/flux-txt2img/SKILL.md · Build Flux txt2img workflows with Flux.1 Dev (SRPO), Flux 2 Klein 9B, Turbo LoRAs, FluxGuidance, and DualCLIPLoader…
git:20260825.cab59a6 · audit A · 887 stars

Every file in artokun/comfyui-mcp

Browse by kind, by grade A, or by owner.