Official agent skill

Langgraph Docs

by langchain-ai in langchain-ai/docs

Fetches and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and implement human-in-the-loop patterns.

OfficialMITAuto-check passedAI & LLM Engineering

Install Langgraph Docs

skills CLI
$ npx skills add langchain-ai/docs --skill langgraph-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install langchain-ai/docs langgraph-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/code-samples/deepagents/skills/langgraph-docs .claude/skills/langgraph-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
langgraph-docs
GitHub stars
425
Token cost
~282 tokens
SKILL.md length
93 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

Fetches and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and implement human-in-the-loop patterns.

  • Works in 3 steps: Fetch the Documentation Index → Select Relevant Documentation → Fetch and Apply
  • The user asks about LangGraph
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Agent orchestration

What it does

Langgraph Docs is an agent skill from langchain-ai/docs, published by the product's own GitHub organization. Fetches and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and implement human-in-the-loop patterns. Use when the user asks about LangGraph, graph agents, state machines, agent orchestration, LangGraph API, or needs LangGraph implementation guidance.

Its SKILL.md is about 280 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Building AI agents and Multi-agent orchestration. It works with LangGraph and Python. The repository describes itself as: Unified LangChain documentation. The licence is MIT.

When your agent uses it

  • The user asks about LangGraph
  • Agent orchestration
  • Needs LangGraph implementation guidance

Example prompts

  • “Use the langgraph-docs skill to fetch and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and…”
  • “/langgraph-docs”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Fetch the Documentation Index
  2. Select Relevant Documentation
  3. Fetch and Apply

What it can do on your machine

Read from SKILL.md and the folder at commit dcfc8b4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.langchain.com
    • langchain-ai.github.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Langgraph Docs loads about 282 tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 93 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~282

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from langchain-ai/docs at commit dcfc8b4, republished under its MIT licence (© langchain-ai). 93 words, ~282 tokens.

