Skip to main content
skill CX Codex

langchain-rag · langchain-ai, legacy — Claude Code skill: RAG skill replacement

langchain-rag is a Claude Code skill that marks itself as retired and points LangChain retrieval-augmented generation tasks to langchain-build-agent. It activates for RAG work with LangChain.

MIT 18,700 installs ★ 1,359 updated 2026-10-21

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add langchain-ai/langchain-skills --skill langchain-rag -a claude-code
Open on GitHub

What langchain-rag does

langchain-rag routes LangChain retrieval-augmented generation work to langchain-build-agent. When that skill is available, the agent should use it; otherwise, install it with npx skills add langchain-ai/langchain-skills --skill langchain-build-agent --yes.

This skill is retired. After switching to its replacement, remove it with npx skills remove langchain-rag.

What it helps with

  • RAG skill replacement
  • route LangChain RAG work to the current skill
  • remove the retired langchain-rag skill

Example prompts for the agent

  • Build a RAG app with LangChain.
  • Set up document retrieval with answer generation in LangChain.

How to install langchain-rag

1Skills CLI (Vercel)

npx skills add langchain-ai/langchain-skills --skill langchain-rag -a claude-code

2Manually: put the files in place

~/.claude/skills/langchain-rag/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/langchain-rag/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about langchain-rag

How do I install langchain-rag in Claude Code?

Run npx skills add langchain-ai/langchain-skills --skill langchain-rag -a claude-code. The skill file is at ~/.claude/skills/langchain-rag/SKILL.md.

What does langchain-rag do?

It marks the skill as retired and directs LangChain RAG tasks to langchain-build-agent. If the replacement is unavailable, it provides a command to install it.

Which skill replaces langchain-rag?

langchain-build-agent is its replacement. Once switched, remove langchain-rag with npx skills remove langchain-rag.

Source text

SKILL.md · MIT
---
name: langchain-rag
description: "Retired skill, replaced by `langchain-build-agent`. Use for retrieval-augmented generation with LangChain: it tells you to switch to `langchain-build-agent`."
metadata:
  internal: "true"
---

# langchain-rag (retired)

`langchain-rag` was retired from langchain-skills. Use the `langchain-build-agent` skill instead.

1. If `langchain-build-agent` is available, use it for this task.
2. Otherwise, install it, then use it:

   ```bash
   npx skills add langchain-ai/langchain-skills --skill langchain-build-agent --yes
   ```

3. Tell the user that `langchain-rag` is retired and that they can remove it with
   `npx skills remove langchain-rag`.

© langchain-ai · MIT · langchain-ai/langchain-skills

Similar skills

All skills for AI and ML →

langchain-rag by other authors comes first.

langchain-rag langchain-ai langchain-rag equips coding agents with reference RAG implementations in Python and TypeScript using LangChain loaders, splitters, and vector stores. CX Codex +1 18,600installs agents-langchain Orchestra Research The agents-langchain skill guides LangChain projects with agents, chains, tool calls, and RAG. Use it when building chatbots, document Q&A, or autonomous workflows. CX Codex +1 968installs langchain-development Mindrally langchain-development gives your agent a rulebook for LangChain and LangGraph work in Python: chain composition, agents, memory, RAG. Useful once a Python LLM project outgrows one file. CX Codex +1 726installs langchain-orchestration manutej langchain-orchestration — a LangChain reference skill for your coding agent: chains, agents, memory, RAG and orchestration. Useful when the agent writes LangChain code and should stick to working patterns. CX Codex +1 453installs exa-rag ejirocodes exa-rag is a Claude Code skill that connects Exa web search to RAG workflows and AI agents. It adds fresh web results and source links to generated answers. CX Codex +1 251installs langchain hoodini Hands Claude runnable patterns for LangChain and LangGraph: LCEL pipes, retrieval over Chroma, tool-using agent graphs, typed output and per-session memory. CX Codex +1 ★ 303repo stars rag-pipeline-builder patricio0312rev rag-pipeline-builder designs a retrieval-augmented pipeline for a document assistant: chunking, metadata, hybrid search, reranking and a way to measure retrieval quality. CX Codex +1 251installs

From the same set45

The whole set →
langchain-rag langchain-rag equips coding agents with reference RAG implementations in Python and TypeScript using LangChain loaders, splitters, and vector stores. CX Codex +1 18,600installs langgraph-persistence langgraph-persistence is a Claude Code skill that routes LangGraph checkpointer, thread, and store work to langchain-build-agent. The skill has been retired. CX Codex +1 19,100installs langchain-fundamentals langchain-fundamentals guides LangChain agent work with create_agent(), tools, and middleware. Use it when you need saved conversation state, approval flows, or error handling. CX Codex +1 18,500installs langgraph-human-in-the-loop langgraph-human-in-the-loop — a skill for building LangGraph workflows that pause and wait for human input. Use it to show agent output, request approval, or validate user responses before continuing. CX Codex +1 18,300installs langchain-fundamentals langchain-fundamentals is a Claude Code skill that redirects LangChain agent setup tasks to langchain-build-agent. It triggers when creating agents, tools, or models with LangChain. CX Codex +1 18,500installs langgraph-human-in-the-loop langgraph-human-in-the-loop is a Claude Code skill for LangGraph interrupts and human approval. It has been retired and points to langchain-build-agent. CX Codex +1 18,300installs langchain-middleware langchain-middleware adds middleware hooks for LangChain agents: pauses execution before dangerous tool calls, lets a human approve, edit or reject the action, intercepts calls for logging and retry logic. CX Codex +1 17,200installs deep-agents-orchestration deep-agents-orchestration guides setup of orchestration in Deep Agents: subagent delegation, todo planning, and human approval interrupts. CX Codex +1 17,100installs

Project sponsors

Companies that keep this analytics open