sameeh07/agent-skills/langgraph
Claude Code and agent skill by sameeh07/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
LangGraph skill for building stateful agent graphs, subgraphs, checkpoints, conditional flows, parallel execution, streaming, and multi-agent orchestration.
Install
npx vskill@latest install sameeh07/agent-skills/langgraphSKILL.md
The same SKILL.md was published earlier as sameeh07/agent-skills/langgraph.
LangGraph - Skill
Purpose
This skill explains core patterns for building directed graph based AI workflows with LangGraph in Python. Use it for agent orchestration, stateful pipelines, subgraph composition, RAG plus node processing, and checkpointed experiments.
When an AI assistant should apply this skill
- When editing files that import langgraph or create StateGraph objects
- When authoring node functions that use LLMs or tools
- When adding checkpoints, persistence, or streaming to agent runs
- When composing subgraphs or multi-agent flows
Quick start
- Model the workflow state with a TypedDict. 2. Write small pure node functions that accept and return partial state. 3. Use START as entry. 4. Compile the builder to get a runnable graph. 5. Add a checkpointer for persistence and safe experimentation.
Core concepts and cheat sheet
- StateGraph
- The builder models nodes and edges over a typed state. Compile the builder into a runnable.
- Node functions
- Node functions receive the current state and return updates. Keep them small and testable.
- Edges and routing
- add_edge for deterministic flows. add_conditional_edges or routing functions for branching.
- Returning multiple node names fans out and runs downstream nodes in parallel on the next superstep.
- Checkpointing
- Attach a checkpointer during compile to persist intermediate states. Use checkpointers to resume, diff, and fork runs.
- Subgraphs
- Compose graphs by calling subgraphs from nodes or by attaching compiled subgraphs as nodes.
- Agents as nodes
- A node can call an LLM to make decisions. Combine LangChain LLMs inside node functions to implement agent logic.
- Streaming and debugging
- Use graph.stream to receive partial outputs as nodes finish. Enable tracing or export runs to your monitoring backend.
Examples
1) Minimal state graph
2) Conditional loop with checkpoint
3) Subgraph composition
4) Agent node with LangChain LLM decision
5) Streaming execution and monitoring
Patterns and best practices
- Keep node functions small and deterministic. If you need heavy LLM logic, isolate it and parse structured outputs.
- Use checkpointers to experiment safely. Take a checkpoint when a stable milestone is reached.
- Use subgraphs to separate concerns and enable reuse.
- For multi-agent flows, model each agent as a node or subgraph and use edges as communication channels.
- Use the stream API during development for fast feedback.
Debugging tips
- Run graphs locally with MemorySaver checkpointer and inspect get_state to see intermediate state.
- Use logging inside node functions and callbacks to trace execution.
- When agent nodes call LLMs, record the prompt and model config in your telemetry to reproduce decisions.
Folder structure suggestion
.github/skills/ langchain/SKILL.md langgraph/SKILL.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/LangGraph/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sameeh07/agent-skills/langgraph)