rag-agent-builder — Claude Code skill: what it does, how to install
rag-agent-builder provides templates and scripts to build RAG pipelines with vector databases, hybrid retrieval, and response evaluation.
no license 263 installs ★ 50 updated 2026-01-05
npx skills add qodex-ai/ai-agent-skills --skill rag-agent-builder -a claude-codeWhat rag-agent-builder does
This skill equips coding assistants with blueprints for document-driven retrieval systems. It covers ingestion workflows from raw text chunking to prompt context fitting. The package includes example implementations for standard chunk-embed pipelines, multi-step agentic retrieval, and relevance reranking.
Core utilities like vector_db_manager.py and embedding_management.py handle embedding generation, cache storage, and database connectors. Supported vector stores include Pinecone, Qdrant, Weaviate, Milvus, and Chroma. It also demonstrates how to merge BM25 keyword matching with dense embeddings.
Retrieval accuracy depends directly on fragment boundaries and embedding models, making validation through rag_evaluation.py essential before deployment.
What it helps with
- build an agent-driven retrieval pipeline over custom docs
- configure hybrid search combining BM25 keyword scoring and vector queries
- implement semantic and hierarchical text chunking
- evaluate answer quality and context relevance with automated metrics
Example prompts for the agent
- Design a hybrid RAG pipeline using Qdrant and BM25 reranking for technical docs
- Set up semantic chunking with overlap for PDF manuals before indexing
- Use
rag_evaluation.pyto benchmark retrieval precision on my test queries
How to install rag-agent-builder
1Skills CLI (Vercel)
npx skills add qodex-ai/ai-agent-skills --skill rag-agent-builder -a claude-code2Manually: put the files in place
~/.claude/skills/rag-agent-builder/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/rag-agent-builder/
1Skills CLI (Vercel)
npx skills add qodex-ai/ai-agent-skills --skill rag-agent-builder -a codex2Manually: put the files in place
.agents/skills/rag-agent-builder/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add qodex-ai/ai-agent-skills --skill rag-agent-builder -a cursor2Manually: put the files in place
.cursor/skills/rag-agent-builder/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install qodex-ai/ai-agent-skills skills/rag-agent-builder2Manually: put the files in place
.github/skills/rag-agent-builder/SKILL.md1Skills CLI (Vercel)
npx skills add qodex-ai/ai-agent-skills --skill rag-agent-builder -a gemini-cli2Platform CLI
gemini skills install https://github.com/qodex-ai/ai-agent-skills --path skills/rag-agent-builderManually: put the files in place
.devin/skills/rag-agent-builder/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add qodex-ai/ai-agent-skills --skill rag-agent-builder -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about rag-agent-builder
How do I install rag-agent-builder in Claude Code?
Run npx skills add qodex-ai/ai-agent-skills --skill rag-agent-builder -a claude-code in your terminal.
What does rag-agent-builder do?
It guides coding agents in setting up document ingestion, vector storage, reranked hybrid retrieval, and grounded response generation.
Which vector stores are covered by this skill?
It includes connection templates and helpers for Pinecone, Weaviate, Milvus, Chroma, and Qdrant.