← Back to Skills Marketplace
mijuu

Drawthings Agent

by mijuu · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
141
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install drawthings-agent
Description
Generate images using Draw Things app via dt-skill CLI or MCP
README (SKILL.md)

Skill: Draw Things for AI Agents

Slug: drawthings-agent
Display Name: Draw Things for AI Agents

🛠 Setup & Verification (AI ACTION REQUIRED)

If dt-skill is not found or fails with "module not found", you MUST perform these steps:

  1. Global Installation: Run npm install -g @mijuu/drawthings to ensure the CLI and MCP entry points are available.
  2. Verify Environment: Run dt-skill doctor. If paths are missing, ask the user for their Draw Things model and server binary paths, then run dt-skill config --server-path "..." --models-path "...".

🧩 Protocol Preference (CRITICAL for AI)

This skill provides two interfaces. You MUST follow this priority:

  1. Model Context Protocol (MCP): If you see the tool generate_image in your toolset, ALWAYS use it. It is the most reliable interface for AI.
  2. CLI Interface (dt-skill): Use dt-skill gen ONLY if the MCP tool is missing or for server management (e.g., dt-skill server start).

🛠 Target Tool

  • MCP Tool: generate_image (Preferred)
  • CLI Command: dt-skill gen (Fallback)

🤖 AI Usage Instructions

1. Basic Generation

  • MCP: Call generate_image(prompt: "...").
  • CLI: Run dt-skill gen --prompt "...". You MUST provide a detailed prompt.

2. High Quality & Upscaling (CRITICAL)

If the user asks for "high quality", "high resolution", "4K", or "clear" images, you MUST use the --upscale parameter at the time of generation.

  • For 2x Upscale: --upscale 2
  • For 4x Upscale: --upscale 4 (Note: Takes significantly longer) Example: dt-skill gen --prompt "..." --upscale 2

3. Aspect Ratio & Resolution

Default is 1024x576 (16:9).

  • Square: --width 1024 --height 1024
  • Portrait: --width 576 --height 1024
  • Standard: --width 1024 --height 576

4. Model Selection

  • Default: z_image_turbo_1.0_q6p.ckpt (Fastest, 8 steps).
  • Listing Models: Use dt-skill models to see what is available before suggesting a change.

5. Task Control & Sessions

When running in environments that support background tasks (like OpenClaw or OpenCode), use is_background: true to allow real-time progress monitoring.

  • Progress: You will see Sampling step: X/Y.
  • Heartbeat: Every 30s you will see ... still working ....
  • Timeout: Default is 600s. For heavy 4x upscales, use --timeout 1200.

⚠️ CRITICAL CONSTRAINTS for AI

  1. NO TRUNCATION: Never use "..." or "etc." in the prompt. Provide the complete text.
  2. NO POST-PROCESSING: Upscaling MUST be part of the initial gen command.
  3. RESPONSE COMPRESSION: Ensure "Response Compression" (FPY) is DISABLED in Draw Things settings.

📋 Parameter Reference (CLI)

Parameter Type Description
--prompt String (Required) Positive prompt
--negative-prompt String Elements to exclude
--upscale Number 1, 2, or 4
--model String Filename of the model
--steps Number Number of sampling steps (8-30)
--seed Number 0 for random, or specific number
--output Path Custom path for result
--timeout Number Max runtime in seconds (Default 600)
Usage Guidance
This skill appears to do what it says (drive a Draw Things CLI or MCP), but take these precautions before following its setup steps: 1) Do not blindly run `npm install -g @mijuu/drawthings`. Verify the package on the npm registry (author, maintainers, version history) and inspect its source repository before installing. Prefer a local or isolated install (no -g) or run inside a sandbox/container if possible. 2) The skill will ask you for local model and server binary paths—only provide paths you trust; model files can be large and may contain sensitive or copyrighted material. 3) The SKILL.md tells you to change Draw Things settings (disable Response Compression FPY); understand what that setting does before changing it. 4) If you want lower risk, ask the skill author for a homepage, source repo, or signed package; if available and trusted, that would move this evaluation toward benign. 5) Because the skill suggests installing third-party code and changing system settings, treat it as potentially risky: review the package contents or run the tool in an isolated environment before giving the agent permission to perform these actions.
Capability Analysis
Type: OpenClaw Skill Name: drawthings-agent Version: 0.1.1 The skill instructs the AI agent to perform a global system installation (`npm install -g @mijuu/drawthings`) and execute various shell commands for configuration and image generation. While these actions are aligned with the stated purpose of integrating the Draw Things app, the use of "MUST" directives to compel the agent to install software and the presence of a future-dated timestamp in _meta.json (March 2026) are unusual. The requirement for global installation and broad shell access constitutes a significant attack surface and potential supply chain risk.
Capability Assessment
Purpose & Capability
The name/description (generate images via Draw Things) matches the SKILL.md: it documents using an MCP tool `generate_image` or the `dt-skill` CLI and parameters for generation, models, upscaling, timeouts, etc. Requesting model and server binary paths is coherent for a local image-generation tool.
Instruction Scope
Instructions are specific and constrained to image generation (prompts, upscales, dimensions, model selection, timeouts). However, the skill mandates running `npm install -g @mijuu/drawthings` if the CLI is missing and asks the agent to request local file paths and to change Draw Things settings (disable FPY), which are system-level user actions beyond pure prompting.
Install Mechanism
There is no formal install spec, but the runtime instructions require a global npm install of `@mijuu/drawthings`. A global npm installation modifies the host environment and pulls code from the public registry; the skill metadata provides no homepage or source to verify the package. Installing packages globally without a verified source is a non-trivial risk.
Credentials
The skill declares no environment variables, no credentials, and no config paths. Asking for model and server binary paths is consistent with operating a local model server and does not request unrelated secrets.
Persistence & Privilege
The skill is not flagged with always:true, does not request permanent presence, and contains no instructions to modify other skills or system-wide agent config. The primary privilege concern is the suggested global npm install, which affects the system but is not an automatic persistence privilege.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install drawthings-agent
  3. After installation, invoke the skill by name or use /drawthings-agent
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
- Initial release of drawthings-agent skill. - Added support for generating images using Draw Things via both CLI and MCP interfaces. - Included detailed AI usage instructions and critical constraints for quality and protocol handling. - Provided setup, verification, and fallback steps for both MCP and CLI environments. - Documented all available parameters and model selection guidance.
v0.1.0
- Initial release of the Draw Things for AI Agents skill. - Provides both Model Context Protocol (preferred) and CLI interfaces for image generation. - Supports high quality, upscaling, aspect ratio/resolution adjustments, and model selection. - Includes task control options for background operation and real-time progress. - Details critical usage constraints and full parameter reference for consistent agent behavior.
Metadata
Slug drawthings-agent
Version 0.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Drawthings Agent?

Generate images using Draw Things app via dt-skill CLI or MCP. It is an AI Agent Skill for Claude Code / OpenClaw, with 141 downloads so far.

How do I install Drawthings Agent?

Run "/install drawthings-agent" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Drawthings Agent free?

Yes, Drawthings Agent is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Drawthings Agent support?

Drawthings Agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Drawthings Agent?

It is built and maintained by mijuu (@mijuu); the current version is v0.1.1.

💬 Comments