Skip to main content
skill

rag-engineer · davila7 — Claude Code skill: RAG pipelines and vector search

A skill for designing RAG systems: document chunking, embeddings, hybrid search and reranking. Useful when answer quality is capped by retrieval quality.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill ai-research/rag-engineer
Open on GitHub

What rag-engineer does

The skill frames the agent as a RAG systems architect and steers how it works with documents and search: vector embeddings, semantic search, chunking, retrieval pipeline design, hybrid keyword plus semantic search. Inside are patterns and a sharp-edges table with severity and a fix for each row.

The patterns are concrete. Semantic chunking follows sentence boundaries and topic shifts instead of a token limit. Hierarchical retrieval indexes at several chunk sizes, runs a coarse pass for candidates, then a fine-grained pass for precision. Hybrid search pairs BM25 with vector similarity and combines the scores through Reciprocal Rank Fusion.

Anti-patterns get their own section: fixed chunk size, embedding everything, skipping evaluation. The skill tells you to measure retrieval quality separately from generation, because one blended number hides where the pipeline actually breaks. Prerequisites are LLM fundamentals, a grasp of embeddings and basic NLP concepts.

What it helps with

  • chunk documents by meaning instead of a token limit
  • combine BM25 and vector similarity into one search
  • add a reranking step after first-stage retrieval
  • measure retrieval quality apart from generation quality
  • refresh embeddings when source documents change

Example prompts for the agent

  • help me design a retrieval pipeline for RAG over our internal docs
  • chunk these documents by sentence boundaries and topic shifts
  • build hybrid search with BM25 plus vector similarity and Reciprocal Rank Fusion

How to install rag-engineer

1claude-code-templates

npx claude-code-templates@latest --skill ai-research/rag-engineer

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill rag-engineer -a claude-code

3Manually: put the files in place

~/.claude/skills/rag-engineer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/rag-engineer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about rag-engineer

How do I install rag-engineer in Claude?

Use the templates CLI: npx claude-code-templates@latest --skill ai-research/rag-engineer. Or install through skills: npx skills add davila7/claude-code-templates --skill rag-engineer -a claude-code. The skill lands at ~/.claude/skills/rag-engineer/SKILL.md.

What does rag-engineer do?

It guides the agent through RAG design: chunking, embeddings, hybrid search, reranking and retrieval evaluation. It ships patterns, anti-patterns and a table of sharp edges with fixes.

What background do I need for this skill?

LLM fundamentals, an understanding of embeddings and basic NLP concepts. Without them, patterns like hierarchical retrieval are hard to map onto your own project.

Similar skills

Everything for AI and ML →

rag-engineer by other authors comes first.

rag-engineer sickn33 A skill for designing retrieval-augmented generation systems with vector databases. Covers semantic chunking, embedding model selection, and search quality optimization before results reach the LLM. CX Codex +1 1,000installs rag-architect https://github.com/Jeffallan Designs production RAG systems: chunks documents, generates embeddings, configures vector stores, builds hybrid search pipelines, and evaluates retrieval quality. CX Codex +1 4,700installs rag giuseppe-trisciuoglio Guides the creation of Retrieval-Augmented Generation pipelines, covering document chunking, embedding generation, vector database selection, and retrieval. CX Codex +1 3,700installs chunking-strategy giuseppe-trisciuoglio Configures document chunking workflows and overlap for RAG pipelines and vector search. It validates semantic coherence and tunes retrieval precision. CX Codex +1 3,800installs AgentDB Vector Search ruvnet A skill for fast semantic document retrieval using AgentDB's vector database. Use it for RAG systems, search engines, and knowledge bases where you need relevant results from large text collections. CX Codex +1 1,100installs upstash-vector-db-skills gocallum This skill walks the agent through Upstash Vector: index setup, document upserts, semantic search and namespaces. Useful when you build vector search on Vercel. CX Codex +1 366installs ai-engineer Seth Hobson This subagent designs LLM applications, RAG systems, and AI agents. Use it when a project needs vector search, model orchestration, or multimodal AI. CX Codex 7,687installs

From the same set205

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor