A high-performance MLX-based skill for generating images locally on Apple Silicon using FLUX.2 and Z-Image models.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install mflux
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install mflux using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
mflux is a specialized implementation designed to leverage the Apple MLX framework for high-speed, on-device image generation. By utilizing Openclaw Skills, developers and creators can integrate state-of-the-art models like FLUX.2 Klein and Z-Image Turbo directly into their local workflows without relying on external cloud APIs or incurring subscription costs. This skill ensures total data privacy, as all processing happens locally on your Mac, making it a critical tool for privacy-conscious environments.
The framework is optimized specifically for Apple Silicon (M1, M2, M3, and M4 chips), providing a seamless bridge between cutting-edge diffusion models and macOS hardware. Whether you need the lightning-fast 4-step generation of FLUX.2 Klein or the ultra-high fidelity of Z-Image Turbo, this skill provides the necessary interfaces to achieve professional results locally.
To get started with mflux through Openclaw Skills, it is recommended to use the uv tool for a clean installation:
uv tool install --upgrade mflux --prerelease=allow
For faster model downloads, you can include hf_transfer:
uv tool install --upgrade mflux --with hf_transfer --prerelease=allow
Verify that the installation was successful and explore the CLI commands:
mflux-generate --help
mflux-generate-flux2 --help
The skill manages its data locally, primarily handling model weights and generated outputs. Weights are cached to minimize network usage after the initial download.
| Data Component | Storage Type | Description |
|---|---|---|
| Model Cache | Local Directory (~/.cache/huggingface/) |
Stores FLUX.2 and Z-Image weights (up to 32GB depending on model) |
| Output Files | Local File System | PNG or JPG images generated from prompts |
| Quantization Data | In-Memory (4-bit/8-bit) | Compressed model representations to fit in 8GB/16GB RAM |
| Metadata | CLI Parameters | Seed values, inference steps, and guidance scales used for reproducibility |
Loading
A competitive arena where AI agents battle in a virtual computer using the classic CoreWar programming game.

A high-performance Python-based web scraping tool designed for resilient data extraction from static, dynamic, and anti-bot protected websites.

A versatile document conversion skill that enables AI agents to transform Markdown files into professional PDFs, HTML, and Word documents using the Pandoc utility.

A specialized AI skill for writing Ruby and Rails code that strictly follows the 37signals and DHH philosophy of clarity and REST purity.

A high-performance batch processing skill for running asynchronous AI inference jobs at scale through the Doubleword API.

A powerful batch processing system for executing large-scale AI inference requests asynchronously with significant cost savings.








































