Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add qodex-ai/ai-agent-skills --skill rag-agent-builder -a claude-code
Open on GitHub

What 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.py to 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-code

2Manually: put the files in place

~/.claude/skills/rag-agent-builder/SKILL.md

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

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.

Similar skills

All skills for AI and ML →

From the same set42

The whole set →
system-design system-design enforces Clean Architecture and DDD standards for coding agents. Steers models away from reinventing common utilities. CX Codex +1 218installs chat-with-arxiv chat-with-arxiv searches ArXiv preprints, parses PDF files, and generates answers with source citations. Designed for literature reviews and cross-paper synthesis. CX Codex +1 305installs deep-research-agent deep-research-agent is a Claude Code skill that automates data collection, source validation and report writing for market overviews, competitive analysis and academic literature reviews. CX Codex +1 290installs autonomous-agent-gaming autonomous-agent-gaming is a skill with runnable examples of rule-based, minimax, MCTS and Q-learning bots, plus a chess engine for agents choosing game moves. CX Codex +1 274installs generate-swagger-docs generate-swagger-docs scans a codebase for API endpoints and produces an OpenAPI file plus interactive HTML docs. Use it when a REST API needs generated documentation. CX Codex +1 260installs voice-ai-integration voice-ai-integration turns spoken input into an answer: speech recognition, intent parsing, then a synthesized reply. Python examples for Whisper, Google Cloud, Azure and ElevenLabs. CX Codex +1 211installs presentation-builder presentation-builder is a Claude Code skill that creates and edits PowerPoint files. It handles tasks involving slides, layouts, animations, and speaker notes. CX Codex +1 203installs llm-fine-tuning-guide llm-fine-tuning-guide guides LLM fine-tuning workflows across full training, LoRA, and QLoRA. Helps adapt open weights to specific domains, style requirements, and limited hardware budgets. CX Codex +1 196installs

Project sponsors

Companies that keep this analytics open