/mlx-vlm-skills:hf-cache-modelsfrom mlx-vlm-skills
Lists and inspects locally cached Hugging Face models that MLX-VLM can serve via its hf-cache discovery mode. Supports JSON output, architecture checks, and custom cache directories.
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.
Read when SKILL.md points to them; scripts run unread.
Use this workflow to list locally cached Hugging Face models that MLX-VLM can expose when Hugging Face cache discovery is explicitly enabled.
Match the server /v1/models filter used with --model-discovery hf-cache:
modelmain revision exists in the cacheconfig.json existstokenizer_config.json existsmodel.safetensors.index.json exists or at least one *.safetensors file existsThis is a cache/file-presence check that mirrors the server's opt-in hf-cache discovery mode (mlx_vlm/server/app.py). It does not load the model, prove generation works, or affect the default served listing. Pass --check-arch to additionally require that mlx-vlm ships an architecture for the model_type — this narrows the list from a cache candidate to probably loadable (folder-name match; it does not resolve MODEL_REMAPPING aliases, so use it as a strong hint, not proof).
Use the bundled script instead of rewriting cache-scanning logic:
uv run python skills/skills/hf-cache-models/scripts/list_supported_hf_cache_models.py
JSON output:
uv run python skills/skills/hf-cache-models/scripts/list_supported_hf_cache_models.py --json
Only models mlx-vlm can actually load (architecture present, not just files present):
uv run python skills/skills/hf-cache-models/scripts/list_supported_hf_cache_models.py --check-arch
Custom cache directory:
uv run python skills/skills/hf-cache-models/scripts/list_supported_hf_cache_models.py \
--cache-dir /path/to/huggingface/cache
When reporting the result, include:
curl http://127.0.0.1:8080/v1/modelsFor Hugging Face cache-discovery verification, start the server with
--model-discovery hf-cache and compare with:
curl http://127.0.0.1:8080/v1/models
If this becomes part of a bug report, switch to Skill("mlx-vlm-skills:reproducible-github-issues").
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub yuhuabillchen/justfit-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./cli-inferenceUse this skill when the user wants to run or debug MLX-VLM inference from the command line, including uv run mlx_vlm.generate, image/audio/video inputs, local model paths, Hugging Face model IDs, deterministic repro commands, and CLI errors around processors, prompts, model loading, or missing weights./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./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.Other plugins' skills for the same job