rag-implementation
Skill by Aletheore
Guides developers in building Retrieval-Augmented Generation (RAG) systems that ground LLM answers in external knowledge. It is aimed at teams building document Q&A and knowledge-based AI.
Install rag-implementation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Aletheore/Aletheore /tmp/Aletheore && mkdir -p ~/.claude/skills && cp -r /tmp/Aletheore/src/aletheore/skills/ai-engineering/rag-implementation ~/.claude/skills/rag-implementationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Aletheore/Aletheore /tmp/Aletheore && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Aletheore/src/aletheore/skills/ai-engineering/rag-implementation ~/.gemini/antigravity-cli/skills/rag-implementationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
RAG Implementation is an agent skill that explains how to build Retrieval-Augmented Generation systems for LLM applications. It covers vector databases such as Pinecone, Weaviate, Milvus, Chroma, Qdrant and pgvector, along with embedding models, dense, sparse and hybrid retrieval, and reranking methods. It also includes a LangGraph quick start that retrieves documents and then generates an answer from them.
The skill is intended for developers building Q&A systems over proprietary documents, documentation assistants, chatbots that need current facts, and research tools that cite sources. Its example uses Claude, Voyage AI embeddings and a Pinecone index, with a retrieve step followed by a generate step. Detailed patterns are kept in a separate references file. The skill is published by Aletheore under the MIT license.
Written from the project's SKILL.md and checked against it.
What it can do
- Vector database optionsCompares Pinecone, Weaviate, Milvus, Chroma, Qdrant and pgvector for storing embeddings.
- Embedding modelsLists embedding models with dimensions and suggested uses, such as voyage-3-large and bge-large-en-v1.5.
- Dense retrievalFinds documents by semantic similarity using embeddings.
- Sparse retrievalMatches keywords using BM25 or TF-IDF.
- Hybrid searchCombines dense and sparse retrieval with weighted fusion.
- Multi-query and HyDEGenerates query variations or hypothetical documents to improve retrieval.
- RerankingReorders results with cross-encoders, Cohere Rerank, MMR or an LLM.
- LangGraph RAG quick startProvides a retrieve and generate graph that answers questions from indexed documents.
What you need
- Python
- LangGraph and LangChain packages
- Anthropic, Voyage AI and Pinecone clients used in the example
Try asking
- Build a RAG pipeline that answers questions from my product docs.
- Compare Chroma and pgvector for storing embeddings in my app.
- Add reranking to my document Q&A retrieval step.
Good to know
- The quick start example is written for Anthropic, Voyage AI and Pinecone.
- Detailed patterns are in a separate references file that must be read for more depth.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/aletheore/skills/ai-engineering/rag-implementation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to rag-implementation
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
rag-implementation: common questions
Which vector databases does this skill cover?
It lists Pinecone, Weaviate, Milvus, Chroma, Qdrant and pgvector, each with a short note on its strengths.
Which embedding models are listed?
The table includes voyage-3-large, voyage-code-3, text-embedding-3-large, text-embedding-3-small, bge-large-en-v1.5 and multilingual-e5-large, with their dimensions.
Does it include a working code example?
Yes. It has a LangGraph quick start with retrieve and generate nodes that answers questions from a vector store.
How do I install rag-implementation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is rag-implementation free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is rag-implementation safe to use?
It scores 77 of 100. Grades: maintenance A, licence C, 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-implementation?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
