rag-pipelines
RAG pipeline design — chunking, embeddings, retrieval strategies, evaluation, and demo patterns.
Skill by ils15
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ils15-rag-pipelines
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, data, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/rag-pipelines
What's inside
- Skill name
rag-pipelines- Description
- RAG pipeline design — chunking, embeddings, retrieval strategies, evaluation, and demo patterns.
- License
- MIT
- Instructions
- 155 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# RAG Pipelines
Retrieval-Augmented Generation pipeline design: chunking, embeddings, vector stores, retrieval strategies, and evaluation.
---
## Pipeline Architecture
```
Documents → Chunk → Embed → Store → Retrieve → Generate
```
---
## Chunking Strategies
| Strategy | Best For | Chunk Size |
|----------|----------|------------|
| **Fixed-size** | General docs | 500-1000 tokens |
| **Semantic** | Long-form content | By paragraph/section |
| **Code-aware** | Source code | By function/class |
| **Recursive** | Mixed content | 1000 → 500 → 200 tokens |
```python
from langchain.text_splitter import RecursiveCharacterTextSplitter
splitter = RecursiveCharacterTextSplitter(
chunk_size=1000,
chunk_overlap=200,
separators=["\n\n", "\n", ". ", " ", ""]
)
```
---
## Embedding Models
| Model | Dimensions | Speed | Quality |
|-------|-----------|-------|---------|
| `text-embedding-3-small` | 1536 | Fast | Good |
| `text-embedding-3-large` | 3072 | Medium | Best |
| `bge-large-en` | 1024 | Fast | Good |
| `e5-large-v2` | 1024 | Fast | Good |
---
## Vector Stores
| Store | Use Case | Scaling |
|-------|----------|---------|
| **Pinecone** | Production, managed | Auto-scales |
| **Weaviate** | Production, self-hosted | Horizontal |
| **pgvector** | PostgreSQL shops | Vertical |
| **Chroma** | Prototyping, local | Single-node |
```python
from langchain.vectorstores import Chroma
vector_store = Chroma.from_documents(
documents=chunks,
embedding=embeddings,
persist_directory="./chroma_db"
)
```
---
## Retrieval Strategies
### Similarity Search
```python
retriever = vector_store.as_retriever(search_type="similarity", k=4)
```
### MMR (Diversity-focused)
```python
retriever = vector_store.as_retriever(
search_type="mmr",
search_kwargs={"k": 4, "lambda_mult": 0.7}
)
```
### Hybrid (BM25 + Semantic)
```python
from langchain.retrievers import EnsembleRetriever
retriever = EnsembleRetriever(
retrievers=[bm25_retriever, vector_retriever],
weights=[0.3, 0.7]
)
```
### Self-Querying
```python
from langchain.retrievers.self_query.base import SelfQueryRetriever
retriever = SelfQueryRetriever.from_llm(
llm, vector_store, document_contents, metadata_field_info
)
```
---
## Evaluation (RAGAS)
```python
from ragas import evaluate
from ragas.metrics import faithfulness, answer_relevance, context_precision
result = evaluate(
dataset=eval_dataset,
metrics=[faithfulness, answer_relevance, context_precision]
)
```
| Metric | Target |
|--------|--------|
| Faithfulness | ≥0.8 |
| Answer Relevance | ≥0.8 |From ils15/pantheon-legacy, MIT.
More from ils15/pantheon-legacy
- 0.543score
handoff
ils15
Generate session handoff documents for work continuation.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
code-review-checklist
ils15
Systematic code review with quality gates, security audit, and parallel checks.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
orchestration-workflow
ils15
Practical step-by-step walkthrough for orchestrating features end-to-end using the multi-agent system, from planning through deployment
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
task-system
ils15
File-backed task management with dependencies and parallel execution.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
agent-coordination
ils15
Multi-agent orchestration with model routing, category delegation, and sprint management.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
prompt-improver
ils15
Improve prompts using best practices for clarity, specificity, and structure.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
tdd-with-agents
ils15
TDD enforcement with RED→GREEN→REFACTOR cycle and advanced testing patterns.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
frontend-analyzer
ils15
Analyze React components for design tokens and accessibility.
SkillCFreshness: C★ 12Claude Code +9 - 0.538score
artifact-management
ils15
Structured artifact trail for feature implementations — plans, implementations, reviews, and decisions.
SkillCFreshness: C★ 12Claude Code +9 - 0.538score
api-design-patterns
ils15
Design RESTful APIs with pagination, filtering, and OpenAPI docs.
SkillCFreshness: C★ 12Claude Code +9 - 0.538score
conversational-ai-design
ils15
Design conversational AI with Rasa NLU, dialogue management, and LangChain memory patterns.
SkillCFreshness: C★ 12Claude Code +9 - 0.538score
agent-evaluation
ils15
Evaluate AI agent outputs — hallucination detection, quality scoring, behavioral testing, and CI/CD pipelines.
SkillCFreshness: C★ 12Claude Code +9
Signals
- Stars
- 12
- Forks
- 7
- Open issues
- 1
- Last commit (this folder)
- Jul 11, 2026 (3 months ago)
- Last release
- Jul 22, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ils15/pantheon-legacy
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ils15
- 0.543score
handoff
ils15
Generate session handoff documents for work continuation.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
orchestration-workflow
ils15
Practical step-by-step walkthrough for orchestrating features end-to-end using the multi-agent system, from planning through deployment
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
frontend-analyzer
ils15
Analyze React components for design tokens and accessibility.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
code-review-checklist
ils15
Systematic code review with quality gates, security audit, and parallel checks.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
agent-coordination
ils15
Multi-agent orchestration with model routing, category delegation, and sprint management.
SkillCFreshness: C★ 12Claude Code +9 - 0.541score
prompt-improver
ils15
Improve prompts using best practices for clarity, specificity, and structure.
SkillCFreshness: C★ 12Claude Code +9
Cite this page
rag-pipelines skill. Agent Mart. https://agentmart.dev/skills/ils15-rag-pipelines (last updated 2026-10-24)