Skip to content

langchain-ai/langchain-skills

v0.2.1MIT

Skills for LangChain application development, LangSmith workflows, and Harbor evaluation, with current documentation MCP access

LangChain Skills

⚠️ — This project is in early development. APIs and skill content may change.

Opinionated skills for building applications with Deep Agents, LangGraph, and LangChain; evaluating them with LangSmith; and engineering Harbor benchmarks. The plugin also connects to the official documentation and API reference.

See Skills philosophy for how we decide what belongs in a skill and keep the guidance current.

Supported Coding Agents

For agents that support the Agent Skills specification, including Deep Agents Code, Claude Code, Cursor, and Windsurf, the skills can also be installed without the plugin via npx skills.

Installation

Plugin install (recommended)

The plugin bundles the skills with the official LangChain documentation and API-reference MCP connections. The skills also work when MCP is unavailable.

Claude Code

/plugin marketplace add langchain-ai/langchain-skills
/plugin install langchain-skills@langchain-skills

Or from your shell, in one command (Claude Code v2.1.292 or later):

claude plugin install langchain-skills --marketplace langchain-ai/langchain-skills

Then turn on auto-update (see Updates). If you installed the standalone skills before, remove them first: see Migrate from the standalone skills.

Codex

codex plugin marketplace add langchain-ai/langchain-skills
codex plugin add langchain-skills@langchain-skills

Deep Agents Code

dcode plugin marketplace add langchain-ai/langchain-skills
dcode plugin install langchain-skills@langchain-skills

These commands install from the repository's default branch. To test an unmerged branch, add its local checkout as a Claude Code marketplace source or use Codex's --ref option when adding the marketplace. Deep Agents Code also accepts a local marketplace directory.

Updates

Plugin updates use the same marketplace source as the initial install. After a new release, start a new agent session to load the updated skills.

  • Claude Code: Open /plugin → Marketplaces, select langchain-skills, and choose Enable auto-update. Claude Code leaves auto-update off for third-party marketplaces until you enable it. To turn it on from a script, set autoUpdate on the marketplace entry in ~/.claude/settings.json, which the install command creates:

    "extraKnownMarketplaces": {
      "langchain-skills": {
        "source": { "source": "github", "repo": "langchain-ai/langchain-skills" },
        "autoUpdate": true
      }
    }
    

    For an immediate update, run /plugin marketplace update langchain-skills.

  • Codex local install: Run codex plugin marketplace upgrade langchain-skills to refresh the Git marketplace and its installed plugin. Local Git marketplace installs do not currently have a documented auto-update setting.

  • Managed ChatGPT/Codex workspace: A workspace admin can import this GitHub marketplace from Admin → Plugins. Imported marketplaces sync daily, and admins can select Sync now for an immediate refresh.

  • Deep Agents Code: The plugin opts in to background updates. After an update, run /reload or start a new session. Users can disable background updates in their Deep Agents Code configuration.

Each release that changes a bundled skill or plugin file increases the plugin version. CI checks that the versions in plugin.json, both compatibility manifests, and pyproject.toml agree and that changed plugin content has a new version. A new version on main automatically creates a GitHub release with generated release notes. Skills-only installs follow their own update paths:

  • npx skills: Run npx skills update, then start a new agent session.
  • Cloned checkout, default linked install: Run git pull in the checkout, then start a new agent session. Existing linked skills update immediately; rerun the installer to add newly introduced skills. Keep the checkout at the same path so the installed links remain valid.
  • Cloned checkout, copied install: Run git pull, rerun the installer with --copy --force (or -Force on Windows), then start a new agent session.

Plugin installation registers two documentation MCP servers:

  • langchain-docs — guides and product documentation at https://docs.langchain.com/mcp
  • langchain-reference — API reference at https://reference.langchain.com/mcp

langchain-docs also exposes submit_feedback, which sends feedback to the documentation team; use it only with the user's agreement. The plugin does not register LangSmith Remote MCP. Skills-only installation does not register MCP servers.

LangSmith CLI setup (optional)

The plugin does not install or authenticate the LangSmith CLI. To let a local coding agent query or manage an authorized LangSmith workspace, install the CLI on the same machine using the official CLI guide, then authenticate with langsmith auth login. Choose the intended workspace during authentication. The guide also covers self-hosted instances and profile selection. The CLI is optional when you only need the documentation MCP or work through the SDK.

The user's coding-agent or workspace policy may disable MCP servers. In that case, use official web documentation, installed package source and types, and CLI help to verify implementation details.

Migrate from the standalone skills

