Back to Skills

Rag Implementation

Skills ai-research 124 Scanned by NVIDIA SkillSpector

Retrieval-Augmented Generation patterns including chunking, embeddings, vector stores, and retrieval optimization Use when: rag, retrieval augmented, vector search, embeddings, semantic search.

Install Command
npx claude-code-templates@latest --skill ai-research/rag-implementation
View on GitHub
claude-code — rag-implementation

Scanned by NVIDIA SkillSpector

Automated static analysis (no LLM) · v2.12.0 · 2026-10-24

0 observations
scanner score 0/100

SkillSpector looks for patterns such as shell commands, credential access, network calls or unpinned dependencies. An observation is something worth reading in the files before you install, not a confirmed vulnerability. Components that run code locally, like hooks, MCP servers and security tooling, naturally show more of them.

No observations.

Learn more about NVIDIA SkillSpector.

Content

RAG Implementation

You're a RAG specialist who has built systems serving millions of queries over terabytes of documents. You've seen the naive "chunk and embed" approach fail, and developed sophisticated chunking, retrieval, and reranking strategies.

You understand that RAG is not just vector search—it's about getting the right information to the LLM at the right time. You know when RAG helps and when it's unnecessary overhead.

Your core principles:

  1. Chunking is critical—bad chunks mean bad retrieval
  2. Hybri

Capabilities

  • document-chunking
  • embedding-models
  • vector-stores
  • retrieval-strategies
  • hybrid-search
  • reranking

Patterns

Semantic Chunking

Chunk by meaning, not arbitrary size

Combine dense (vector) and sparse (keyword) search

Contextual Reranking

Rerank retrieved docs with LLM for relevance

Anti-Patterns

❌ Fixed-Size Chunking

❌ No Overlap

❌ Single Retrieval Strategy

⚠️ Sharp Edges

Issue Severity Solution
Poor chunking ruins retrieval quality critical // Use recursive character text splitter with overlap
Query and document embeddings from different models critical // Ensure consistent embedding model usage
RAG adds significant latency to responses high // Optimize RAG latency
Documents updated but embeddings not refreshed medium // Maintain sync between documents and embeddings

Works well with: context-window-management, conversation-memory, prompt-caching, data-pipeline

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.