Agent skill · Workflow & Productivity

mastering-langgraph

Build stateful AI agents and agentic workflows with LangGraph in Python. Covers tool-using agents with LLM-tool loops, branching workflows, conversation memory, human-in-the-loop oversight, and production monitoring. Use when - (1) building agents that use tools and loop until task complete, (2) creating multi-step workflows with conditional branches, (3) adding persistence/memory across turns with checkpointers, (4) implementing human approval with interrupt(), (5) debugging via time-travel or LangSmith. Covers StateGraph, nodes, edges, add_conditional_edges, MessagesState, thread_id, Command

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill langgraph-agent-skill --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/agent/langgraph-agent-skill/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LangGraph Development Guide Build stateful AI agents and workflows by defining graphs of nodes (steps) connected by edges (transitions). ## Contents - [Quick Start](#quick-start) - [Common Build Scenarios](#common-build-scenarios) - [Core Principles](#core-principles) - [Development Workflow](#development-workflow) - [Common Pitfalls](#common-pitfalls) - [Environment Setup](#environment-setup) - [Quick Verification](#quick-verification) - [API Essentials](#api-essentials) - [Next Steps](#next-steps) ## Quick Start Minimal chatbot with memory: ```python from langgraph.graph import StateGraph, START, END from langgraph.checkpoint.memory import InMemorySaver from langchain_openai import ChatOpenAI from langchain_core.messages import HumanMessage, AnyMessage from typing_extensions import TypedDict, Annotated import operator # 1. Define state class State(TypedDict): messages: Annotated[list[AnyMessage], operator.add] # Append mode # 2. Define node llm = ChatOpenAI(model="gpt-4") def chat(state: State) -> dict: response = llm.invoke(state["messages"]) return {"messages": [response]} # 3. Build graph graph = StateGraph(State) graph.add_node("chat", chat) graph.add_edge(START, "chat") gr

What's inside
Steps it walks through
  1. Contents
  2. Quick Start
  3. Common Build Scenarios
  4. Simple Chatbot / Q&A
  5. Tool-Using Agent
  6. Structured Workflow
  7. Agent with Long-Term Memory
  8. Human-in-the-Loop
  9. Debugging / Production Monitoring
  10. Multi-Agent Systems
  11. Production Deployment
  12. New to LangGraph?
  13. Core Principles
  14. 1. Keep State Raw
Ships with 1 file
  • metadata.json
Commands it runs
Core
pip install -U langgraph
LLM providers (pick one or more)
pip install langchain-openai
pip install langchain-anthropic
Production persistence
pip install langgraph-checkpoint-postgres
Observability
pip install langsmith
export OPENAI_API_KEY="sk-..."
More from claude-skill-registry
All skills →
About this skill
What does the mastering-langgraph skill do?

Build stateful AI agents and agentic workflows with LangGraph in Python. Covers tool-using agents with LLM-tool loops, branching workflows, conversation memory, human-in-the-loop oversight, and production monitoring. Use when - (1) building agents that use tools and loop until task complete, (2) creating multi-step workflows with conditional branches, (3) adding persistence/memory across turns with checkpointers, (4) implementing human approval with interrupt(), (5) debugging via time-travel or LangSmith. Covers StateGraph, nodes, edges, add_conditional_edges, MessagesState, thread_id, Command

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill langgraph-agent-skill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going