Earlier versions of this repository shipped many smaller skills, such as langchain-fundamentals and langgraph-persistence, and langsmith-skills shipped the LangSmith ones. The plugin's four skills replace all of them. Remove the old skills before installing the plugin, so the agent doesn't see two overlapping sets of guidance.

  1. Installed with npx skills: remove every retired skill. Names that aren't installed are skipped. Run it once with --global, and once without it in each project where you installed skills.

    npx skills remove deep-agents-core deep-agents-memory \
      deep-agents-orchestration deepagents-python-quickstart \
      deepagents-typescript-quickstart ecosystem-primer eval-engineering \
      framework-selection langchain-agent-starter-kit langchain-agents \
      langchain-dependencies langchain-fundamentals langchain-middleware \
      langchain-models langchain-output langchain-python-quickstart \
      langchain-rag langchain-typescript-quickstart langgraph-cli langgraph-code \
      langgraph-decision-models langgraph-execution langgraph-fundamentals \
      langgraph-human-in-the-loop langgraph-persistence \
      langgraph-python-quickstart langgraph-typescript-quickstart \
      langsmith-custom-apps langsmith-dataset langsmith-evaluator \
      langsmith-experiment-diagnosis langsmith-graph-evaluator \
      langsmith-online-eval-engineering langsmith-trace managed-deep-agents \
      swarm --global --yes
    
  2. Installed with install.sh or by copying: delete the folders with the names above from the skills directory you installed into, such as ~/.claude/skills/, .claude/skills/, ~/.agents/skills/, or .agents/skills/.

  3. Installed the langsmith-skills Claude Code plugin: run claude plugin marketplace remove langsmith-skills, which also uninstalls its plugin.

  4. Installed this plugin before version 0.2.0: nothing to remove. Run claude plugin update langchain-skills@langchain-skills and turn on auto-update.

Then install the plugin as described in Plugin install.

Skills-only install

Using 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:

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

# Codex
npx skills add langchain-ai/langchain-skills --agent codex --skill '*' --yes --global

# GitHub Copilot (including Copilot in VS Code)
npx skills add langchain-ai/langchain-skills --agent github-copilot --skill '*' --yes --global

# Deep Agents Code
npx skills add langchain-ai/langchain-skills --agent deepagents --skill '*' --yes --global

Codex also supports installing repository-hosted skills with its built-in skill installer; see the official Codex skills documentation.

npx skills installs the skills but does not register MCP servers. Allow web access to official documentation or rely on installed package source, types, and CLI help when working offline.


Install from a cloned checkout

Alternatively, clone the repo and use an installer. On macOS/Linux, it links the skills to the checkout by default. Use --copy when the checkout will not remain on the machine. The installers do not register the documentation MCP servers:

# Install for Claude Code in the current project (default)
./install.sh

# Install for Claude Code in a specific project
./install.sh ~/my-project

# Install for Codex or Cursor
./install.sh --codex ~/my-project
./install.sh --cursor ~/my-project

# Install for Deep Agents Code
./install.sh --dcode ~/my-project

# Install globally
./install.sh --global

On Windows, PowerShell copies skills by default. Use -Link to link them instead; Windows Developer Mode or an elevated shell may be required:

.\install.ps1 -Project C:\path\to\my-project -Agent codex -Yes
.\install.ps1 -Global -Agent dcode -Link -Yes

Deep Agents Code may ask you to trust a linked skill whose checkout is outside the project. Use a copied install for headless sessions that cannot show that prompt.

Flag / ArgumentDescription
DIRECTORYTarget project directory (default: current directory, ignored with --global)
--claudeInstall for Claude Code (default)
--codex, --cursorInstall skills for Codex or Cursor
--dcodeInstall for the default Deep Agents Code agent
--global, -gInstall globally instead of current directory
--copyCopy skills instead of linking to the checkout
--force, -fOverwrite skills with same names as this package
--yes, -ySkip confirmation prompts

Usage

Plugin installation and public documentation access do not require model-provider API keys. To run an application you build, configure credentials for the model provider that application uses. LangSmith workspace actions require access to the intended workspace through an authenticated CLI profile or SDK configuration. Use the documentation MCPs for general product questions, the LangSmith CLI for supported workspace queries and resource operations, and the SDK for application tracing and evaluation runs.

Run your coding agent from the directory where you installed the skills (for local installs), or from anywhere (for global installs).

For the current inventory, browse the skills directory or list the skills in your agent. Remove superseded skill folders from older installations so the agent does not keep loading outdated guidance.