LangChain Skills

LangChain Skills

2 min read

We’re releasing our first set of skills to give AI coding agents expertise in the open source LangChain ecosystem. This includes building agents with LangChain, LangGraph, and Deep Agents. On our eval set, this bumps Claude Code’s performance on these tasks from 29% to 95%.

What are Skills?

Skills are curated instructions, scripts, and resources that improve coding agent performance in specialized domains. Importantly, skills are dynamically loaded through progressive disclosure — the agent only retrieves a skill when its relevant to the task at hand. This enhances agent capabilities, as historically, giving too many tools to an agent would cause its performance to degrade.

Skills are portable and shareable — they consist of markdown files and scripts that can be retrieved on demand. We’re sharing a set of LangChain skills that can be ported to any coding agent that supports skill functionality.

LangChain Skills

Within the langchain-skills repo, we maintain a set of 11 skills, split broadly across 3 categories:

  • LangChain: Guidance on how to use LangChain’s create_agent(), middleware, and tool patterns. Fundamentals for working with the classic tool calling agent loop
  • LangGraph: Guidance on how to work with LangGraph’s primitives, and take advantage of its native support for Human In the Loop, durable execution, and more.
  • DeepAgents: Guidance on working with our open source Deep Agents package and leverage its prebuilt middleware and FileSystem

Skill Impacts

Using skills, we saw significant improvements in Claude Code’s performance on basic LangChain, LangGraph, and DeepAgent tasks.

TestModelPass Rate
Claude Code without SkillsSonnet 4.625%
Claude Code with SkillsSonnet 4.695%
Pass rate was calculated using LangSmith evaluations. We plan to open source the testing benchmark we used

To see how easy these skills can make building agents, see the below video:

Installation

To install these skills, you can use npx skills:

Local (current project):

npx skills add langchain-ai/langchain-skills --skill '*' --yes

Global (all projects):

npx skills add langchain-ai/langchain-skills --skill '*' --yes --global

To link skills to a specific agent (e.g. Claude Code):

npx skills add langchain-ai/langchain-skills --agent claude-code --skill '*' --yes --global

Conclusion

We’re excited for the community to use LangChain and LangSmith to improve your experience building with our ecosystem. We plan to continue adding skills content as new capabilities are added to our Open Source and LangSmith. In addition to these skills for LangChain open source - we are also releasing a set of LangSmith skills today as well. If you have ideas for additional skills or improvements, we'd love to hear from you!