Agent skill

Use Drawthings CLI

by drawthingsai in drawthingsai/draw-things-community

Use and troubleshoot an already installed Homebrew draw-things-cli for model discovery, authentication, local, cloud, or remote image generation, basic image-to-image and video generation, output…

GPL-3.0Auto-check passedMedia & Creative

Install Use Drawthings CLI

skills CLI
$ npx skills add drawthingsai/draw-things-community --skill use-drawthings-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install drawthingsai/draw-things-community use-drawthings-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/drawthingsai/draw-things-community.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/use-drawthings-cli .claude/skills/use-drawthings-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
use-drawthings-cli
GitHub stars
579
Token cost
~3k tokens
SKILL.md length
1,342 words
Files
2
Skills in repo
8
Repo updated
First seen
Licence
GPL-3.0

At a glance

Use and troubleshoot an already installed Homebrew draw-things-cli for model discovery, authentication, local, cloud, or remote image generation, basic image-to-image and video generation, output…

  • Works in 5 steps: Verify the installed command and read… → Choose local, cloud, or remote-server… → Discover a valid model file ID instead… → …
  • Agent needs to inspect Draw Things CLI commands
  • SKILL.md covers Follow The Shortest Safe…, Verify The Installed CLI, Choose A Backend and Discover And Prepare Models, plus 8 more sections
  • Calls brew

What it does

Use Drawthings CLI is an agent skill from drawthingsai/draw-things-community. Use and troubleshoot an already installed Homebrew draw-things-cli for model discovery, authentication, local, cloud, or remote image generation, basic image-to-image and video generation, output verification, and safe agent operation. Use when a new user or agent needs to inspect Draw Things CLI commands or models, generate a first image, sign in to Draw Things cloud, connect to a Draw Things server, or diagnose common generation failures after installation.

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Media & Creative, covering AI video generation, Image generation and Authentication. It works with Homebrew. The repository describes itself as: The community repository for the Draw Things app. The licence is GPL-3.0.

When your agent uses it

  • Agent needs to inspect Draw Things CLI commands
  • Generate a first image
  • Sign in to Draw Things cloud
  • Connect to a Draw Things server

Example prompts

  • “/use-drawthings-cli”

Requirements

  • Docker

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Verify the installed command and read its current help; repair installation only if verification
  2. Choose local, cloud, or remote-server execution.
  3. Discover a valid model file ID instead of guessing one.
  4. Start with one inexpensive, reproducible output.
  5. Write to an explicit output path and validate the artifact before reporting success.

What it can do on your machine

Read from SKILL.md and the folder at commit 3cac075. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • brew

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Use Drawthings CLI loads about 3k tokens when it runs. Until then it costs about 121 tokens; SKILL.md has 1,342 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~121
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from drawthingsai/draw-things-community at commit 3cac075, republished under its GPL-3.0 licence (© drawthingsai). 1,342 words, ~2,972 tokens.

Download SKILL.mdSave it as .claude/skills/use-drawthings-cli/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
use-drawthings-cli
description
Use and troubleshoot an already installed Homebrew draw-things-cli for model discovery, authentication, local, cloud, or remote image generation, basic image-to-image and video generation, output verification, and safe agent operation. Use when a new user or agent needs to inspect Draw Things CLI commands or models, generate a first image, sign in to Draw Things cloud, connect to a Draw Things server, or diagnose common generation failures after installation.

Use Draw Things CLI

Use the Homebrew-installed draw-things-cli executable from PATH. Assume it is already installed and the user does not have the Draw Things source repository. Do not build with Bazel or SwiftPM unless the user explicitly asks to develop or test the CLI itself.

Follow The Shortest Safe Workflow

  1. Verify the installed command and read its current help; repair installation only if verification fails.
  2. Choose local, cloud, or remote-server execution.
  3. Discover a valid model file ID instead of guessing one.
  4. Start with one inexpensive, reproducible output.
  5. Write to an explicit output path and validate the artifact before reporting success.

