Langchain Skills
MCP server: Langchain Skills
Installation
npx langchain-skillsAsk AI about Langchain Skills
Powered by Claude Β· Grounded in docs
I know everything about Langchain Skills. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
@langchain/skills
A deepagents-powered agent that scrapes LangChain documentation and generates skill.md files following the Agent Skills protocol.
Overview
This agent automatically explores the LangChain documentation and creates comprehensive skill files that help AI agents use LangChain effectively. Each skill file includes:
- Decision tables for choosing the right components
- Code examples with essential patterns
- Boundaries defining what can/cannot be configured
- Gotchas highlighting common mistakes
- Links to full documentation
Installation
bun install
Environment Variables
You'll need to set up your API keys:
export ANTHROPIC_API_KEY=your-anthropic-api-key
Usage
Generate All Skills
Run the agent to automatically explore LangChain docs and generate skill files:
bun run start
Or:
bun run src/agent.ts
Output
Skill files are generated in the ./skills/ directory with the structure:
skills/
βββ langchain-chat-models/
β βββ SKILL.md
βββ langchain-prompts/
β βββ SKILL.md
βββ langchain-chains/
β βββ SKILL.md
βββ langchain-agents/
β βββ SKILL.md
βββ langchain-memory/
β βββ SKILL.md
βββ langchain-rag/
β βββ SKILL.md
βββ langchain-document-loaders/
β βββ SKILL.md
βββ langchain-vector-stores/
β βββ SKILL.md
βββ langchain-output-parsers/
β βββ SKILL.md
βββ langchain-callbacks/
βββ SKILL.md
Skill File Format
Each skill file follows the Agent Skills protocol:
---
name: skill-name
description: Brief description of the skill
---
# Skill Title
## Overview
Brief summary of the topic.
## Decision Table
| Need | Use |
| --- | --- |
| Simple Q&A | ChatOpenAI |
| Complex reasoning | Claude |
## Code Examples
Essential usage patterns.
## Boundaries
### Can Configure
- List of configurable items
### Requires External Setup
- List of items needing external setup
## Gotchas
- Common mistakes to avoid
## Links
- [Full Documentation](https://docs.langchain.com/...)
How It Works
- MCP Integration: Uses the LangChain docs MCP server to search documentation
- Deep Agent: Powered by deepagents with filesystem middleware
- Systematic Exploration: Explores all major LangChain topics
- Skill Generation: Creates structured skill files following the protocol
Development
This project uses:
- Bun - JavaScript runtime
- deepagents - Agentic AI framework
- @modelcontextprotocol/sdk - MCP client
