/mlx-vlm-skills:cli-inferencefrom mlx-vlm-skills
Runs and debugs MLX-VLM inference from the command line via uv run mlx_vlm.generate, covering image/audio/video inputs, model paths, Hugging Face IDs, and CLI errors.
Ships in mlx-vlm-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this workflow for uv run mlx_vlm.generate and related command-line inference tasks.
mlx_vlm/models/<family>/README.md.uv run mlx_vlm.generate --help to verify current flags before giving a final command.Text:
uv run mlx_vlm.generate \
--model <model-or-path> \
--prompt "Write a short answer." \
--max-tokens 128
Image:
uv run mlx_vlm.generate \
--model <model-or-path> \
--image /path/to/image.jpg \
--prompt "Describe this image." \
--max-tokens 128
Audio or multimodal:
uv run mlx_vlm.generate \
--model <model-or-path> \
--image /path/to/image.jpg \
--audio /path/to/audio.wav \
--prompt "Describe what you see and hear." \
--max-tokens 128
uv run mlx_vlm.generate --help is the source of truth (the CLI lives in the mlx_vlm/generate/ package). Beyond --model/--prompt/--image/--audio/--max-tokens, common flags:
--chat — interactive multi-turn session.--adapter-path — apply a LoRA adapter.--eos-tokens and sampling flags — use greedy/low-temp when debugging quality.--trust-remote-code — needed for some custom processors.--kv-bits / --kv-quant-scheme / --max-kv-size — quantized/bounded KV cache.--draft-model / --draft-kind — speculative decoding.--output-modality image, --output <file>, and the --diffusion-* flags drive diffusion image models — not just text-out VLMs.--max-tokens.model_type unsupported: inspect config.json and current folders under mlx_vlm/models/..safetensors or model.safetensors.index.json.processing_*.py, prompt_utils.py, and model-specific README examples.Skill("mlx-vlm-skills:reproducible-github-issues").uv run pytest mlx_vlm/tests/test_cli.py -q.test_generate.py, test_processors.py, or a model-specific test file before broad suites.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mlx-vlm, cli-inference, vlm, reproducibility, model-debugging
3 plugins ship this exact skill · first indexed Aug 4, 2026
9 skills in this plugin
/add-new-modelUse this skill when the user wants to add or port a new model architecture to MLX-VLM — mapping a Hugging Face model_type to a new file under mlx_vlm/models, writing the ModelConfig, matching layer/weight names, reusing a similar existing model, adding a test class, and validating the port. Covers vision-language, language, audio, and diffusion model ports./benchmarkingUse this skill when the user wants to benchmark an MLX-VLM change and present the numbers in a PR — fork-vs-main A/B comparisons, isolated-module micro-benchmarks, median-of-N timing with warmup, peak-memory reporting, correctness checks, parameter sweeps, and self-contained reproducible bench scripts to paste into a PR description./contributingnpx claudepluginhub neywa-labs/mlx-vlm --plugin mlx-vlm-skillsOther plugins' skills for the same job