Before downloading a large local model or consuming cloud compute, tell the user what will happen. Treat an explicit request to download or generate as authorization for that requested operation; do not submit extra variants without permission. Cloud generation has no dry-run or built-in price preview, so obtain confirmation immediately before the first cloud job unless the user explicitly requested that cloud job.

Verify The Installed CLI

Start here; do not reinstall or upgrade a working CLI merely to run a generation:

sh
command -v draw-things-cli
draw-things-cli --version
draw-things-cli --help
draw-things-cli generate --help

If the executable is missing, confirm the stable Homebrew Core formula and install it as a recovery step:

sh
brew info draw-things-cli
brew install draw-things-cli
command -v draw-things-cli

If the installed CLI lacks a required documented option, record its version and ask before upgrading:

sh
brew outdated draw-things-cli
brew upgrade draw-things-cli

Do not substitute the draw-things GUI cask, an old custom tap, or --HEAD. On Apple Silicon, if installation fails or the binary has the wrong architecture, compare uname -m with brew --prefix; a native Homebrew normally uses /opt/homebrew, while /usr/local may indicate a Rosetta installation. Do not replace Homebrew or edit shell startup files without the user's approval. Use brew info draw-things-cli as the authority for current platform requirements.

Treat the installed --help output as the source of truth because flags and model support evolve. Read the relevant subcommand help before constructing a non-trivial command:

sh
draw-things-cli models --help
draw-things-cli auth --help
draw-things-cli generate --help
draw-things-cli train --help

Choose A Backend

BackendSelectionPreparationCurrent output boundary
Local MacdefaultDownload model files locallyPNG and supported local video formats
Draw Things cloud--cloud-computeRun auth login; may consume paid computePNG only
Draw Things server--remoteObtain host, TLS, port, and optional secretPNG only

Keep these current CLI boundaries explicit:

  • Remote and cloud generation reject video output.
  • Remote and cloud generation reject --audio.
  • LongCat --avc is local-only.
  • Remote and cloud accept a normal --image input for supported image-to-image generation.
  • --offline cannot be combined with remote or cloud execution.
  • --remote and --cloud-compute are mutually exclusive.
  • Remote and cloud upload prompts and any image input to the selected service. Confirm that the user accepts this privacy boundary.
  • Remote and cloud do not upload local model or LoRA weights. Do not assume an unregistered local model or LoRA exists on the target service.

If the installed help differs, follow the installed version and report the difference.

Discover And Prepare Models

List model mappings before choosing a model:

sh
draw-things-cli models list
draw-things-cli models list --downloaded-only

Prefer the exact file ID from the first column, such as z_image_turbo_1.0_q8p.ckpt. Human-readable names and Hugging Face references are supported, but the exact registered file ID makes runs easier to reproduce.

For local generation, download the selected model and its registered dependencies explicitly when the user wants a predictable preparation step:

sh
draw-things-cli models ensure --model z_image_turbo_1.0_q8p.ckpt

Generation downloads missing files by default. Add --no-download-missing only after verifying the files exist. Add --offline only when the user requires no network access.

Let the CLI resolve its default model directory unless the user supplies one. Resolution is shown by models list --help; override it consistently with either --models-dir /path/to/Models or DRAWTHINGS_MODELS_DIR. Quote paths containing spaces.

Generate A First Local Image

Use model-recommended settings for the first run. Override only the seed and output so the result is reproducible and saved:

sh
draw-things-cli generate \
  --model z_image_turbo_1.0_q8p.ckpt \
  --prompt "A small red cube on a wooden table, soft studio light" \
  --seed 42 \
  --disable-preview \
  --output "$PWD/draw-things-first.png"

If that model ID is absent from models list, select another downloaded or official text-to-image model and keep its recommended settings. Do not assume one model's steps or CFG suit another model.

Always pass --output for unattended agent work. Without it, the CLI may render a temporary inline preview and intentionally leave no file.

Generate With Draw Things Cloud

Prefer browser login over asking the user to paste an API key. Pause for the user when the browser, Google login, MFA, or an OS permission prompt requires interaction:

sh
draw-things-cli auth login
draw-things-cli auth token

