satishkc7/claude-config/rag-builder

Claude Code and agent skill by satishkc7/claude-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use this skill when building, designing, or debugging Retrieval-Augmented Generation (RAG) pipelines. Triggers include: "build a RAG system", "set up document search", "connect my docs to an LLM", "improve retrieval quality", "chunking strategy", or any task involving embedding, indexing, and retrieval of documents for LLM use.

Install

npx vskill@latest install satishkc7/claude-config/rag-builder

SKILL.md

The same SKILL.md was published earlier as satishkc7/claude-config/rag-builder.

RAG Builder Skill

Pipeline Stages

Documents → Chunking → Embedding → Indexing → [Query] → Retrieval → Reranking → Generation

Chunking Strategies

StrategyBest ForChunk Size
Fixed-sizeUniform docs256-512 tokens
Recursive characterMixed content (default)512-1024 tokens
Sentence-basedProse, articles1-5 sentences
Document-structurePDFs with headersPer section

Rule: always set overlap to 10-20% of chunk size.

Embedding Models

ModelProviderNotes
text-embedding-3-largeOpenAIBest general purpose
Amazon Titan EmbeddingsAWS BedrockNative Bedrock pairing
BAAI/bge-large-en-v1.5HuggingFaceBest open source

Critical: use the same embedding model at index time AND query time.

Vector Stores

StoreBest For
pgvectorExisting Postgres infra
OpenSearchAWS ecosystem (pairs with Bedrock)
PineconeManaged production scale
ChromaLocal dev / prototyping
QdrantHigh performance, self-hosted

Retrieval Patterns

  • Basic: similarity_search(query, k=5)
  • Hybrid (recommended): dense vector + BM25, fused with RRF
  • HyDE: generate hypothetical answer, embed it, retrieve against that
  • Multi-query: rewrite query 3 ways, retrieve each, deduplicate

Generation Prompt Template

You are a helpful assistant. Answer using ONLY the provided context. If context is insufficient, say "I don't have enough information." Context: {retrieved_chunks} Question: {user_query}

RAG Quality Checklist

  • [ ] Overlap set on chunks
  • [ ] Same embedding model for indexing and querying
  • [ ] Hybrid search enabled (not vector-only)
  • [ ] Reranker applied before generation
  • [ ] Retrieved chunks logged for debugging
  • [ ] Fallback for "no results found" case handled
  • [ ] Eval metrics tracked: precision, recall, faithfulness, relevance

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
Repository forks
3
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/satishkc7/claude-config/rag-builder/badge)](https://verified-skill.com/skills/satishkc7/claude-config/rag-builder)

Something wrong with this skill or its page? Tell us.