Skip to main content
skill CX Codex

comfyui-lowvram-setup — Claude Code skill for ComfyUI

This skill configures ComfyUI for SDXL isometric asset generation with limited VRAM. Use it when setting up a 12GB RTX 3060 or keeping a tile set consistent.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add 0xheycat/isometric-game-skills --skill comfyui-lowvram-setup -a claude-code
Open on GitHub

What comfyui-lowvram-setup does

The skill recommends starting ComfyUI with --lowvram and --use-split-cross-attention; --medvram-sdxl can replace the first flag. For a tile set, it keeps one SDXL checkpoint and fixes the sampler to DPM++ 2M Karras, with 30 steps, CFG 6.5, and a fixed seed. It also calls for loading sdxl_vae explicitly.

Generate at 1024x1024, then downscale. The skill also has you save the workflow as JSON and check that it reloads with the same graph. Mixing checkpoints or changing the seed can make assets in a set inconsistent; rendering above the VRAM budget risks a crash.

What it helps with

  • configure ComfyUI for SDXL on a 12GB GPU
  • keep generation settings consistent across a tile set
  • save a ComfyUI workflow that can be reloaded

Example prompts for the agent

  • Configure ComfyUI for SDXL isometric assets on an RTX 3060 with 12GB VRAM.
  • Set fixed generation settings for a complete tile set.
  • Check that my ComfyUI workflow reloads with the same settings.

How to install comfyui-lowvram-setup

1Skills CLI (Vercel)

npx skills add 0xheycat/isometric-game-skills --skill comfyui-lowvram-setup -a claude-code

2Manually: put the files in place

~/.claude/skills/comfyui-lowvram-setup/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/comfyui-lowvram-setup/

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

Questions about comfyui-lowvram-setup

How do I install comfyui-lowvram-setup in Claude Code?

Run npx skills add 0xheycat/isometric-game-skills --skill comfyui-lowvram-setup -a claude-code. The skill file is at ~/.claude/skills/comfyui-lowvram-setup/SKILL.md.

What does comfyui-lowvram-setup do?

It guides ComfyUI setup for SDXL isometric assets on a limited-VRAM GPU and keeps settings consistent across a tile set.

Which generation settings does the skill recommend?

It specifies DPM++ 2M Karras, 30 steps, CFG 6.5, a fixed seed, and 1024x1024 output. It also recommends loading sdxl_vae explicitly.

Source text

SKILL.md · MIT
---
name: comfyui-lowvram-setup
description: Use when configuring ComfyUI to generate SDXL isometric assets on a 12GB GPU (RTX 3060) without out-of-memory crashes.
license: MIT
---

# ComfyUI Low-VRAM Setup (12GB)

## Overview

Most isometric asset failures on consumer GPUs are setup failures, not prompt failures. This skill gives a deterministic, low-VRAM-safe SDXL configuration so generations are reproducible and never OOM on a 12GB card.

## When to Use

- Setting up ComfyUI on an RTX 3060 / 12GB or similar.
- Generations randomly crash, stall, or produce inconsistent output.
- You need reproducible results across a whole tile set.

## Process

1. Launch ComfyUI with low-VRAM flags: `--lowvram` (or `--medvram-sdxl`) and `--use-split-cross-attention`.
2. Use one SDXL checkpoint for the whole project (e.g. juggernautXL). Never mix checkpoints mid-set.
3. Set the sampler to DPM++ 2M Karras, 30 steps, CFG 6.5. Keep these FIXED for every asset.
4. Load the matching SDXL VAE explicitly (sdxl_vae) - do not rely on baked VAE.
5. FIX the seed for a tile set. A changing seed is the #1 cause of mismatched assets.
6. Generate at 1024x1024, then downscale - do not generate above VRAM budget.
7. Save the workflow JSON so the exact graph is reproducible and shareable.

```bash
python main.py --lowvram --use-split-cross-attention
```

## Rationalizations (Stop Lying to Yourself)

| Excuse | Reality |
|---|---|
| "I have enough VRAM, I will skip the flags" | One LoRA stack later you OOM mid-batch and lose the seed. Set flags up front. |
| "Changing the seed makes assets more varied" | Varied = inconsistent. A tile set needs the SAME seed and settings. |

## Red Flags - STOP if you catch yourself:

- Mixing checkpoints between assets in the same set.
- Letting the seed randomize across a tile set.
- Generating at 1536+ then wondering why it crashes.

## Verification

You are NOT done until every box is checked:

- [ ] ComfyUI launches with low-VRAM flags and does not OOM on a full batch.
- [ ] Sampler, steps, CFG, VAE and seed are documented and fixed.
- [ ] The workflow JSON is saved and re-loads identically.

© 0xheycat · MIT · 0xheycat/isometric-game-skills

Similar skills

All skills for AI and ML →

From the same set21

isometric-building-sprites Generates isometric building sprites locked to a specific tile footprint. Keeps depth sorting intact so characters walk around buildings naturally. CX Codex +1 ★ 41repo stars isometric-art-direction Set visual rules for an isometric project before generating assets. The skill helps keep tiles, sprites, and buildings consistent across prompts. CX Codex +1 ★ 41repo stars godot4-isometric-tilemap Sets up 2:1 isometric rendering in Godot 4 with TileMapLayer and Y-sort, so draw order and picking stop fighting you. CX Codex +1 ★ 41repo stars depth-sorting-occlusion Fixes sprite layering in isometric scenes so characters correctly render behind walls, trees, and multi-tile structures. CX Codex +1 ★ 41repo stars canvas2d-isometric-renderer Builds the draw loop for an isometric tilemap on Canvas 2D: ground tiles first, depth-sorted sprites after. CX Codex +1 ★ 41repo stars canvas-performance-optimization Helps eliminate frame drops in isometric Canvas games by culling off-screen tiles, batching draw calls, and removing render-loop allocations. CX Codex +1 ★ 41repo stars camera-pan-zoom-controls Skill for isometric cameras: drag-to-pan, scroll-to-zoom toward the cursor, and clamp to map bounds. Keeps tiles pixel-aligned, no shimmer. CX Codex +1 ★ 41repo stars autotiling-transitions A coding-agent skill that sets the rule for picking transition tiles where grass, water and sand meet. Useful when a map reads as a checkerboard of hard seams. CX Codex +1 ★ 41repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor