rag-skills
Skill8 starsChanged 7 months agoMITView on GitHub
Use this skill when building, debugging, or improving Retrieval-Augmented Generation systems, including chunking, vector database selection, hybrid search, reranking, multimodal RAG, code documentation RAG, retrieval latency, and production RAG architecture.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- llama-farm/llamafarmtheir own version, first seen Sep 16, 2025
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- llama-farm/llamafarm★ 837same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- choosing-a-chunking-frameworkSkill
- contextual-chunk-headersSkill
- hierarchical-chunkingSkill
- semantic-chunkingSkill
- chunkingSkill
- sliding-window-chunkingSkill
- rag-for-code-documentationSkill
- rag-for-multimodal-contentSkill
- data-type-handlingSkill
- index-versioning-and-reindexingSkill
- production-rag-deploymentSkill
- deploymentSkill
- generation-evaluation-metricsSkill
- rag-evaluation-frameworksSkill
- retrieval-evaluation-metricsSkill
- evaluation-metricsSkill
- optimize-retrieval-latencySkill
- performance-optimizationSkill
- agentic-rag-routingSkill
- multi-agent-rag-orchestrationSkill
- rag-agentsSkill
- adaptive-retrievalSkill
- context-enrichment-windowSkill
- crag-corrective-ragSkill
- explainable-retrievalSkill
- graph-ragSkill
- hybrid-search-bm25-denseSkill
- hyde-hypothetical-document-embeddingsSkill
- hype-hypothetical-prompt-embeddingsSkill
- multi-pass-retrieval-with-rerankingSkill
- query-transformation-strategiesSkill
- raptor-hierarchical-retrievalSkill
- self-ragSkill
- retrieval-strategiesSkill
- choosing-vector-db-by-datatypeSkill
- qdrant-for-production-ragSkill
- qdrant-setup-ragSkill
- vector-databasesSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use it when a user asks for help designing, implementing, improving, evaluating, or operating a Retrieval-Augmented Generation pipeline.
- Distinctive: line 17
Follow the guide's decision criteria, implementation notes, references, and success metrics.
- Distinctive: line 19
Prefer lightweight examples in this repo, then use the linked external implementations for production code patterns.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RAG Skills
This skill routes RAG implementation work to the right guide in this repository. Use it when a user asks for help designing, implementing, improving, evaluating, or operating a Retrieval-Augmented Generation pipeline.
How to Use This Skill
- Identify the main RAG problem: chunking, vector storage, retrieval quality, data type handling, latency, evaluation, agents, or deployment.
- Open the most relevant guide under
skills/. - Follow the guide's decision criteria, implementation notes, references, and success metrics.
- Prefer lightweight examples in this repo, then use the linked external implementations for production code patterns.
Skill Routes
Chunking
skills/chunking/semantic-chunking/SKILL.md: Chunk by semantic boundaries instead of fixed token windows.skills/chunking/hierarchical-chunking/SKILL.md: Preserve document hierarchy across sections, headings, and nested structures.skills/chunking/sliding-window-chunking/SKILL.md: Add overlap to preserve context near chunk boundaries.skills/chunking/contextual-chunk-headers/SKILL.md: Add inherited section context to chunks.skills/chunking/choosing-a-chunking-framework/SKILL.md: Select chunking libraries and frameworks.
Vector Databases
skills/vector-databases/qdrant-setup-rag/SKILL.md: Set up Qdrant for RAG with metadata and filtering.skills/vector-databases/qdrant-for-production-rag/SKILL.md: Operate Qdrant in production RAG systems.skills/vector-databases/choosing-vector-db-by-datatype/SKILL.md: Choose a vector database for text, code, multimodal, and structured data.
Retrieval Strategies
skills/retrieval-strategies/hybrid-search-bm25-dense/SKILL.md: Combine keyword and dense vector retrieval.skills/retrieval-strategies/multi-pass-retrieval-with-reranking/SKILL.md: Retrieve broadly, then rerank with a stronger model.skills/retrieval-strategies/query-transformation-strategies/SKILL.md: Rewrite, decompose, or expand queries before retrieval.skills/retrieval-strategies/hyde-hypothetical-document-embeddings/SKILL.md: Use hypothetical answer documents to improve query embeddings.skills/retrieval-strategies/hype-hypothetical-prompt-embeddings/SKILL.md: Index likely prompts or questions alongside source content.skills/retrieval-strategies/self-rag/SKILL.md: Add self-reflection and retrieval validation to generation workflows.skills/retrieval-strategies/raptor-hierarchical-retrieval/SKILL.md: Retrieve over hierarchical summaries and source chunks.skills/retrieval-strategies/context-enrichment-window/SKILL.md: Expand retrieved chunks with neighboring context.skills/retrieval-strategies/adaptive-retrieval/SKILL.md: Choose retrieval strategy dynamically based on query type.skills/retrieval-strategies/explainable-retrieval/SKILL.md: Improve traceability with source attribution and citations.skills/retrieval-strategies/crag-corrective-rag/SKILL.md: Correct weak retrieval with validation and fallback search.skills/retrieval-strategies/graph-rag/SKILL.md: Use graph structure and entity relationships for retrieval.
Data Type Handling
skills/data-type-handling/rag-for-code-documentation/SKILL.md: Handle code, APIs, examples, and technical documentation.skills/data-type-handling/rag-for-multimodal-content/SKILL.md: Handle images, tables, diagrams, and mixed media.
Performance Optimization
skills/performance-optimization/optimize-retrieval-latency/SKILL.md: Reduce retrieval latency with indexing, caching, and query optimization.
Evaluation Metrics
skills/evaluation-metrics/retrieval-evaluation-metrics/SKILL.md: Measure retrieval with recall, precision, MRR, nDCG, and context precision and recall.skills/evaluation-metrics/generation-evaluation-metrics/SKILL.md: Score answers for faithfulness, answer relevancy, and correctness with LLM-as-judge.skills/evaluation-metrics/rag-evaluation-frameworks/SKILL.md: Choose an evaluation framework and wire it into a CI regression gate.
RAG Agents
skills/rag-agents/agentic-rag-routing/SKILL.md: Route each query to the right retrieval strategy, source, or tool.skills/rag-agents/multi-agent-rag-orchestration/SKILL.md: Coordinate planner and specialist agents to decompose and synthesize complex answers.
Deployment
skills/deployment/production-rag-deployment/SKILL.md: Serve, scale, and roll out a RAG pipeline safely.skills/deployment/index-versioning-and-reindexing/SKILL.md: Version the index and reindex or migrate embeddings without downtime.
Success Criteria
- The selected RAG pattern matches the user's actual bottleneck.
- Retrieval quality improves without adding unnecessary architecture.
- The implementation keeps metadata, evaluation, and production constraints in view from the start.
- External references are used for real implementation details instead of copying large code blocks into this skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