Download SKILL.mdSave it as .claude/skills/langgraph-docs/SKILL.md (or your agent's skills folder).
name
langgraph-docs
description
Fetches and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and implement human-in-the-loop patterns. Use when the user asks about LangGraph, graph agents, state machines, agent orchestration, LangGraph API, or needs LangGraph implementation guidance.

langgraph-docs

Workflow

1. Fetch the Documentation Index

Use fetch_url to read: https://docs.langchain.com/llms.txt

This returns a structured list of all available documentation with descriptions.

2. Select Relevant Documentation

Identify 2-4 most relevant URLs from the index. Prioritize:

  • Implementation questions: specific how-to guides
  • Conceptual questions: core concept pages
  • End-to-end examples: tutorials
  • API details: reference docs
3. Fetch and Apply

Use fetch_url on the selected URLs, then complete the user's request using the documentation content.

If fetch_url fails or returns empty content, retry once. If it fails again, inform the user and suggest checking https://langchain-ai.github.io/langgraph/ directly.

© langchain-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in src/code-samples/deepagents/skills/langgraph-docs of langchain-ai/docs.

Open the folder on GitHubat commit dcfc8b4

Compare with similar skills

Langgraph Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Langgraph Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Langgraph Docs this skilllangchain-ai/docs425—~282Automated safety check: PassMIT
Swarms Multi-Agent Frameworkkyegomez/swarms7.2k—~5.5kAutomated safety check: PassApache-2.0
Agent Squad Python Guide2FastLabs/agent-squad7.8k—~4.7kAutomated safety check: PassApache-2.0
Add Example AgentGetBindu/Bindu10k—~1.1kAutomated safety check: NotesCustom licence
Cloudbase Agent PythonTencentCloudBase/CloudBase-AI-Toolkit1.1k2 repos~2.9kAutomated safety check: NotesMIT
Langgraph Human In The Looplangchain-ai/langchain-skills1.3k2 repos~4.1kAutomated safety check: PassMIT

Similar skills

  • Teaches the Swarms Python framework: the Agent class, tools, loops, memory and multi-agent structures such as sequential, concurrent and graph workflows.

    7.2k GitHub stars~5.5k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Agent Squad Python Guide

    2FastLabs/agent-squad

    Map of the agent-squad Python framework for async multi-agent orchestration: which agent, classifier, storage and tool provider to pick, and the pitfalls to avoid.

    7.8k GitHub stars~4.7k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Add Example Agent

    GetBindu/Bindu

    Add a new self-contained example agent under examples/. An agent skill from GetBindu/Bindu.

    10k GitHub stars~1.1k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check: notes
  • Cloudbase Agent Python

    TencentCloudBase/CloudBase-AI-Toolkit

    Build production-ready AI agent backends using the CloudBase Agent Python SDK — create agents with LangGraph/CrewAI/LlamaIndex, serve them via FastAPI with AG-UI protocol streaming +…

    1.1k GitHub starsUsed in 2 repos~2.9k tokens
    AI & LLM EngineeringAuto-check: notes
  • Langgraph Human In The Loop

    langchain-ai/langchain-skills

    Official

    INVOKE THIS SKILL when implementing human-in-the-loop patterns, pausing for approval, or handling errors in LangGraph.

    1.3k GitHub starsUsed in 2 repos~4.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Deep Agents Core

    langchain-ai/langchain-skills

    Official

    Explains how to build agents with the Deep Agents framework: create_deep_agent, the built-in middleware, the harness, SKILL.md format and configuration options.

    1.3k GitHub starsUsed in 1 repo~3.1k tokens
    AI & LLM EngineeringAuto-check passed

More from langchain-ai/docs

All 17 skills in this repo
  • Add Docs Page

    langchain-ai/docs

    Official

    Add, move, rename, or delete a page on the LangChain docs site.

    425 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Deep Agents

    langchain-ai/docs

    Official

    Build batteries-included agents with planning, context management, subagent delegation, and sandboxed execution.

    425 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Docs Code Samples

    langchain-ai/docs

    Official

    A skill your agent uses when migrating inline code samples from LangChain docs (MDX files) into external, testable code files that are extracted by this repo’s snippet scripts and used as Mintlify…

    425 GitHub stars~4.6k tokensUpdated today
    Auto-check passed
  • Docs Edit

    langchain-ai/docs

    Official

    Edit a docs page that already has an open pull request, or revise a page in place.

    425 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Docs Restructure

    langchain-ai/docs

    Official

    Restructure documentation that spans several pages. An agent skill from langchain-ai/docs.

    425 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Docs Team Voice

    langchain-ai/docs

    Official

    Write or revise documentation prose so it reads like the rest of this site, in the docs team's shared voice.

    425 GitHub stars~1.5k tokensUpdated today
    Auto-check passed

Works with

Questions about Langgraph Docs

What does Langgraph Docs do?

Fetches and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and implement human-in-the-loop patterns. Langgraph Docs is an agent skill from langchain-ai/docs, published by the product's own GitHub organization. Fetches and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and implement human-in-the-loop patterns.

When should I use Langgraph Docs?

Langgraph Docs fits situations like: the user asks about LangGraph; agent orchestration; needs LangGraph implementation guidance.

How do I install Langgraph Docs in Claude Code?

Run `npx skills add langchain-ai/docs --skill langgraph-docs -a claude-code`. Or copy the skill folder (src/code-samples/deepagents/skills/langgraph-docs in langchain-ai/docs) into .claude/skills/langgraph-docs in your project. Claude Code loads it when a task matches its description.

How do I install Langgraph Docs in Codex?

Run `npx skills add langchain-ai/docs --skill langgraph-docs -a codex`. Or copy the skill folder (src/code-samples/deepagents/skills/langgraph-docs in langchain-ai/docs) into .agents/skills/langgraph-docs in your project. Codex loads it when a task matches its description.

Can I use Langgraph Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add langchain-ai/docs --skill langgraph-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/langgraph-docs, .gemini/skills/langgraph-docs, .github/skills/langgraph-docs and .opencode/skills/langgraph-docs in your project.

What does Langgraph Docs need to run?

SKILL.md names no scripts, command-line tools or credentials: Langgraph Docs is instructions for the agent only. Our summary lists: Python 3.

Does Langgraph Docs access the network?

SKILL.md names 2 domains. As links in the text: docs.langchain.com and langchain-ai.github.io. This is read from the text; nothing was executed.

Is Langgraph Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Langgraph Docs use?

Langgraph Docs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Langgraph Docs use?

About 282 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Langgraph Docs?

Skills that share tags, products or a category with Langgraph Docs: Swarms Multi-Agent Framework (kyegomez/swarms, 7.2k stars), Agent Squad Python Guide (2FastLabs/agent-squad, 7.8k stars), Add Example Agent (GetBindu/Bindu, 10k stars) and Cloudbase Agent Python (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Langgraph Docs?

langchain-ai (a GitHub organization, an official publisher) maintains it in langchain-ai/docs, which has 425 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 8, 2026.

Source: langchain-ai/docs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.