langchain-rag: a Claude Code skill by LangChain
Official
For Python developers building a LangChain app that answers from their own documents. Skip it if you do not use LangChain or need no retrieval step.
- Score
- 74of 100
- Rank
- #130of 200
- Installs
- 18.2Kon skills.sh
- Security
- Mixed 5 scanners
- Updated
- 2026
- Context
- ~54tokens always
Install
npx skills add https://github.com/langchain-ai/langchain-skills --skill langchain-rag Run it in your terminal. View the source
What does langchain-rag do?
langchain-rag is a skill that guides Claude through retrieval-augmented generation with LangChain. It lays out the pipeline in three stages: load and split documents, turn chunks into embeddings and store them, then fetch matching chunks to pass to the model with the question. It covers document loaders for files and folders, RecursiveCharacterTextSplitter with a chunk overlap of about 10 to 20 percent, OpenAI embeddings, and the InMemory, FAISS, Chroma and Pinecone vector stores. It also lists common mistakes, such as mixing embedding models or dimensions, and warns never to load a FAISS index you did not create.
When should you use langchain-rag?
Use it when
- Building a question-answering app over your own files
- Choosing between FAISS, Chroma and Pinecone for vectors
- Your answers miss context because chunks break badly
Skip it when
- Your app does not use LangChain
- You only need a plain chat call with no retrieval
What it needs and what it can touch
You need
- Python with the LangChain packages
- An OpenAI API key for the embedding examples
It can
- Writes Python code in your project
From reading its instructions, not from running it.
Why it scores 74
Strongest on upkeep (100 of 100), weakest on adoption (38).
Is langchain-rag safe to install?
At least one scanner raised a medium warning. Read the results below. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Sep 14, 2026 |
| Socket | Passed | Sep 14, 2026 |
| Snyk | Medium risk | Sep 14, 2026 |
| Runlayer | Low risk | Mar 4, 2026 |
| ZeroLeaks | Passed | Apr 16, 2026 |
Details
- Installs
- 18,179
- Repository stars
- 1,324
- Last repository change
- Tokens always loaded
- about 54
- Tokens when used
- about 3,794
- License
- MIT
- Data confidence
- High
Did it do the job for you?
Alternatives to langchain-rag
All skills for this job-
Get Google Agents CLIGoogle Agents CLI
For developers building AI agents with Google's ADK who want guidance from scaffold to deploy.
-
Get Azure skillsAzure skills
For teams on Microsoft Azure who want Claude to plan, check and run deployments or build Foundry agents.
-
Get skill-creatorskill-creator
For anyone writing their own Claude skills who wants test runs and a review loop.
-
Get herdrherdr
For developers who run several coding agents in Herdr panes and want Claude to steer them.