langgraph-docs

A documentation lookup skill for LangGraph, a Python framework for building agents and workflows whose steps can keep state and involve multiple agents or people.

In plain words
What is it for?
Use it when building stateful agents, graph-based workflows, multi-agent systems, state machines, or human-review steps with LangGraph.
Why use it?
It helps you base LangGraph implementation advice on the relevant official documentation instead of guessing about the API.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/langchain-ai/deepagents/langgraph-docs
Any agent
npx skills add langchain-ai/deepagents --skill langgraph-docs
Clone the repo
git clone --depth 1 https://github.com/langchain-ai/deepagents

Made for: Claude Code, Codex.

Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 246 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00062 $0.00246
Opus 5 $0.00031 $0.00123
Sonnet 5 $0.00012 $0.00049
Haiku 4.5 $0.00006 $0.00025

Measured 3d ago against content hash 7c120c1b4031, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

langgraph-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

libs/code/examples/skills/langgraph-docs/SKILL.md · 29 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 29 lines · 62 tokens per session scan A 7c120c1b4031

Subscribe to this mod's changes

langgraph-docs is a skill published in the GitHub repository langchain-ai/deepagents (28,825 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 246 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.