hf-cache-models
하는 일
이 스킬은 실행 중인 MLX-VLM 서버에서 사용할 수 있는 모델을 확인하는 방법을 에이전트에게 가르칩니다. 캐시된 모델이나 사용자 정의 모델이 있고, 각 모델이 로드되었는지 보고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓실행 중인 서버가 어떤 모델을 사용할 수 있는지 알고 싶을 때.
- ✓모델이 이미 로드되었는지 확인해야 할 때.
- ✓사용자 정의 모델 폴더가 있고 서버가 그것을 나열하게 하고 싶을 때.
스킬 링크
https://github.com/Blaizzy/mlx-vlm/blob/main/skills/skills/hf-cache-models/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지금 실행 중인 MLX-VLM 서버가 어떤 모델을 볼 수 있고, 그중 어떤 모델이 로드되어 있는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 서버의 모델 목록 주소를 호출하고, 각 모델 ID와 로드 여부를 보여 주는 반환 목록을 읽습니다. 이 확인은 가중치를 로드하지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
HF Cache Models
Query a running MLX-VLM server to list model candidates and their loaded status.
Use its configured URL and authentication; the examples assume the default local
address. See Skill("mlx-vlm-skills:server-inference") for server setup.
List Models
curl http://127.0.0.1:8080/v1/models
The JSON response's data array contains model IDs and a loaded boolean.
Both /models and /v1/models include loaded models, the shared Hugging Face
cache, and configured custom directories by default.
Supported Model Rule
The server checks discovered candidates with mlx_vlm/server/model_discovery.py:
- repo type is
model - readable model metadata exists in
config.jsonor a pipelinemodel_index.json - nonempty safetensors weights exist, including every shard referenced by any weight index
- all cached revisions are checked, preferring
main; another revision is returned using its absolute snapshot path - tokenizer metadata is not required
Discovery does not load weights, execute checkpoint Python, or prove generation works. Architecture compatibility is checked when loading a model.
Custom Model Directories
Each path can be a model folder or a parent containing model folders as immediate
children. Configure the server with repeated --model-dir options, or
MLX_VLM_MODEL_PATHS with paths separated by os.pathsep (: on macOS/Linux).
For directories scoped to one API request, use repeated model_dir query
parameters on /models or /v1/models. Paths are on the server's filesystem and
are added to its configured directories without persisting them:
curl --get http://127.0.0.1:8080/v1/models \
--data-urlencode 'model_dir=/Volumes/Models' \
--data-urlencode 'model_dir=/Users/me/my custom model'
Reporting
When reporting the result, include:
- server URL and any custom directories requested
- number of model candidates
- exact model IDs
- which models have
loaded: true
If this becomes part of a bug report, switch to Skill("mlx-vlm-skills:reproducible-github-issues").
자주 묻는 질문
모델 목록을 보면 모델이 로드되나요?
아니요. 스킬은 탐색이 가중치를 로드하거나 체크포인트 코드를 실행하지 않는다고 설명합니다.
목록에 제 사용자 정의 폴더도 포함되나요?
네. 서버가 사용자 정의 모델 디렉터리로 설정되어 있다면 포함됩니다.
목록에 있는 모델은 항상 작동하나요?
꼭 그렇지는 않습니다. 스킬은 목록에 있다고 해서 생성이 작동한다는 것이 증명되지는 않는다고 설명합니다.
상세 정보
작성자의 원본 설명
Use 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.
repo: Blaizzy/mlx-vlm
인기도
- GitHub 스타
- 5.7k
- 순위
- #14750
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
cli-inference
5.7k명령줄에서 텍스트, 이미지, 오디오 입력으로 MLX-VLM 모델 추론을 실행하거나 문제를 해결하고, 각 작업에 맞는 옵션을 찾도록 에이전트를 돕습니다.
convert-quantize
5.7kHugging Face 모델을 MLX 형식으로 변환하고 양자화로 줄이며, 로컬 기기에 맞는 비트 크기, 모드, 보정을 고르도록 에이전트를 돕습니다.
reproducible-github-issues
5.7k에이전트가 MLX-VLM의 버그나 느린 결과에 대해 환경 세부 정보, 정확한 명령, 작은 예제를 담은 재현 가능한 GitHub 이슈를 작성하도록 돕습니다.
server-inference
5.7k상태 확인, 채팅과 responses 요청, 스트리밍, 흔한 요청 오류를 다루며 MLX-VLM API 서버를 실행하고 디버그하도록 에이전트를 돕습니다.
비슷한 스킬
api-connector-builder
280k에이전트가 기존 패턴을 따라 새로운 API 연결을 만들도록 합니다. 새로운 방식을 도입하지 않고 연동을 하나 더 추가할 때 씁니다.
api-design
280k에이전트가 모범 사례에 따라 REST API를 설계하도록 돕습니다. API가 통신하는 방식, 오류를 보여 주는 방식, 데이터를 정리하는 방식을 정하는 데 유용합니다.
backend-patterns
280k에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.