Agent skill
mflux-cli
Navigate MFLUX CLI capabilities, locate commands by area, and summarize supported features.
Install this agent skill to your Project
npx add-skill https://github.com/filipstrand/mflux/tree/main/.cursor/skills/mflux-cli
SKILL.md
mflux CLI navigation
Use this skill to inventory CLI capabilities, summarize what the CLI supports, and guide where to look for commands without relying on brittle file paths. Because README examples can drift, prefer verifying support against the current CLI entrypoints.
When to use
- You need to list supported CLI features or commands.
- You need to find where a capability is implemented in the CLI.
- You are documenting or refactoring CLI features and want a stable map.
- A user asks for CLI help, e.g., “Can you help me generate an image using z-image?”, “Which model is best?”, etc.
How to find commands (structure, not exact paths)
- Common/shared CLI arguments live in the central CLI parser module.
- Model-specific CLI entrypoints live under each model's CLI package.
- Repo-level CLI helpers (completions, defaults) live under the shared CLI package.
- Utilities may add standalone CLIs (e.g., metadata info, LoRA library).
Best practices when constructing CLI calls
- Inference steps: When constructing a CLI call for any model, always check
MODEL_INFERENCE_STEPSand use the model's default/recommended step count unless the user explicitly asks for a different value. This is especially important for distilled/non-base variants (for examplefibo-lite,z-image-turbo, and other*-turbo/*-litemodels), where using full/base-model step counts is usually counterproductive. - Resource/inspection flags: Mention
--low-ramto reduce memory usage and--stepwise-image-output-dirfor stepwise outputs when useful. - Python API requests: If a user asks for the Python API, treat the equivalent CLI script as the best starting reference for the underlying parameters and defaults.
- CLI implementation changes: When adding or changing CLI behavior, prefer extending shared parser methods and shared helpers before adding manual one-off arguments or save paths in a model CLI.
- Docs/examples drift: If CLI defaults, supported flags, or recommended usage changed, update the matching README examples in the same pass.
Capability inventory (current)
Core generation
- Text-to-image across Flux, Flux2, Qwen, Z-Image Turbo, FIBO.
- Image-to-image where supported (Flux, Qwen, Z-Image Turbo, FIBO).
Editing and conditioning
- Kontext image conditioning.
- In-context editing and reference-image workflows.
- CATVTON (virtual try-on).
- Redux multi-image conditioning.
- ControlNet (Canny).
- Depth conditioning.
- Fill / inpainting.
- Flux2 Edit and Qwen Edit (multi-image edit).
Upscaling
- SeedVR2 diffusion upscaler (preferred).
- Flux ControlNet upscaler (legacy).
Model management
- Quantized inference and saving quantized models.
- Local model path loading (with base-model hints when needed).
LoRA
- Load LoRAs, multi-LoRA, scale control.
- In-context style LoRA shortcuts.
- LoRA library lookup tool.
Metadata and reproducibility
- Export JSON metadata per image.
- Reuse prior parameters from metadata config files.
- Inspect metadata from existing images.
Prompt tooling
- Prompt files.
- Negative prompts where supported (not supported for Flux2).
Training
- LoRA finetuning.
Utilities
- DepthPro depth-map extraction.
- FIBO VLM prompt inspire/refine tools.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
uloop-focus-window
Bring Unity Editor window to front via uloop CLI. Use when you need to: (1) Focus Unity Editor before capturing screenshots, (2) Ensure Unity window is visible for visual checks, (3) Bring Unity to foreground for user interaction.
uloop-launch
Launch Unity project with matching Editor version via uloop CLI. Use when you need to: (1) Open a Unity project with the correct Editor version, (2) Restart Unity to apply changes, (3) Switch build target when launching.
avalonia-12-migration
Plan and execute migration from Avalonia 11.3.12 to Avalonia 12 using the repository's dedicated migration lane. Use for breaking-change review, source-backed API delta lookup, migration sequencing, and upgrades that should stay grounded in the current published Avalonia 12 documentation and generated artifacts.
report-writing
Structure and write comprehensive research reports with proper citations. Use when finalizing research findings into a formal report.
artifact-management
Artifact repositories with Nexus, Artifactory, and container registries for build artifact storage
hotkey
Guide for adding keyboard shortcuts. Use when implementing new hotkeys, registering shortcuts, or working with keyboard interactions. Triggers on hotkey implementation or keyboard shortcut tasks.
Didn't find tool you were looking for?