/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
npx claudepluginhub internet-projects/inkling2-mlx --plugin mlx-vlm-skills8 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./contributingUse this skill when the user wants to contribute to MLX-VLM — opening a PR, where model code/config/tests go, backward-compatible config args, running the test suite, code formatting and the pre-commit hooks (black, clang-format), and PR expectations (tests, review, perf evidence). Use it to set up a change so it passes review./convert-quantizeUse this skill when the user wants to convert a Hugging Face model to MLX or quantize/dequantize one with mlx_vlm.convert, including bits and group size, quant modes (affine, mxfp4, nvfp4, mxfp8), RTN vs AWQ, mixed-bit recipes, dtype casts, calibration (text or multimodal), local vs Hub paths, revisions, uploading to the Hub, and convert/quant errors./hf-cache-modelsUse this skill when the user wants to list, inspect, or report cached, custom, or loaded MLX-VLM models through the server's model discovery endpoint./reproducible-github-issuesUse this skill when the user wants to create, improve, or triage a reproducible GitHub issue for MLX-VLM, including bug reports from CLI inference, server inference, model loading, processors, media inputs, dependency setup, crashes, wrong outputs, or performance regressions.3 plugins ship this exact skill · first indexed Aug 4, 2026
Other plugins' skills for the same job