reproducible-github-issues
它能做什么
这项技能教智能体如何把 MLX-VLM 的问题整理为维护者能够处理的问题报告。它会收集版本信息、命令以及能够重现故障的最小示例。
适用场景
- ✓当用户在 MLX-VLM 中遇到崩溃或输出错误,并想报告它的时候。
- ✓当用户需要改进已有的缺陷报告,使其他人能够复现的时候。
- ✓当用户想把性能退化问题清楚地记录下来的时候。
技能链接
https://github.com/Blaizzy/mlx-vlm/blob/main/skills/skills/reproducible-github-issues/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我为 MLX-VLM 写一个 GitHub 问题报告。服务器在我输入图片时崩溃,我希望问题可以被复现。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会收集环境信息和准确的命令,把问题简化为一个小案例,并将问题报告写成 Markdown。除非用户明确要求,否则它不会提交问题。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Reproducible GitHub Issues
Use this workflow to turn a failure into a concise, actionable MLX-VLM issue. Do not open a GitHub issue unless the user explicitly asks; otherwise produce issue-ready Markdown.
Required Information
Collect or infer:
- MLX-VLM version or git commit.
- Install method: PyPI, editable checkout, branch, or wheel.
- Python version, OS version, machine/chip, and whether MLX Metal or MLX CUDA is in use.
- Exact model ID or local path.
- Whether the model is from Hugging Face cache, a local conversion, or a custom checkpoint.
- Exact
uv runCLI command or server startup command. - Exact request body for server issues.
- Input media facts: image dimensions, audio duration/sample rate, video duration/frame count, and whether the input can be shared.
- Expected behavior, actual behavior, and full error/traceback.
Collect the Environment Automatically
Instead of hand-filling versions, run and paste the output into the Environment section:
uv run python - <<'PY'
import platform, mlx.core as mx
try:
import mlx_vlm
v = getattr(mlx_vlm, "__version__", "unknown")
except Exception as e:
v = f"import failed: {e}"
print("mlx-vlm:", v)
print("mlx:", mx.__version__, "| default device:", mx.default_device())
print("python:", platform.python_version(), "| platform:", platform.platform())
PY
Repro Minimization
- Reduce to the smallest command or request that still fails.
- Remove private paths, tokens, and unrelated environment variables.
- Prefer
curlover client SDKs for server repros. - Prefer one image/audio/video file before multi-input repros.
- Use small public media or synthetic inputs when possible.
- State whether the bug reproduces with a public model or only a private/local checkpoint.
Issue Template
### Summary
<One sentence describing the failure.>
### Environment
- MLX-VLM:
- Python:
- OS:
- Hardware:
- Install method:
### Model
- Model:
- Source: <HF cache | local path | converted checkpoint>
- Trust remote code: <yes/no>
### Reproduction
```bash
uv run mlx_vlm.generate <args>
```
For server issues:
```bash
uv run mlx_vlm.server <args>
```
```bash
<curl request>
```
### Expected Behavior
<What should have happened.>
### Actual Behavior
<What happened instead.>
### Logs / Traceback
```text
<trimmed traceback or relevant logs>
```
### Inputs
<Describe attached or shareable inputs. Include dimensions/duration when relevant.>
Classification
- CLI inference: use
Skill("mlx-vlm-skills:cli-inference")if a repro command is still missing. - Server inference: use
Skill("mlx-vlm-skills:server-inference")if a minimal request is still missing. - Model-specific failures: include
config.jsonmodel_type, processor class, and whether the family has a README inmlx_vlm/models/.
Quality Bar
The issue is ready when a maintainer can run one command or one server command plus one request and see the same failure without asking for basic environment or model details.
常见问题
智能体会替我提交问题吗?
不会。这项技能说明,除非用户明确要求,否则不要提交 GitHub 问题。
需要哪些环境信息?
这项技能列出了 MLX-VLM 版本、Python 和操作系统版本、芯片型号以及模型 ID。
为什么要简化示例?
更小的示例更容易复现和理解故障。
详情
作者的原始描述
Use 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.
repo: Blaizzy/mlx-vlm
热度
- GitHub 星标
- 5.7k
- 排名
- #14751
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
cli-inference
5.7k帮你的智能体从命令行运行或排查 MLX-VLM 模型推理,支持文本、图像和音频输入,并为每项任务找到正确的参数。
convert-quantize
5.7k帮你的智能体把 Hugging Face 模型转换为 MLX 格式,并通过量化使其变小,同时为本地设备选择位宽、模式和校准方式。
hf-cache-models
5.7k帮你的智能体通过模型发现接口,列出正在运行的 MLX-VLM 服务器可以看到的模型,包括缓存模型、自定义模型和已加载的模型。
server-inference
5.7k帮你的智能体运行并调试 MLX-VLM API 服务器,涵盖健康检查、聊天和 responses 请求、流式输出以及常见的请求错误。