Do not print saved credentials or place an API key in shell history, logs, source files, or chat. Before submission, choose a new .png output path and confirm its parent directory exists and is writable. This avoids paying for a successful generation that cannot be saved locally. After the user has authorized cloud usage, generate one PNG first:

sh
draw-things-cli generate \
  --cloud-compute \
  --model z_image_turbo_1.0_q8p.ckpt \
  --prompt "A small red cube on a wooden table, soft studio light" \
  --seed 42 \
  --output "$PWD/draw-things-cloud.png"

Run auth logout only when the user asks to remove saved credentials.

Show full SKILL.md (566 more words)Show less

Generate On A Draw Things Server

Ask for the host and whether it uses TLS. TLS is enabled by default. Disable it only for a trusted local endpoint that the user identifies as non-TLS. Choose a new writable .png output path before connecting:

sh
draw-things-cli generate \
  --remote \
  --remote-url 127.0.0.1 \
  --remote-port 7859 \
  --no-remote-tls \
  --model z_image_turbo_1.0_q8p.ckpt \
  --prompt "A small red cube on a wooden table, soft studio light" \
  --seed 42 \
  --output "$PWD/draw-things-remote.png"

Do not expose --remote-shared-secret in logs or chat. If a secret is required and no protected input mechanism is available, ask the user to run that authenticated command themselves.

Use Common Input Modes

For local image-to-image generation, choose a model that supports it and use a strength in 0...1:

sh
draw-things-cli generate \
  --model z_image_turbo_1.0_q8p.ckpt \
  --prompt "Transform this into a cinematic night scene" \
  --image /path/to/input.png \
  --strength 0.35 \
  --seed 42 \
  --output /path/to/img2img.png

Use --prompt-file for long or multiline prompts:

sh
draw-things-cli generate \
  --model z_image_turbo_1.0_q8p.ckpt \
  --prompt-file /path/to/prompt.txt \
  --seed 42 \
  --output /path/to/result.png

For local video, first choose a video-capable model from models list, then consult generate --help and the model's recommended settings. A basic command shape is:

sh
draw-things-cli generate \
  --model ltx_2.3_22b_distilled_q6p.ckpt \
  --prompt "Ocean waves at sunset" \
  --frames 49 \
  --seed 42 \
  --video-format h264 \
  --output /path/to/clip.mp4

Respect model-specific frame-count and dimension constraints. Width and height overrides must be multiples of 64.

Preserve Configuration Semantics

Apply configuration in this order:

  1. Begin with model-recommended settings.
  2. Merge --config-json or --config-file only when needed.
  3. Apply explicit flags such as --steps, --cfg, --width, --height, --frames, and --seed.
  4. Use --negative-prompt only when intentionally replacing the recommended negative prompt.

Keep the full command, CLI version, model ID, seed, and output path when reproducibility or benchmarking matters. Change one variable at a time during comparisons.

Validate Every Result

Require a nonempty file before reporting success:

sh
test -s /path/to/result.png
file /path/to/result.png
sips -g pixelWidth -g pixelHeight -g format /path/to/result.png

Also require exit status 0 and the CLI's Wrote: message. If a command returns multiple images, the CLI may write numbered paths such as result-0000.png; validate every reported path instead of assuming the original basename exists. Open or inspect the image with the agent's available image viewer. For video, verify the container, dimensions, duration, frame count, video codec, and audio stream with ffprobe when available, or with macOS mdls and AVFoundation tools. Include the output path and measured generation timing in the handoff.

Use a new output path by default. Do not overwrite an existing image or video unless the user has explicitly authorized replacement; local video export can remove an existing destination before writing the new container.

