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
npx skills add drawthingsai/local-code-community --skill new-model-integration -a claude-codeWhat 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
ModelVersioncase - 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
ModelVersioncase 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-code2Manually: put the files in place
~/.claude/skills/new-model-integration/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/new-model-integration/
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill new-model-integration -a codex2Manually: put the files in place
.agents/skills/new-model-integration/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill new-model-integration -a cursor2Manually: put the files in place
.cursor/skills/new-model-integration/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install drawthingsai/local-code-community .agents/skills/new-model-integration2Manually: put the files in place
.github/skills/new-model-integration/SKILL.md1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill new-model-integration -a gemini-cli2Platform CLI
gemini skills install https://github.com/drawthingsai/local-code-community --path .agents/skills/new-model-integrationManually: put the files in place
.devin/skills/new-model-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 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.