Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

rag-infrastructure

Skill by sickn33

Guides building and operating Retrieval-Augmented Generation infrastructure, covering vector stores, embedding pipelines and hybrid search. Aimed at developers building knowledge base Q&A over internal documents.

  • Score 90
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install rag-infrastructure

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/rag-infrastructure ~/.claude/skills/rag-infrastructure

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install rag-infrastructure in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This docs-only skill describes production infrastructure for Retrieval-Augmented Generation. It covers ingesting documents, generating embeddings, storing them in vector databases such as Qdrant, Weaviate, Pinecone or pgvector, and serving grounded LLM answers. The source includes Python examples for chunking, dense and sparse hybrid search with reciprocal rank fusion, and reranking with Cohere or a local cross-encoder.

It is meant for developers building knowledge base Q&A over internal documents or semantic search over large collections. The skill also includes a Docker Compose layout for Qdrant, Redis, an ingestion worker and a RAG API. The user-supplied ingestion and API builds and the vLLM service are not bundled. The source notes that retrieval should enforce document permissions before generation, and that external embedding services receive document text.

Written from the project's SKILL.md and checked against it.

What it can do

  • Embedding pipelineChunks, embeds and upserts documents into a Qdrant collection.
  • Chunking strategiesOffers a recursive character splitter and a markdown header splitter.
  • Hybrid searchCombines dense and sparse vectors using reciprocal rank fusion.
  • RerankingReranks retrieved chunks with Cohere or a local CrossEncoder model.
  • RAG query pipelineRetrieves, reranks and generates answers grounded in retrieved context.
  • Docker Compose stackDefines Qdrant, Redis, an ingestion worker and a RAG API service.

What you need

  • Python 3.10+ with pip
  • Docker
  • A vector database such as Qdrant, Weaviate, Pinecone or pgvector
  • An embedding model from OpenAI, Cohere or sentence-transformers
  • An LLM endpoint such as the OpenAI API or self-hosted vLLM

Try asking

  • Set up a Qdrant collection and embedding pipeline for my internal docs
  • Write a hybrid search function that combines dense and sparse retrieval
  • Add a reranking step before sending retrieved chunks to my LLM

Good to know

  • Docs-only import; upstream scripts and templates are not bundled.
  • The Compose example needs user-supplied ingestion and API builds plus a vLLM service.
  • Retrieved content is untrusted and must not authorize tools or override instructions.
  • Client and library versions should be matched before running the snippets.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/rag-infrastructure/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB

Alternatives to rag-infrastructure

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

rag-infrastructure: common questions

Does this skill include ready-to-run ingestion and API code?

No. The source says the Compose example requires user-supplied ingestion and api builds, which are not bundled. The Python snippets are examples to adapt.

Is the sparse search in this skill BM25?

No. The source says SPLADE is learned sparse retrieval, not BM25, and the example uses prithivida/Splade_PP_en_v1.

Are external embedding services safe for private documents?

The source says external embeddings and rerankers transmit document text and require sharing authorization. It suggests local models such as BAAI/bge-large-en-v1.5 as an option.

How do I install rag-infrastructure?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is rag-infrastructure free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is rag-infrastructure safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to rag-infrastructure?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

rag-infrastructure Install

Add to stack

Loading.