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.
npx skills add latestaiagents/agent-skills --skill langgraph-workflowsgit clone --depth 1 https://github.com/latestaiagents/agent-skillsWrote 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.
[](https://agentmods.dev/skills/latestaiagents/agent-skills/langgraph-workflows)<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/langgraph-workflows"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/langgraph-workflows/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.
<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="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00073 | $0.02331 |
| Opus 5.5 | $0.00029 | $0.00932 |
| Sonnet 5.5 | $0.00015 | $0.00466 |
| Haiku 4.5 | $0.00007 | $0.00233 |
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 28d 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.
How it starts
The opening of the file, as written. The whole thing — 354 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
Model IDs:
CHAT_MODELin these examples is a placeholder. Set it to a current chat model ID from your provider's models page (for exampleCHAT_MODEL = os.environ["CHAT_MODEL"]); model IDs are retired over time.
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": ""
})
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.
- 28d ago Changed · +2 lines 8286ceb079a2
- 3mo ago First seen · 352 lines · 73 tokens per session scan A 45d1b1a1a683
langgraph-workflows is a skill published in the GitHub repository latestaiagents/agent-skills (6 stars, last pushed 28d ago), licensed MIT. It adds 73 tokens to every session and 2,331 once invoked, about $0.0003 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.
langgraph-workflows compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| langgraph-workflowslatestaiagents/agent-skills | Skill | 6 | 28d ago | MIT | A | 73 | Claude Code |
| nexent-daily-testModelEngine-Group/nexent | Skill | 6.3k | today | MIT | A | 78 | Claude Code, Codex |
| ai-baoyu-article-illustratorskillsaiagent/aiskills | Skill | 5 | 5mo ago | none | A | 76 | Codex |
| ai-baoyu-image-genskillsaiagent/aiskills | Skill | 5 | 5mo ago | none | A | 76 | Codex |
| ai-competitor-alternative-analysisskillsaiagent/aiskills | Skill | 5 | 5mo ago | none | A | 75 | Codex |
| ai-critiqueskillsaiagent/aiskills | Skill | 5 | 5mo ago | none | A | 71 | Codex |
| ai-design-taste-frontendskillsaiagent/aiskills | Skill | 5 | 5mo ago | none | A | 80 | Codex |