Troubleshoot Deliberately

  • draw-things-cli: command not found: confirm Homebrew works, run eval "$(brew shellenv)", then retry command -v draw-things-cli.
  • Unknown model: run models list and use an exact file ID from its output.
  • Missing model or dependency: run models ensure --model FILE_ID without --no-include-dependencies.
  • No output file: rerun with an explicit --output path.
  • Cloud authentication failure: run auth token; if validation fails, run interactive auth login again.
  • Remote connection failure: verify host, port, TLS choice, server availability, and shared-secret requirements before retrying.
  • Remote/cloud video or audio error: use local generation; the current remote protocol does not carry those outputs or audio conditioning.
  • Invalid dimensions: use width and height values divisible by 64.
  • A long quiet local run: distinguish model download, graph compilation, sampling, and export; do not launch duplicate generation processes merely because output pauses.
  • Suspected version mismatch: record --version, inspect current help, then use Homebrew to upgrade if the user wants the newer behavior.

Hand Off Advanced Workflows

  • Use $run-longcat-avatar-video for LongCat reference-image and audio video, AVC 93/13, checkpoint selection, performance comparison, and MP4 validation.
  • Use $train-lora for LoRA training validation, loss and scaler checks, checkpoint inspection, and base-versus-LoRA comparisons.
  • Use $init-gpu-server for provisioning a remote CUDA server; do not fold SSH, Docker, drivers, or disk setup into this onboarding workflow.

When those skills are unavailable, read the relevant installed CLI help and proceed conservatively instead of inventing flags.

© drawthingsai, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/use-drawthings-cli of drawthingsai/draw-things-community.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 3cac075

Compare with similar skills

Use Drawthings CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Use Drawthings CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Use Drawthings CLI this skilldrawthingsai/draw-things-community579—~3kAutomated safety check: PassGPL-3.0
SN Motion HTMLOpenSenseNova/SenseNova-Skills5.7k—~2.2kAutomated safety check: NotesMIT
Wedding Video Guided Wizardaaronyi97/wedding-video-guided-wizard288—~1kAutomated safety check: PassMIT
Gc Still Image Motion DirectorLiamGvchi/gc-still-image-motion-director152—~1.4kAutomated safety check: PassMIT
WorkrallyTencent/workrally151—~3.7kAutomated safety check: PassMIT-0
RunninghubHM-RunningHub/OpenClaw_RH_Skills141—~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • SN Motion HTML

    OpenSenseNova/SenseNova-Skills

    Builds HTML stories where one continuous camera journey advances with page progress, using researched structure, AI stills, Seedance video clips and browser QA.

    5.7k GitHub stars~2.2k tokensUpdated 19 days ago
    Media & CreativeAuto-check: notes
  • Wedding Video Guided Wizard

    aaronyi97/wedding-video-guided-wizard

    Guide a creator through a real couple's custom wedding video, from a shareable story intake card and Kimi writing pack through narration, external GPT image prompts, image-to-video packs, music and…

    288 GitHub stars~1k tokensUpdated 27 days ago
    Media & CreativeAuto-check passed
  • Gc Still Image Motion Director

    LiamGvchi/gc-still-image-motion-director

    Analyze still images and design restrained, image-specific motion for image-to-video generation.

    152 GitHub stars~1.4k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed
  • Workrally

    Tencent/workrally

    WorkRally CLI (workrally) — 面向 AI Agent 的 AIGC 漫剧视频创作全流程工具集。支持 AI 生图、AI 生视频、视频提示词优化、画布生音频/音乐、混元 3D 模型生成、AI 生音频、项目/剧集/场次/分镜的完整 CRUD、资产库、媒资管理、无限画布、文件上传下载等。Use when user asks to generate images…

    151 GitHub stars~3.7k tokensUpdated 8 days ago
    Media & CreativeAuto-check passed
  • Runninghub

    HM-RunningHub/OpenClaw_RH_Skills

    Generate images, videos, audio, and 3D models via RunningHub API (420 endpoints) and run any RunningHub AI Application (custom ComfyUI workflow) by webappId.

    141 GitHub stars~1.6k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Media Gen

    clacky-ai/openclacky

    Generate or edit images, videos, or audio in the current task.

    1.2k GitHub stars~7.3k tokensUpdated today
    Media & CreativeAuto-check passed

More from drawthingsai/draw-things-community

