Rag Architect
Design a RAG pipeline by analyzing the corpus, choosing chunking and embeddings, and measuring retrieval quality.
- CCM score
- 71 of 100
- skills.sh installs
- 662
- GitHub stars
- 30.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers corpus analysis, chunking strategy selection, pipeline design, and retrieval evaluation with precision@k, recall@k, MRR, and NDCG
- Includes 3 scripts (
chunking_optimizer.py,rag_pipeline_designer.py,retrieval_evaluator.py) that chain into JSON outputs for each stage - Requires an evaluation run before any design is delivered, and flags model names and vendor prices for verification against live sources
- Designed for teams building search over their own documents who need to choose a vector store, embedding tier, or chunk size
Install
$ npx -y skills add alirezarezvani/claude-skills --skill rag-architect -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
RAG Architect
Design, tune, and evaluate production RAG pipelines with three deterministic tools. Run the tools against the actual corpus and requirements — do not pick chunk sizes or databases by intuition.
Hard rules
- Never present model names or vendor prices as current facts. Embedding models and vector-DB pricing rot in months. Recommend a tier (see table below), name a current-generation candidate, and tell the user to verify against the provider's live pricing page.
- Every design ends with an evaluation run. A RAG design without
retrieval_evaluator.pynumbers is a hypothesis, not a deliverable. - Chunking is corpus-driven. Run
chunking_optimizer.pyon the real documents before choosing a strategy.
Embedding model tiers (pattern, not price list)
Details
- Repository
- github.com/alirezarezvani/claude-skills
- Categories
- AI Agents & LLM Apps, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the rag-architect skill do?
The rag-architect skill designs RAG pipelines, choosing chunk sizes, embedding models and vector databases, and evaluates retrieval quality with precision@k, recall@k and NDCG. It runs deterministic tools against your actual corpus rather than guessing settings by intuition. Every design ends with an evaluation run.
How do I install the rag-architect skill?
Run npx -y skills add alirezarezvani/claude-skills --skill rag-architect -y in your project. After installing, the agent can design a RAG system for your docs, recommend a chunking strategy, and evaluate a retriever against ground truth.
What inputs does rag-architect need to work?
It works from your real documents, which it analyzes with chunking_optimizer.py, and a requirements JSON covering document types, query volume, latency, budget and accuracy priorities. For evaluation you supply queries and a ground truth file mapping queries to relevant document IDs. Model and vendor prices are treated as estimates to verify against live provider pricing.
When should I use rag-architect instead of llm-cost-optimizer?
Use rag-architect when you are building retrieval over documents, picking a vector store or embedding model, or finding that answers miss the right context. For general LLM cost tuning, the listing points to llm-cost-optimizer instead.
More from alirezarezvani/claude-skills
All 259- Threat Detection661
- Decision Logger660
- Incident Response660
- Prompt Engineer Toolkit660
- Change Management657
- Data Quality Auditor656
- Saas Scaffolder655
- Board Meeting652
- Google Workspace Cli652
- Ab Test Setup651
- Form Cro650
- Site Architecture648
- Schema Markup647
- Changelog Generator645
- Cro Advisor643
- Incident Commander641
- Executive Mentor639
- Ma Playbook639
- Marketing Ideas637
- Paid Ads637
- Chro Advisor636
- Tech Debt Tracker636
- Programmatic Seo635
- Stripe Integration Expert634
Similar to Rag Architect
More AI Agents & LLM Appsevaluate-raghamelsmu/evals-skills869 installsGuided evaluation of RAG retrieval and generation quality, with separate metrics for each stage.
rag-engineerdavila7/claude-code-templates392 installsExpert guide for building RAG systems covering chunking, embeddings, vector search, and retrieval tuning.
rag-implementationwshobson/agents14.9K installsPractical RAG pipeline guide covering vector stores, embeddings, retrieval, and reranking with a LangGraph example.
chunking-strategygiuseppe-trisciuoglio/developer-kit4.1K installsTiered chunking strategy guide for RAG pipelines that picks chunk size, overlap, and boundary detection.
raggiuseppe-trisciuoglio/developer-kit4K installsEnd-to-end RAG build guide covering chunking, embeddings, vector storage, and retrieval for document Q&A systems.
embedding-pipeline-builderpatricio0312rev/skills260 installsPipeline builder that covers loading, chunking, embedding, indexing, and retrieval tuning for RAG-style document search.