Agent skill · LangChain
LangGraph Fundamentals skill for Claude Code, Codex and Cursor
Officialname: langgraph-fundamentals★ 1.3k (repo)pushed 2026-10-21MITSKILL.md on GitHubchecked 2026-11-07
What it does, in the publisher's words
INVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.
The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.
Install LangGraph Fundamentals
The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs
npx skills add langchain-ai/langchain-skills --skill langgraph-fundamentals
This repo is a plugin marketplace. Inside Claude Code, add it and install the plugin that holds the skill (langchain-skills), or copy only this skill into ~/.claude/skills. docs
/plugin marketplace add langchain-ai/langchain-skills /plugin install <plugin>@langchain-skills # or only this skill: npx skills add langchain-ai/langchain-skills --skill langgraph-fundamentals -a claude-code
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/langchain-ai/langchain-skills.git /tmp/langgraph-fundamentals-src cp -r /tmp/langgraph-fundamentals-src/config/skills/langgraph-fundamentals ./langgraph-fundamentals zip -r langgraph-fundamentals.zip langgraph-fundamentals
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add langchain-ai/langchain-skills --skill langgraph-fundamentals -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install langchain-ai/langchain-skills langgraph-fundamentals
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add langchain-ai/langchain-skills --skill langgraph-fundamentals -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/langchain-ai/langchain-skills.git --path config/skills/langgraph-fundamentals
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add langchain-ai/langchain-skills --skill langgraph-fundamentals -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add langchain-ai/langchain-skills --skill langgraph-fundamentals -a windsurf
Works with
Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.
What's in the SKILL.md
- Designing a LangGraph application
- State Management
- Nodes
- Edges
- Command
- Send API
- Running Graphs: Invoke and Stream
- Error Handling
- Core boundaries
- Implementation references
Bundled files
- references/python.md
- references/typescript.md
Loaded only when the instructions point to them.
Facts
- Skill name
- langgraph-fundamentals
- Publisher
- LangChain (official)
- Repo
- langchain-ai/langchain-skills
- License
- MIT
- SKILL.md size
- 787 words, 160 lines
- Bundled files
- 2, 2 docs
- Repo stars
- 1.3k (as of 2026-10-24)
- SKILL.md checked
- 2026-11-07
Pairs with the LangChain MCP server: the server gives the agent the tools, the skill teaches it how to use them.
More skills from langchain-ai/langchain-skills
- Deep Agents: Builds agents with LangChain's Deep Agents harness and its configuration options.
Related ai & ml skills
- Claude API · Anthropic
- ChatGPT Apps · OpenAI
- OpenAI Docs · OpenAI
- Hugging Face CLI · Hugging Face
- Gradio · Hugging Face
- Hugging Face LLM Trainer · Hugging Face
- Transformers.js · Hugging Face
- Gemini API · Google (Gemini)
FAQ
What does the langgraph-fundamentals skill do?+
Core LangGraph concepts for agent graphs: state, nodes, edges, streaming, error handling. In its own SKILL.md, LangChain describes it as: "INVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling."
How do I install the langgraph-fundamentals skill?+
Run npx skills add langchain-ai/langchain-skills --skill langgraph-fundamentals and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/langgraph-fundamentals/SKILL.md; in Codex and Cursor in .agents/skills/langgraph-fundamentals/.
Does LangGraph Fundamentals work in Codex, Cursor and Copilot, or only Claude?+
It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.
Who maintains LangGraph Fundamentals?+
LangChain, the company or project behind it, in the langchain-ai/langchain-skills repo on GitHub, last pushed 2026-10-21. License: MIT.
Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers