RAG Architecture Skill
Build retrieval-augmented generation systems that ground LLMs in your data.
npx skills add majiayu000/claude-skill-registry --skill rag-architecture-fabioc-aloha-airs-data-analysis --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# RAG Architecture Skill > Build retrieval-augmented generation systems that ground LLMs in your data. ## Core Principle RAG = Retrieval + Generation. Instead of relying solely on the model's training data, retrieve relevant context at query time and include it in the prompt. This reduces hallucination and enables access to private/current data. ## RAG Pipeline ``` ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ Query │────▶│ Embed │────▶│ Retrieve │────▶│ Augment │ │ "How do I │ │ Query to │ │ Top-K │ │ Add to │ │ deploy?" │ │ Vector │ │ Documents │ │ Prompt │ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │ ▼ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ Answer │◀────│ Generate │◀────│ Format │◀────│ Context │ │ Grounded │ │ With LLM │ │ Prompt │ │ + Query │ │ Response │ │ │ │ │ │ │ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ ``` ## Indexing Pipeline ### Document Processing ``` ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │ Load │────▶│ Clean │────▶│ Chunk │────▶│ Embed │ │ Documents │ │ & Parse │ │ Content │ │ Chunks │ └──────────────┘ └──────────────┘ └──────────────┘ └────────────
- Core Principle
- RAG Pipeline
- Indexing Pipeline
- Document Processing
- Chunking Strategies
- Chunk Size Tradeoffs
- Embedding Models
- Model Comparison
- Embedding Best Practices
- Vector Databases
- Options
- Index Types
- Retrieval Strategies
- Basic Retrieval
What does the RAG Architecture Skill skill do?
Build retrieval-augmented generation systems that ground LLMs in your data.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill rag-architecture-fabioc-aloha-airs-data-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
