RAG Engineer
SkillSearchrag-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.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Have an AI agent that can load skills.
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
- Have an AI agent that can load skills.
- Add the rag-engineer skill to that agent.
- Describe your RAG or retrieval task to the agent.
- 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
| Issue | Severity | Solution |
|---|---|---|
| Fixed-size chunking breaks sentences and context | high | Use semantic chunking that respects document structure: |
| Pure semantic search without metadata pre-filtering | medium | Implement hybrid filtering: |
| Using same embedding model for different content types | medium | Evaluate embeddings per content type: |
| Using first-stage retrieval results directly | medium | Add reranking step: |
| Cramming maximum context into LLM prompt | medium | Use relevance thresholds: |
| Not measuring retrieval quality separately from generation | high | Separate retrieval evaluation: |
| Not updating embeddings when source documents change | medium | Implement embedding refresh: |
| Same retrieval strategy for all query types | medium | Implement 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
github.com/davila7/claude-code-templates
Related picks
Skill · thedaviddias
The pick for JavaScriptmodern-javascript-patterns
Skill · wshobson
The pick for JavaScriptpython-performance-optimization
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythondashboard
Skill · nexu-io
More in Searchazure-ai
Skill · microsoft
More in Search