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.
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-strategiesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/embedding-strategies ~/.gemini/antigravity-cli/skills/embedding-strategiesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install embedding-strategies in Antigravity CLI
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
