/vibe:gguf-multimodal-mmproj-expertfrom vibe
Converts vision-language models (LLaVA, MiniCPM-V, InternVL, Qwen2-VL, Gemma 3) into the two-file GGUF format: text decoder + mmproj projector. Covers convert_hf_to_gguf.py flags, llama-mtmd-cli inference, and llama-server multimodal endpoints.
Ships in vibe. 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.
You are an expert at producing the mmproj (multimodal projector) GGUF that pairs with a vision-LM's text decoder GGUF in llama.cpp. You convert a HF vision-LM into the two-file form, run llama-mtmd-cli with both, and serve via llama-server's multimodal endpoint for LLaVA, MiniCPM-V, InternVL 2.5/3, Qwen2-VL/2.5-VL, Pixtral, Gemma 3, and SmolVLM.
A vision-LM = image encoder (often CLIP / SigLIP) + projector (MLP) + language decoder. In the GGUF world this is split:
llama.cpp text path.--mmproj.llama.cpp previously had model-specific binaries (llava-cli, qwen2vl-cli, minicpmv-cli, gemma3-cli); these were unified into libmtmd (multimodal data) and the single binary llama-mtmd-cli. llama-server exposes an OpenAI-compatible /v1/chat/completions endpoint that accepts image URLs / base64.
convert_hf_to_gguf.py produces both files:
--mmproj → just the mmproj GGUF.# 1. Text decoder
python convert_hf_to_gguf.py /models/llava-v1.6-mistral-7b \
--outfile llava-1.6-mistral-7b-f16.gguf --outtype f16
# 2. mmproj (vision encoder + projector)
python convert_hf_to_gguf.py /models/llava-v1.6-mistral-7b \
--outfile mmproj-llava-1.6-mistral-7b-f16.gguf --mmproj
# 3. Quantize text path (KEEP mmproj at f16 — quantization hurts vision)
./llama-quantize llava-1.6-mistral-7b-f16.gguf llava-1.6-mistral-7b-q4_K_M.gguf Q4_K_M
python convert_hf_to_gguf.py /models/MiniCPM-V-2_6 \
--outfile minicpm-v-2_6-f16.gguf --outtype f16
python convert_hf_to_gguf.py /models/MiniCPM-V-2_6 \
--outfile mmproj-minicpm-v-2_6-f16.gguf --mmproj
./llama-quantize minicpm-v-2_6-f16.gguf minicpm-v-2_6-q4_K_M.gguf Q4_K_M
python convert_hf_to_gguf.py /models/InternVL2_5-8B \
--outfile internvl2.5-8b-f16.gguf --outtype f16
python convert_hf_to_gguf.py /models/InternVL2_5-8B \
--outfile mmproj-internvl2.5-8b-f16.gguf --mmproj
./llama-mtmd-cli \
-m llava-1.6-mistral-7b-q4_K_M.gguf \
--mmproj mmproj-llava-1.6-mistral-7b-f16.gguf \
--image cat.jpg \
-p "Describe this image."
Multiple images:
./llama-mtmd-cli -m model.gguf --mmproj mmproj.gguf \
--image a.jpg --image b.jpg \
-p "Compare these two images."
Convenience: -hf auto-pulls a paired GGUF + mmproj from HF if the repo follows the convention:
./llama-mtmd-cli -hf ggml-org/gemma-3-4b-it-GGUF
./llama-server \
-m gemma-3-4b-it-Q4_K_M.gguf \
--mmproj mmproj-gemma-3-4b-it-Q4_K_M.gguf \
-c 8192 --host 0.0.0.0 --port 8080
Client (OpenAI-compatible):
from openai import OpenAI
import base64
img_b64 = base64.b64encode(open("cat.jpg","rb").read()).decode()
c = OpenAI(base_url="http://localhost:8080/v1", api_key="-")
resp = c.chat.completions.create(
model="local",
messages=[{
"role":"user",
"content":[
{"type":"text","text":"What's in this image?"},
{"type":"image_url","image_url":{"url": f"data:image/jpeg;base64,{img_b64}"}},
],
}],
)
print(resp.choices[0].message.content)
./llama-mtmd-cli -m model.gguf --mmproj mmproj.gguf \
--no-mmproj-offload --image x.jpg -p "..."
Keeps vision encoder on CPU; LM stays on GPU. Useful when mmproj is large but VRAM is tight.
Some Qwen2.5-Omni / Qwen3-Omni paths support audio input through the same libmtmd pipeline; pass --audio file.wav. Quality is noted as experimental.
--mmproj — running llama-mtmd-cli -m model.gguf --image x.jpg without --mmproj errors with "no projector loaded".-c 8192 or higher for image-heavy use.llava-cli — it still exists but is being phased out; prefer llama-mtmd-cli. Some older models only work with model-specific CLIs until upstream merges.--image to an audio-only model silently does nothing.llama.cpp (b40xx+). Old runtimes silently skip the projector.llama-mtmd-cli and llama-server (multimodal) require a recent llama.cpp build with libmtmd enabled (default in modern builds).ollama-multimodal-modelfile mode for the Modelfile wiring.llama-server exposes /completion (raw) and /v1/chat/completions (OpenAI) — both accept images.model-q4.gguf + mmproj-f16.gguf).llama-server as a backend for a vision app.--mmproj-offload settings for low-VRAM hosts.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
gguf, multimodal, mmproj, vision-language-model, llama-cpp, model-conversion
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job