Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

embedding-strategies

Skill by sickn33

Guides the selection and tuning of embedding models for vector search applications. Aimed at developers building RAG and other retrieval systems, with Python templates for embeddings, chunking and evaluation.

  • Score 93
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install embedding-strategies

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/embedding-strategies ~/.claude/skills/embedding-strategies

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install embedding-strategies in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a guide to choosing and tuning embedding models for vector search. It includes a comparison table of candidate models with dimensions, maximum tokens and best-fit uses, plus an embedding pipeline that runs from document to chunking, preprocessing, embedding model and vector. Python templates cover OpenAI embeddings, local sentence-transformers models, several chunking methods, a domain-specific pipeline and retrieval quality evaluation.

The skill is aimed at developers building retrieval-augmented generation (RAG) or other vector search applications. It lists use cases such as choosing models for RAG, optimizing chunking, fine-tuning embeddings for domains, reducing embedding dimensions and handling multilingual content. The source says to verify model-card token limits, dimensions, licenses and query prefixes before use, and to preserve original text, since stripping symbols can damage code and identifiers.

Written from the project's SKILL.md and checked against it.

What it can do

  • Embedding model comparisonCompares candidate models by dimensions, maximum tokens and best-fit use cases.
  • Embedding pipeline overviewDescribes the flow from document through chunking, preprocessing and embedding to vector.
  • OpenAI embeddings templatePython code for batched OpenAI embedding calls with optional reduced dimensions.
  • Local embeddings templatePython class for sentence-transformers models, with query and document handling.
  • Chunking strategiesPython functions for token, sentence, markdown header and character-based chunking.
  • Domain embedding pipelinePython pipeline that preprocesses, chunks and embeds documents with metadata.
  • Retrieval quality evaluationPython functions for measuring retrieval quality, including precision at k.

What you need

  • Python
  • OpenAI API access for the OpenAI template
  • sentence-transformers for local models
  • NLTK resources installed for sentence chunking
  • tiktoken for default token counting

Try asking

  • Compare embedding models for a RAG app with multilingual content
  • Help me choose a chunking strategy for markdown documentation
  • Show me how to reduce embedding dimensions for my vector index

Good to know

  • The model table is a historical candidate list, not a current leaderboard.
  • Verify token limits, dimensions, licenses and prefixes on each model card before use.
  • NLTK resources must already be installed; no network download is supplied.
  • The code chunking template raises NotImplementedError and needs a parser supplied by the user.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/embedding-strategies/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md15 KB
  • resources/implementation-playbook.md1 KB

Alternatives to embedding-strategies

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

embedding-strategies: common questions

Does this skill give a current ranking of embedding models?

No. The source says the model table is a historical candidate list, not a current leaderboard, and that exact model-card details must be verified before use.

What kinds of embedding templates are included?

The source includes templates for OpenAI embeddings, local sentence-transformers models including E5, chunking strategies, a domain-specific pipeline and retrieval quality evaluation.

Does it handle code or multilingual content?

The source mentions handling multilingual content and lists voyage-2 for code and legal text. It also notes that code chunking needs a supplied tree-sitter parser and grammar.

How do I install embedding-strategies?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is embedding-strategies free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is embedding-strategies safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to embedding-strategies?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

embedding-strategies Install

Add to stack

Loading.