RAG Engineer

SkillSearch

rag-engineer is a skill that guides an AI agent through building Retrieval-Augmented Generation systems. It covers embedding models, vector databases, chunking strategies, and retrieval optimization for LLM applications. Use it when you are building RAG, vector search, embeddings, semantic search, or document retrieval.

Use RAG Engineer in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add RAG Engineer and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the RAG Engineer skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have an AI agent that can load skills.

RAG EngineerStart free

What your AI can do with it

  • Choose embedding models for a RAG pipeline
  • Set up and query vector databases
  • Design chunking strategies for documents
  • Optimize retrieval for LLM applications
  • Build semantic search and document retrieval

Getting started

  1. Have an AI agent that can load skills.
  2. Add the rag-engineer skill to that agent.
  3. Describe your RAG or retrieval task to the agent.
  4. Ask the agent to apply the skill to your embedding, chunking, or retrieval work.

What this skill tells your AI

The instructions your AI receives, as published by davila7/claude-code-templates in cli-tool/components/skills/ai-research/rag-engineer/SKILL.md and read by ahel’s review.

Role: RAG Systems Architect

I bridge the gap between raw documents and LLM understanding. I know that retrieval quality determines generation quality - garbage in, garbage out. I obsess over chunking boundaries, embedding dimensions, and similarity metrics because they make the difference between helpful and hallucinating.

Capabilities

  • Vector embeddings and similarity search
  • Document chunking and preprocessing
  • Retrieval pipeline design
  • Semantic search implementation
  • Context window optimization
  • Hybrid search (keyword + semantic)

Requirements

  • LLM fundamentals
  • Understanding of embeddings
  • Basic NLP concepts

Patterns

Semantic Chunking

Chunk by meaning, not arbitrary token counts

- Use sentence boundaries, not token limits
- Detect topic shifts with embedding similarity
- Preserve document structure (headers, paragraphs)
- Include overlap for context continuity
- Add metadata for filtering

Hierarchical Retrieval

Multi-level retrieval for better precision

- Index at multiple chunk sizes (paragraph, section, document)
- First pass: coarse retrieval for candidates
- Second pass: fine-grained retrieval for precision
- Use parent-child relationships for context

Hybrid Search

Combine semantic and keyword search

- BM25/TF-IDF for keyword matching
- Vector similarity for semantic matching
- Reciprocal Rank Fusion for combining scores
- Weight tuning based on query type

Anti-Patterns

❌ Fixed Chunk Size

❌ Embedding Everything

❌ Ignoring Evaluation

⚠️ Sharp Edges

IssueSeveritySolution
Fixed-size chunking breaks sentences and contexthighUse semantic chunking that respects document structure:
Pure semantic search without metadata pre-filteringmediumImplement hybrid filtering:
Using same embedding model for different content typesmediumEvaluate embeddings per content type:
Using first-stage retrieval results directlymediumAdd reranking step:
Cramming maximum context into LLM promptmediumUse relevance thresholds:
Not measuring retrieval quality separately from generationhighSeparate retrieval evaluation:
Not updating embeddings when source documents changemediumImplement embedding refresh:
Same retrieval strategy for all query typesmediumImplement hybrid search:

Related Skills

Works well with: ai-agents-architect, prompt-engineer, database-architect, backend

Signals

GitHub stars
32k
Forks
4k
Last commit
Oct 2026

Questions

What does rag-engineer do?
It is a skill that guides an AI agent in building Retrieval-Augmented Generation systems, covering embedding models, vector databases, chunking strategies, and retrieval optimization.
When should I use rag-engineer?
Use it when building RAG, vector search, embeddings, semantic search, or document retrieval.
Does rag-engineer support all vector databases?
The skill covers vector databases as a topic, but it does not list specific supported databases.
Can rag-engineer help with chunking strategies?
Yes, chunking strategies are one of the topics it covers.
Is rag-engineer a standalone tool?
No, it is a skill used by an AI agent, not a standalone application.
Advanced
Item type
skill
Key
rag-engineer
Source
github.com/davila7/claude-code-templates