How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert Rag Architect (Engineering domain).

Designs and evaluates RAG pipelines: chunking analysis, retrieval metrics on your queries, first-pass designs with costs. Use when building a RAG system, choosing chunking, embeddings or a vector store, or fixing poor retrieval.

The agent designs, implements and tunes retrieval-augmented generation pipelines from chunking through evaluation, and makes every choice (chunking, embedding model, vector store, retrieval mode, reranking) answer to a measured retrieval score on the user's own queries. - **Chunking strategy selecti

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/rag-architect

---
Start by asking the user what they need help with.
# Add to your project
cs install engineering/rag-architect ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/rag-architect your-project/
# The skill is available in your Codex workspace at:
.codex/skills/rag-architect/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/rag-architect your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/rag-architect/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/rag-architect your-project/
# Add to your .cursorrules or workspace settings:
# Reference: engineering/rag-architect/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/rag-architect your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/rag-architect your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/engineering/rag-architect

Quick Start

# from engineering/rag-architect/ (the tools live at the skill root)
python3 rag_pipeline_designer.py assets/sample_requirements.json
python3 chunking_optimizer.py assets/corpus
python3 retrieval_evaluator.py assets/sample_queries.json assets/corpus assets/sample_ground_truth.json
python3 rag_pipeline_designer.py assets/flawed_requirements.json   # exit 2: accuracy_priority must be a number
The evaluator's built-in TF-IDF baseline gets Precision@1 of 0.50 on the sample: two of four plain-language queries miss on wording, which is the gap dense or hybrid retrieval should close.

Related Skills in Engineering

View on GitHub