Agent skill · AI & Agents

rag-pipeline-builder

Designs retrieval-augmented generation pipelines for document-based AI assistants. Includes chunking strategies, metadata schemas, retrieval algorithms, reranking, and evaluation plans. Use when building "RAG systems", "document search", "semantic search", or "knowledge bases".

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill rag-pipeline-builder --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/ai-llm/rag-pipeline-builder/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# RAG Pipeline Builder Design end-to-end RAG pipelines for accurate document retrieval and generation. ## Pipeline Architecture ``` Documents → Chunking → Embedding → Vector Store → Retrieval → Reranking → Generation ``` ## Chunking Strategy ```python # Semantic chunking (recommended) from langchain.text_splitter import RecursiveCharacterTextSplitter splitter = RecursiveCharacterTextSplitter( chunk_size=1000, # Characters per chunk chunk_overlap=200, # Overlap between chunks separators=["\n\n", "\n", ". ", " ", ""], length_function=len, ) chunks = splitter.split_text(document.text) # Add metadata to each chunk for i, chunk in enumerate(chunks): chunks[i] = { "text": chunk, "metadata": { "source": document.filename, "page": calculate_page(i), "chunk_id": f"{document.id}_chunk_{i}", } } ``` ## Metadata Schema ```typescript interface ChunkMetadata { // Source information document_id: string; source: string; url?: string; // Location page?: number; section?: string; chunk_index: number; // Content classification content_type: "text" | "code" | "table" | "list"; language?: string; // Timestamps created_at: Date; updated_at: Date; // Retrieval optimization keywords: string[]; summary?: s

What's inside
Steps it walks through
  1. Pipeline Architecture
  2. Chunking Strategy
  3. Metadata Schema
  4. Vector Store Setup
  5. Retrieval Strategies
  6. Reranking
  7. Query Enhancement
  8. Evaluation Plan
  9. Context Window Management
  10. Best Practices
  11. Output Checklist
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the rag-pipeline-builder skill do?

Designs retrieval-augmented generation pipelines for document-based AI assistants. Includes chunking strategies, metadata schemas, retrieval algorithms, reranking, and evaluation plans. Use when building "RAG systems", "document search", "semantic search", or "knowledge bases".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill rag-pipeline-builder --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.

Keep going