Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/Code Review & Quality
wshobson avatar

Embedding Strategies

wshobson/agents

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.

installs
11.5K
GitHub stars
41.8K
last updated
Aug 21, 2026
View on GitHubSave

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)

ModelDimensionsMax TokensBest For
voyage-3-large102432000Claude apps (Anthropic recommended)
voyage-3102432000Claude apps, cost-effective
voyage-code-3102432000Code search
voyage-finance-2102432000Financial documents
voyage-law-2102432000Legal documents
text-embedding-3-large30728191OpenAI apps, high accuracy
text-embedding-3-small15368191OpenAI apps, cost-effective
bge-large-en-v1.51024512Open source, local deployment
all-MiniLM-L6-v2384256Fast, lightweight
multilingual-e5-large1024512Multi-language

2. Embedding Pipeline

Document → Chunking → Preprocessing → Embedding Model → Vector
                ↓
        [Overlap, Size]  [Clean, Normalize]  [API/Local]

Templates and detailed worked examples

Full template library and detailed worked examples live in references/details.md. Read that file when you need the concrete templates.

Best Practices

Do's

  • Match model to use case: Code vs prose vs multilingual
  • Chunk thoughtfully: Preserve semantic boundaries
  • Normalize embeddings: For cosine similarity search
  • Batch requests: More efficient than one-by-one
  • Cache embeddings: Avoid recomputing for static content
  • Use Voyage AI for Claude apps: Recommended by Anthropic

Don'ts

  • Don't ignore token limits: Truncation loses information
  • Don't mix embedding models: Incompatible vector spaces
  • Don't skip preprocessing: Garbage in, garbage out
  • Don't over-chunk: Lose important context
  • Don't forget metadata: Essential for filtering and debugging
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

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

More from wshobson/agents

All 174
  • Go Concurrency Patterns11.4K
  • Billing Automation11.3K
  • Startup Metrics Framework11.3K
  • Data Quality Frameworks11.3K
  • Prometheus Configuration11.3K
  • K8s Manifest Generator11.3K
  • Python Background Jobs11.2K
  • Ml Pipeline Workflow11.2K
  • Context Driven Development11.2K
  • Dependency Upgrade11.2K
  • Competitive Landscape11.1K
  • Memory Forensics11.1K
  • Bats Testing Patterns11.1K
  • Workflow Patterns11.1K
  • Risk Metrics Calculation11.1K
  • Cqrs Implementation11.1K
  • Python Resource Management11.1K
  • Airflow Dag Patterns11K
  • Dbt Transformation Patterns11K
  • Binary Analysis Patterns11K
  • Incident Runbook Templates11K
  • Paypal Integration11K
  • Temporal Python Testing11K
  • Anti Reversing Techniques11K

Recommended

More Code Review & Quality
1superdesigndev avatarsuperdesignsuperdesigndev/superdesign-skillDesign or redesign frontend UI on the Superdesign canvas. Use whenever the user wants to design a page, feature, flow, or a brand-new product with no code yet; 11.3Kinstalls
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.2Kinstalls
3alchaincyf avatardarwin-skillalchaincyf/darwin-skillDarwin Skill 2.0 (达尔文.skill 2.0): autonomous skill optimizer, v2.0 integrates Microsoft Research SkillLens (arXiv 2605.23899) 9-dim rubric + SkillOpt (arXiv 26011.2Kinstalls
4samber avatargolang-goplssamber/cc-skills-golangGolang semantic code intelligence via `gopls`, the official Go language server — go-to-definition, find references, call/implementation hierarchy, workspace sym11.1Kinstalls
5googlechrome avatarchrome-extensionsgooglechrome/modern-web-guidanceBuild and publish Chrome Extensions using Manifest V3 best practices. Use this skill whenever the user asks to create, modify, debug, or understand Chrome brows11Kinstalls
6github avatareditorconfiggithub/awesome-copilotGenerates a comprehensive and best-practice-oriented .editorconfig file based on project analysis and user preferences.11Kinstalls