wshobson avatar

Embedding Strategies

Choose the right embedding model and chunking strategy for your vector search setup. Covers Voyage AI models (Anthropic's recommendation for Claude apps), OpenAI's text-embedding-3 series with Matryoshka dimension reduction, and local options like BGE and E5. Includes domain-specific models for code, finance, and legal documents. Templates handle token-based chunking, sentence boundaries, and semantic sectioning by headers. The model comparison table saves you from benchmarking common options yourself. Most useful when you're past the "just use whatever" phase and need to optimize retrieval quality or costs.

skills.sh installs
11.8K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add wshobson/agents --skill embedding-strategies --agent claude-code

Installs into .claude/skills of the current project.

Files

Embedding Strategies

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

When to Use This Skill

  • 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 (2026)

Sponsors

Details

Repository
github.com/wshobson/agents
Categories
Code Review & Quality, AI & Agent Building

More from wshobson/agents

All 174
1analogjs avatarangular-componentanalogjs/angular-skillsCreate modern Angular standalone components following v20+ best practices. Use for building UI components with signal-based inputs/outputs, OnPush change detect11.7Kskills.sh installs
2wshobson avatarpython-background-jobswshobson/agentsPython background job patterns including task queues, workers, and event-driven architecture. Use when implementing async task processing, job queues, long-runn11.6Kskills.sh installs
3earthtojake avatarsdfearthtojake/text-to-cadSDFormat/SDF model and world generation, validation, and simulator handoff. Use for `.sdf` files, SDFormat XML, Python `gen_sdf()` sources, models, worlds, link11.5Kskills.sh installs
4coderabbitai avatarautofixcoderabbitai/skillsSafely review and apply CodeRabbit PR review-thread feedback from GitHub with per-change approval; never execute reviewer-provided prompts directly11.4Kskills.sh installs
5earthtojake avatarsrdfearthtojake/text-to-cadMoveIt2 SRDF generation, validation, and planning-semantics workflow. Use when creating, editing, regenerating, inspecting, or validating `.srdf` files, `gen_sr11.4Kskills.sh installs
6earthtojake avatarsendcutsendearthtojake/text-to-cadReview DXF and STEP/STP uploads for SendCutSend.com orders using its ordering guide, catalog, and specs. Use only for SendCutSend.com preflight reports covering11.2Kskills.sh installs