langgraph-workflows

langgraph-workflows is a skill for Claude Code from latestaiagents/agent-skills. It costs 73 tokens per session (2,265 once invoked), scanned A, original, MIT.

A toolkit for building agent workflows as state machines: sequences of steps where each step can update shared information and choose what happens next. LangGraph is a framework for building multi-step applications with these workflows.

In plain words
What is it for?
Use it to create agent graphs, state machines, and multi-step workflows with nodes, conditional paths, saved progress, or human review.
Why use it?
It gives complex agent tasks an explicit structure, including pauses for human approval, streamed output, failure recovery, and execution tracing.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-architect plugin — 13 skills, 1 command, 5 MCP servers shipped together

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/latestaiagents/agent-skills/langgraph-workflows
Any agent
npx skills add latestaiagents/agent-skills --skill langgraph-workflows
Clone the repo
git clone --depth 1 https://github.com/latestaiagents/agent-skills

Made for: Claude Code.

Or install agent-architect, the plugin that ships this one along with the rest of its 13 skills, 1 command, 5 MCP servers.

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-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/latestaiagents/agent-skills/langgraph-workflows.svg)](https://agentmods.dev/skills/latestaiagents/agent-skills/langgraph-workflows)
Your own site
<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/langgraph-workflows"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/langgraph-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,265 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.1 $0.00073 $0.02265
Opus 5 $0.00036 $0.01132
Sonnet 5 $0.00015 $0.00453
Haiku 4.5 $0.00007 $0.00227

Measured 6d ago against content hash 45d1b1a1a683, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

langgraph-workflows 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 6d 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/agent-architect/skills/langgraph/langgraph-workflows/SKILL.md · 352 lines

How it starts

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

LangGraph Workflows (1.0)

Build production-ready agent workflows with LangGraph's state machine architecture.

LangGraph 1.0 Overview

LangGraph is the standard for building stateful, multi-step agent applications:

  • Durable execution: Survive failures and restarts
  • Human-in-the-loop: Pause for approval, resume later
  • Streaming: First-class support for token streaming
  • Debugging: Full execution traces and replay

Core Concepts

┌─────────────────────────────────────────────────────────────┐
│                        StateGraph                            │
│                                                              │
│   ┌─────────┐    ┌─────────┐    ┌─────────┐                │
│   │  Node   │───▶│  Node   │───▶│  Node   │                │
│   └─────────┘    └─────────┘    └─────────┘                │
│       │              │              │                       │
│       │         Conditional         │                       │
│       │           Edge              │                       │
│       │              │              │                       │
│       │              ▼              │                       │
│       │         ┌─────────┐        │                       │
│       └────────▶│  Node   │◀───────┘                       │
│                 └─────────┘                                 │
│                                                              │
│   State flows through nodes, edges control routing          │
└─────────────────────────────────────────────────────────────┘

Pattern 1: Basic State Graph

from langgraph.graph import StateGraph, END
from typing import TypedDict, Annotated
import operator

# Define state schema
class AgentState(TypedDict):
    messages: Annotated[list, operator.add]  # Append messages
    current_step: str
    result: str

# Define nodes (functions that transform state)
def process_input(state: AgentState) -> dict:
    """First node: process user input."""
    user_message = state["messages"][-1]
    return {
        "current_step": "processed",
        "messages": [{"role": "system", "content": f"Processing: {user_message}"}]
    }

def generate_response(state: AgentState) -> dict:
    """Second node: generate response."""
    # Call LLM here
    response = llm.invoke(state["messages"])
    return {
        "result": response.content,
        "messages": [{"role": "assistant", "content": response.content}]
    }

# Build graph
workflow = StateGraph(AgentState)

# Add nodes
workflow.add_node("process", process_input)
workflow.add_node("generate", generate_response)

# Add edges
workflow.set_entry_point("process")
workflow.add_edge("process", "generate")
workflow.add_edge("generate", END)

# Compile
app = workflow.compile()

# Run
result = app.invoke({
    "messages": [{"role": "user", "content": "Hello!"}],
    "current_step": "",
    "result": ""
})

Read the full file on GitHub · 352 lines

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. 6d ago First seen · 352 lines · 73 tokens per session scan A 45d1b1a1a683

Subscribe to this mod's changes

langgraph-workflows is a skill published in the GitHub repository latestaiagents/agent-skills (5 stars, last pushed 4mo ago), licensed MIT. It adds 73 tokens to every session and 2,265 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

fw-review

Full Freshworks marketplace app review — iparams, frontend, serverless, FDK, security, and structured text report output — in one skill.

freshworks-developers/fw-dev-tools · 34 tokens

ai-account-research-sales-card

销售增长助手适合销售、市场营销、运营、产品在用户提出“客户为什么不推进”这类问题,需要快速拆解目标、判断重点并形成可执行结果时使用,帮助基于输入材料生成摘要、诊断结论、行动建议和可复用交付物。.

skillsaiagent/aiskills · 71 tokens

ai-account-research

客户研究助手适合市场营销、运营、software、教育培训在用户提出“这个客户怎么切入”这类问题,需要快速拆解目标、判断重点并形成可执行结果时使用,帮助基于输入材料生成销售策略、沟通素材、跟进计划。.

skillsaiagent/aiskills · 65 tokens

ai-amazon-brand-analytics

Skill "ai-amazon-brand-analytics" from skillsaiagent/aiskills, covering ai-amazon-brand-analytics amazon 品牌分析助手, 概述, 什么时候使用, 调用方式 and 命令示例.

skillsaiagent/aiskills · 72 tokens

ai-amazon-international-listings

Amazon 本地化助手适合运营、产品、销售、software在用户提出“海外 Listing 说对了吗”这类问题,需要快速拆解目标、判断重点并形成可执行结果时使用,帮助基于输入材料生成商品/店铺诊断、卖点与风险提示、运营动作建议。.

skillsaiagent/aiskills · 75 tokens

ai-amazon-rank-tracker

Skill "ai-amazon-rank-tracker" from skillsaiagent/aiskills, covering ai-amazon-rank-tracker amazon 排名追踪助手, 概述, 什么时候使用, 调用方式 and 命令示例.

skillsaiagent/aiskills · 73 tokens