/vibe:multimodal-embedding-expertfrom vibe
Expert guidance on multimodal embedding models (jina-clip-v2, voyage-multimodal-3, ColPali, nomic-embed-multimodal) for text, image, audio, and video retrieval. Covers single-vector vs multi-vector trade-offs, Matryoshka embeddings, and vector DB integration.
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 in multimodal embeddings - the models that put text and images (and PDFs/charts/screenshots) into a shared vector space for retrieval. You know when to use a single-vector CLIP model vs late-interaction ColPali, and how to wire them into a multimodal RAG.
| Model | Dim | Best for | License |
|---|---|---|---|
| jinaai/jina-clip-v2 | 1024 (Matryoshka -> 64-1024) | Text-image, 89 languages | CC-BY-NC 4.0 |
| voyage-multimodal-3 | 1024 | Text + image + interleaved (API) | Voyage AI |
| nomic-ai/nomic-embed-vision-v1.5 | 768 | Text-image, aligned with text v1.5 | Apache 2.0 |
| openai/clip-vit-large-patch14 | 768 | Baseline, broad ecosystem | MIT |
| google/siglip-so400m-patch14-384 | 1152 | Strong English text-image | Apache 2.0 |
| facebook/imagebind | 1024 | 6 modalities (image, text, audio, depth, thermal, IMU) | CC-BY-NC |
| Model | Use |
|---|---|
| vidore/colpali-v1.3 | PDF page retrieval - one vector per patch |
| vidore/colqwen2-v1.0 | Qwen2-VL backbone, stronger ColPali |
| nomic-ai/colnomic-embed-multimodal-7b | Open ColBERT-style multimodal |
ColPali skips OCR/parsing entirely - embed each PDF page as an image, late-interact at query time. Beats text-extraction pipelines on visually-rich docs.
| Model | Notes |
|---|---|
| jinaai/jina-embeddings-v4 | 3.8B universal multimodal multilingual; single + multi-vector outputs |
| BAAI/BGE-M3 (text only) | Multi-functionality (dense + sparse + multi-vec), 100+ langs |
from transformers import AutoModel
import torch
from PIL import Image
model = AutoModel.from_pretrained("jinaai/jina-clip-v2", trust_remote_code=True).cuda()
text_emb = model.encode_text(["a photograph of a cat", "un photo d'un chat"], task="retrieval.query")
img_emb = model.encode_image([Image.open("cat.jpg")], task="retrieval.passage")
sim = (text_emb @ img_emb.T) # cosine
# Matryoshka truncation - drop to 256 dims for 4x storage savings
text_emb_256 = text_emb[:, :256]
text_emb_256 = text_emb_256 / text_emb_256.norm(dim=-1, keepdim=True)
89-language support, native variable resolution.
import voyageai
vo = voyageai.Client()
inputs = [
[Image.open("chart.png"), "Q3 revenue chart"], # interleaved
["Pure text query"],
]
result = vo.multimodal_embed(
inputs=inputs, model="voyage-multimodal-3", input_type="document",
)
embeddings = result.embeddings # 1024-d each
Voyage's strength: properly interleaved text+image inputs (not just averaged).
from colpali_engine.models import ColPali, ColPaliProcessor
from pdf2image import convert_from_path
import torch
model = ColPali.from_pretrained("vidore/colpali-v1.3", torch_dtype=torch.bfloat16, device_map="cuda")
processor = ColPaliProcessor.from_pretrained("vidore/colpali-v1.3")
# Index: each page becomes a list of patch vectors
pages = convert_from_path("doc.pdf", dpi=150)
batch = processor.process_images(pages).to("cuda")
with torch.no_grad():
page_embeddings = model(**batch) # [num_pages, num_patches, dim]
# Query: each query word becomes a vector
queries = ["What was the Q3 revenue from APAC?"]
q_batch = processor.process_queries(queries).to("cuda")
with torch.no_grad():
query_emb = model(**q_batch) # [1, num_query_tokens, dim]
# Score with MaxSim (late interaction)
scores = processor.score_multi_vector(query_emb, page_embeddings)
top_page = scores.argmax(dim=-1)
Storage cost is high (~thousands of vectors per page) but retrieval quality on charts/tables is far better than text-extraction + dense retrieval.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("nomic-ai/colnomic-embed-multimodal-7b", trust_remote_code=True)
# Same late-interaction pattern as ColPali, Apache-2.0 license
Nomic Embed Multimodal 7B reports 62.7 NDCG@5 on Vidore-v2 (visual document retrieval benchmark), +2.8 over prior SOTA.
Ingest: PDFs -> render pages to images -> ColPali embed -> store multi-vector
-> (optional) Marker -> chunk -> dense text embed -> store
Query: user query -> ColPali embed -> MaxSim top pages
-> grab page images + nearby text chunks
-> stuff into VLM (Claude/Qwen2.5-VL) prompt -> answer
For pure text-image (e.g., product catalog search): single-vector jina-clip-v2 + Qdrant is simpler and faster.
MULTI_VECTOR_CONFIG); Vespa, Weaviate, and Milvus added support in 2024-2025; pgvector lacks native MaxSim but doable with reranking.retrieval.query vs retrieval.passage).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
multimodal-embeddings, clip, colpali, vector-retrieval, multimodal-rag
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