All 8 skills in this repo
  • Run Longcat Avatar Video

    drawthingsai/draw-things-community

    Generate, benchmark, validate, and troubleshoot LongCat-Video-Avatar 1.5 videos with draw-things-cli.

    579 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Setup Cpu Proxy Server

    drawthingsai/draw-things-community

    Set up and verify a new Draw Things CPU proxy and Envoy server using the scripts in Scripts/ServerManagement/CPUScript.

    579 GitHub stars~3.8k tokensUpdated today
    Auto-check passed
  • Init GPU Server

    drawthingsai/draw-things-community

    Initialize a Draw Things GPU server with GPUScript, including script sync, Docker/CUDA/NVIDIA runtime setup, 7T data disk mounting, mergerfs, and end-to-end GPU verification.

    579 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • New Model Integration

    drawthingsai/draw-things-community

    Add a new image or video generative model to the Draw Things app / CLI with a compile-first, end-to-end workflow across SwiftDiffusion, tokenizer plumbing, text encoder, fixed encoder, UNet / DiT…

    579 GitHub stars~4.8k tokensUpdated today
    Auto-check passed
  • Train Lora

    drawthingsai/draw-things-community

    Validate Draw Things LoRA training end to end with draw-things-cli, including tiny-dataset training, loss and scaler checks, checkpoint sanity, and base-versus-LoRA generation comparison.

    579 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Trainer Integration

    drawthingsai/draw-things-community

    Add or tighten Draw Things LoRA trainer support for generative models available in the Draw Things app / CLI, covering LoRA builders, trainer dispatch, tokenizer and fixed-encoder wiring, checkpoint…

    579 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Works with

Questions about Use Drawthings CLI

What does Use Drawthings CLI do?

Use and troubleshoot an already installed Homebrew draw-things-cli for model discovery, authentication, local, cloud, or remote image generation, basic image-to-image and video generation, output…. Use Drawthings CLI is an agent skill from drawthingsai/draw-things-community. Use and troubleshoot an already installed Homebrew draw-things-cli for model discovery, authentication, local, cloud, or remote image generation, basic image-to-image and video generation, output verification, and safe agent operation.

When should I use Use Drawthings CLI?

Use Drawthings CLI fits situations like: agent needs to inspect Draw Things CLI commands; generate a first image; sign in to Draw Things cloud; connect to a Draw Things server.

How do I install Use Drawthings CLI in Claude Code?

Run `npx skills add drawthingsai/draw-things-community --skill use-drawthings-cli -a claude-code`. Or copy the skill folder (.agents/skills/use-drawthings-cli in drawthingsai/draw-things-community) into .claude/skills/use-drawthings-cli in your project. Claude Code loads it when a task matches its description.

How do I install Use Drawthings CLI in Codex?

Run `npx skills add drawthingsai/draw-things-community --skill use-drawthings-cli -a codex`. Or copy the skill folder (.agents/skills/use-drawthings-cli in drawthingsai/draw-things-community) into .agents/skills/use-drawthings-cli in your project. Codex loads it when a task matches its description.

Can I use Use Drawthings CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add drawthingsai/draw-things-community --skill use-drawthings-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/use-drawthings-cli, .gemini/skills/use-drawthings-cli, .github/skills/use-drawthings-cli and .opencode/skills/use-drawthings-cli in your project.

What does Use Drawthings CLI need to run?

Going by SKILL.md and its folder, Use Drawthings CLI needs the command-line tools its instructions call (brew). Our summary lists: Docker.

Does Use Drawthings CLI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Use Drawthings CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Use Drawthings CLI use?

Use Drawthings CLI is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Use Drawthings CLI use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Use Drawthings CLI?

Skills that share tags, products or a category with Use Drawthings CLI: SN Motion HTML (OpenSenseNova/SenseNova-Skills, 5.7k stars), Wedding Video Guided Wizard (aaronyi97/wedding-video-guided-wizard, 288 stars), Gc Still Image Motion Director (LiamGvchi/gc-still-image-motion-director, 152 stars) and Workrally (Tencent/workrally, 151 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Use Drawthings CLI?

drawthingsai (a GitHub organization) maintains it in drawthingsai/draw-things-community, which has 579 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 6, 2026.

Source: drawthingsai/draw-things-community on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.