Skip to content
Back to skills

Langchain

ASecurity

LangChain framework for building LLM-powered applications

  • 47 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
ai-agentsreactnodeexpress

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add skeletorflet/opencode-supreme-setup --skill langchain --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Langchain?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Langchain
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skeletorflet-langchain/badge)](https://www.skillsdirectory.com/skills/skeletorflet-langchain)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: langchain
description: LangChain framework for building LLM-powered applications
---

### Core Concepts
- **Chains**: Link multiple LLM calls/utilities sequentially (LLMChain, SimpleSequentialChain)
- **Agents**: Autonomous loop that decides actions using tools (ReAct, OpenAI Functions, Tool Calling)
- **RAG**: Retrieval Augmented Generation - index documents, retrieve chunks, generate answers
- **LangGraph**: Graph-based state machine for complex agent workflows (cycles, branching)
- **Prompt Templates**: Parameterized strings with dynamic variable injection
- **Memory**: Conversation buffer, summary memory, vector store memory, entity memory

### Common Patterns
- `ChatPromptTemplate.from_messages([system, human])` for structured prompts
- `create_retrieval_chain(retriever, document_chain)` for RAG pipelines
- `create_openai_tools_agent(llm, tools, prompt)` for tool-calling agents
- `StateGraph` with nodes/edges for LangGraph workflows
- Streaming via `.stream()` or `.astream()` on chains/runnables
- Model I/O: `BaseMessage` types (HumanMessage, AIMessage, SystemMessage)

### Best Practices
- Use LCEL (LangChain Expression Language) `|` composition over legacy Chain classes
- Implement `RunnablePassthrough` for data flow transparency
- Enable LangSmith tracing in production for observability
- Prefer `ChatOpenAI` over legacy `OpenAI` for chat models
- Batch vector store operations to avoid rate limits

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.