langgraph

langgraph is a skill for Claude Code from ArieGoldkin/claude-forge. It costs 96 tokens per session (1,194 once invoked), scanned A, original, MIT.

A guide to LangGraph, a framework for building language-model workflows as connected steps that can keep state, branch, run tasks in parallel, and pause for people. It includes patterns for saved checkpoints and supervisor agents.

In plain words
What is it for?
Use it to build multi-step workflows, route requests conditionally, coordinate parallel tasks, add human approval, save progress, and manage multiple agents.
Why use it?
It helps organize AI processes that are too involved for one model request, especially when they need decisions, approvals, retries, or recovery after a failure.

Skill for Claude Code

Written for Claude Code: paths in frontmatter.

Part of the atk plugin — 16 skills, 25 commands, 1 agent, 1 hook shipped together

Good fit Use it to build multi-step workflows, route requests conditionally, coordinate parallel tasks, add human approval, save progress, and manage multiple agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariegoldkin/claude-forge/langgraph
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.

Any agent
npx skills add ArieGoldkin/claude-forge --skill langgraph
Clone the repo
git clone --depth 1 https://github.com/ArieGoldkin/claude-forge

Made for: Claude Code.

Or install atk, the plugin that ships this one along with the rest of its 16 skills, 25 commands, 1 agent, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for langgraph

README.md
[![agentmods](https://agentmods.dev/badge/skills/ariegoldkin/claude-forge/langgraph/github.svg)](https://agentmods.dev/skills/ariegoldkin/claude-forge/langgraph)
Your own site
<a href="https://agentmods.dev/skills/ariegoldkin/claude-forge/langgraph"><img src="https://agentmods.dev/badge/skills/ariegoldkin/claude-forge/langgraph/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for langgraph

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariegoldkin/claude-forge/langgraph"><img src="https://agentmods.dev/badge/skills/ariegoldkin/claude-forge/langgraph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,194 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00096 $0.01194
Opus 5.5 $0.00038 $0.00478
Sonnet 5.5 $0.00019 $0.00239
Haiku 4.5 $0.00010 $0.00119

Measured 1mo ago against content hash c6082fbc3c4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

langgraph 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 1mo 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.

plugins/ai-toolkit/skills/langgraph/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LangGraph Patterns

LangGraph is a framework for building stateful, multi-step workflows with LLMs. It models workflows as directed graphs where nodes are functions and edges define control flow. Use it when you need conditional routing, parallel execution, human approval gates, or persistent state across workflow steps.

Quick Reference

Pattern Description Reference
State Management TypedDict/Pydantic schemas, reducers, MessagesState references/state-management.md
Conditional Routing Branching, retry loops, quality gates, END fallbacks references/routing.md
Parallel Execution Fan-out/fan-in, Send API, map-reduce, error isolation references/parallel-execution.md
Human-in-the-Loop Interrupt points, approval gates, feedback loops, API integration references/human-in-loop.md
Checkpoints MemorySaver, PostgresSaver, Store, crash recovery, debugging references/checkpoints.md
Supervisor Coordinator agents, round-robin/priority dispatch, LLM-based routing references/supervisor.md

Pattern Summaries

State Management

Design workflow state with TypedDict (lightweight, internal) or Pydantic (validated, boundaries). Use Annotated[list, add] for accumulating results across nodes and MessagesState for chat workflows. See references/state-management.md.

Conditional Routing

Route execution dynamically with add_conditional_edges. Patterns include quality gates (pass/fail/retry), retry loops with max attempts, and state-based routers. Always include an END fallback. See references/routing.md.

Read the full file on GitHub · 98 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 98 lines · 96 tokens per session scan A c6082fbc3c4f

Subscribe to this mod's changes

langgraph is a skill published in the GitHub repository ArieGoldkin/claude-forge (7 stars, last pushed 2mo ago), licensed MIT. It adds 96 tokens to every session and 1,194 once invoked, about $0.0004 per session on Opus 5.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-31.

Related

Other skills, from other repositories

langchain

Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering systems, autonomous agents, or RAG…

davila7/claude-code-templates · 79 tokens

llamaindex

Data framework for building LLM applications with RAG. Specializes in document ingestion (300+ connectors), indexing, and querying. Features vector indices, query engines, agents, and multi-modal support. Use for document Q&A, chatbots, knowledge retrieval, or building RAG pipelines. Best for data-centric LLM…

davila7/claude-code-templates · 70 tokens

sglang

Fast structured generation and serving for LLMs with RadixAttention prefix caching. Use for JSON/regex outputs, constrained decoding, agentic workflows with tool calls, or when you need 5× faster inference than vLLM with prefix sharing. Powers 300,000+ GPUs at xAI, AMD, NVIDIA, and LinkedIn.

davila7/claude-code-templates · 72 tokens

dataset-transformation

Generates code that transforms datasets between ML schemas for model training or evaluation. Use when the user says "transform", "convert", "reformat", "change the format", or when a dataset's schema needs to change to match the target format — always use this skill for format changes rather than writing inline…

awslabs/agent-plugins · 110 tokens

dataset-evaluation

Validates dataset formatting and quality for SageMaker model fine-tuning (SFT, DPO, or RLVR). Use when the user says "is my dataset okay", "evaluate my data", "check my training data", "I have my own data", or before starting any fine-tuning job. Detects file format, checks schema compliance against the selected model…

awslabs/agent-plugins · 93 tokens

model-selection

Selects a base model for the user's use case by querying SageMaker Hub. Use when the user asks which model to use, wants to select or change their base model, mentions a model name or family (e.g., "Llama", "Mistral", "Nova"), or wants to evaluate a base model — always activate even for known model names because the…

awslabs/agent-plugins · 98 tokens