Skip to main content
skill CX Codex

new-model-integration — Claude Code skill for model integration

new-model-integration is a Claude Code skill for adding image or video generation models to Draw Things. It guides the work from compilation through model wiring and CLI checks.

GPL-3.0 ★ 171 updated 2026-11-17

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add drawthingsai/local-code-community --skill new-model-integration -a claude-code
Open on GitHub

What new-model-integration does

The skill lays out an integration path for a model in the Draw Things app or CLI. It starts with an end-to-end compile, then covers a model builder, checkpoint key mapping with ModelWeightMapper, and adding a ModelVersion case along with the switches that use it.

Tokenizer setup gets its own step. When a model has multiple text streams, the skill recommends keeping their connections explicit; existing tokenizers, text encoders, or VAEs can be reused first. A successful CLI launch alone does not complete validation: run an actual sample and inspect its image. The workflow targets SwiftDiffusion in the Draw Things repository.

What it helps with

  • create a builder for a new generative model
  • map checkpoint weights to model keys
  • locate switches that need a new ModelVersion case
  • wire up a model with multiple text streams

Example prompts for the agent

  • Add an image-generation model to the Draw Things app, starting with a compile.
  • Introduce a ModelVersion case for this model and find the switches that use it.
  • Reuse the existing text encoder and check a generated sample through the CLI.

How to install new-model-integration

1Skills CLI (Vercel)

npx skills add drawthingsai/local-code-community --skill new-model-integration -a claude-code

2Manually: put the files in place

~/.claude/skills/new-model-integration/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/new-model-integration/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about new-model-integration

How do I install new-model-integration in Claude Code?

Run npx skills add drawthingsai/local-code-community --skill new-model-integration -a claude-code. The skill file is at ~/.claude/skills/new-model-integration/SKILL.md.

What does new-model-integration do?

It guides the integration of an image or video generation model into the Draw Things app or CLI, covering the model builder, weight mapping, version handling, and CLI validation.

What should I check after the first successful CLI run?

Run a real sample and inspect its image. The skill also recommends pinning --seed when comparing fixes to generation semantics.

Similar skills

SKILL.md skills catalog →

From the same set20

The whole set →
deploy-static-site-with-wrangler deploy-static-site-with-wrangler is a Claude Code skill that uploads static site builds to temporary public Cloudflare URLs. It triggers when someone asks to share or preview built HTML assets. CX Codex +1 ★ 171repo stars train-lora train-lora is a Claude Code skill that validates LoRA training with Draw Things through draw-things-cli. It runs local dataset checks and compares generated images with and without the LoRA. CX Codex +1 ★ 171repo stars skill-creator skill-creator is a Claude Code skill that guides creating, validating, updating, and removing workspace skills. It triggers on requests for reusable workflows or tool integrations. CX Codex +1 ★ 171repo stars init-gpu-server init-gpu-server is a Claude Code skill that prepares a Draw Things GPU server by syncing GPUScript, installing server software, and mounting data disks. CX Codex +1 ★ 171repo stars trainer-integration 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. CX Codex +1 ★ 171repo stars run-longcat-avatar-video run-longcat-avatar-video is a Claude Code skill that orchestrates talking avatar generation via draw-things-cli. It animates a portrait from sound input in LongCat-Video-Avatar 1.5. CX Codex +1 ★ 171repo stars use-drawthings-cli use-drawthings-cli is a Claude Code skill for running and troubleshooting image generation with Draw Things CLI. It comes into play when choosing a model, setting up cloud access, or diagnosing a failed run. CX Codex +1 ★ 171repo stars setup-cpu-proxy-server setup-cpu-proxy-server is a Claude Code skill that deploys Draw Things CPU proxy and Envoy instances on Linux hosts. Runs during node provisioning via SSH or Tailscale. CX Codex +1 ★ 171repo stars

Project sponsors

Companies that keep this analytics open