What the tech

Search

/ opens search from anywhere. Esc closes it.

Get the newsletter

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).

  • Adoption35 points 38
  • Upkeep20 points 100
  • Trust20 points 97
  • Quality15 points 90
  • Reader answers10 points Not enough answers yet, so this does not count

How the formula works

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.

ScannerResultDate
Gen Agent Trust HubPassedSep 14, 2026
SocketPassedSep 14, 2026
SnykMedium riskSep 14, 2026
RunlayerLow riskMar 4, 2026
ZeroLeaksPassedApr 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

Alternatives to langchain-rag

All skills for this job
  • Google Agents CLI

    For developers building AI agents with Google's ADK who want guidance from scaffold to deploy.

    Score 89 548K installs Official

    Get Google Agents CLI
  • Azure skills

    For teams on Microsoft Azure who want Claude to plan, check and run deployments or build Foundry agents.

    Score 88 633K installs Official

    Get Azure skills
  • skill-creator

    For anyone writing their own Claude skills who wants test runs and a review loop.

    Score 91 424K installs Official High-risk warning

    Get skill-creator
  • herdr

    For developers who run several coding agents in Herdr panes and want Claude to steer them.

    Score 85 78.4K installs Official

    Get herdr

By the What the tech desk, with AI assistance. We read the skill's instructions; we did not run it. Text checked Nov 2, 2026. Numbers checked Nov 5, 2026.

Sources: the repository, skills.sh. See something wrong? Write to info@whathetech.net.