Agent skill · research science · aiskillstore

embedding-strategies

Guide to selecting and optimizing embedding models for vector search applications.

Why this skill is useful

Provides domain-specific knowledge on embedding models and optimization strategies for vector search applications that the AI wouldn't reliably generate on its own.

What it needs

About 6k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Embedding Strategies Guide to selecting and optimizing embedding models for vector search applications. Do not use this skill when The task is unrelated to embedding strategies You need a different domain or tool outside this scope Instructions Clarify goals, constraints, and required inputs. Apply relevant best practices and validate outcomes. Provide actionable steps and verification. If detailed examples are required, open resources/implementation-playbook.md. Use this skill when Choosing embedding models for RAG Optimizing chunking strategies Fine-tuning embeddings for domains Comparing embedding model performance Reducing embedding dimensions Handling multilingual content Core Concepts 1. Embedding Model Comparison Model Dimensions Max Tokens Best For ------- ------------ ------------ ---------- text-embedding-3-large 3072 8191 High accuracy text-embedding-3-small 1536 8191 Cost-effective voyage-2 1024 4000 Code, legal bge-large-en-v1.5 1024 512 Open source all-MiniLM-L6-v2 384 256 Fast, lightweight multilingual-e5-large 1024 512 Multi-language 2. Embedding Pipeline Templates Template 1: OpenAI Embeddings Template 2: Local Embeddings with Sentence Transformers Template 3: Chunking Strategies Template 4: Domain-Specific Embedding Pipeline Template 5: Embedding Quality Evaluation Best Practices Do's Match model to use case - Code vs prose vs multilingual Chunk thoughtfully - Preserve semantic boundaries Normalize embeddings - For cosine similarity Batch requests - More efficient than one-by-one Cache embeddings - Avoid recomputing Don'ts Don't ignore token limits - Truncation loses info Don't mix embedding models - Incompatible spaces Don't skip preprocessing - Garbage in, garbage out Don't over-chunk - Lose context Resources OpenAI Embeddings Sentence Transformers MTEB Benchmark Limitations Use this skill only when the task clearly matches the scope described above. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/embedding-strategies

View the source on GitHub

Browse the @skills marketplace