mflux: Skill for Cursor

.cursor/skills/mflux-cli/SKILL.md

mflux-cli is a skill for Cursor from mflux-community/mflux. It costs 21 tokens per session (795 once invoked), scanned A, original, MIT.

A navigation guide to the MFLUX command-line tool and its supported commands. It helps locate current command implementations instead of relying only on possibly outdated examples.

In plain words
What is it for?
It is for listing CLI capabilities, finding model-specific commands, and constructing verified inference commands.
Why use it?
It reduces the chance of suggesting commands or options that the installed version does not support.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is mflux-community/mflux's own configuration. It tells Cursor how to work on mflux itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mflux configures →

About the project

MFLUX is a native MLX implementation of generative image models that runs locally on Mac computers. It is for generating images with supported models through command-line tools or a Python API. The catalogue skills and instruction support workflows built around these image-generation models.

mflux-community/mflux · 2,547 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to mflux-community/mflux. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mflux-community/mflux/main/.cursor/skills/mflux-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mflux-community/mflux

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mflux-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/mflux-community/mflux/mflux-cli/github.svg)](https://agentmods.dev/skills/mflux-community/mflux/mflux-cli)
Your own site
<a href="https://agentmods.dev/skills/mflux-community/mflux/mflux-cli"><img src="https://agentmods.dev/badge/skills/mflux-community/mflux/mflux-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mflux-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/mflux-community/mflux/mflux-cli"><img src="https://agentmods.dev/badge/skills/mflux-community/mflux/mflux-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 795 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00795
Opus 5.5 $0.00008 $0.00318
Sonnet 5.5 $0.00004 $0.00159
Haiku 4.5 $0.00002 $0.00080

Measured 9d ago against content hash 23d7f72f6e08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mflux-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/mflux-cli/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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_STEPS and 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 example fibo-lite, z-image-turbo, and other *-turbo/*-lite models), where using full/base-model step counts is usually counterproductive.
  • Resource/inspection flags: Mention --low-ram to reduce memory usage and --stepwise-image-output-dir for 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.

Read the full file on GitHub · 86 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago Changed 23d7f72f6e08
  2. 12d ago Changed 2a60705dfda1
  3. 2mo ago First seen · 86 lines · 21 tokens per session scan A 1c7044894e1b

Subscribe to this mod's changes

mflux-cli is a skill published in the GitHub repository mflux-community/mflux (2,547 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 795 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.