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 agentmods add skills/latestaiagents/agent-skills/langgraph-workflowsnpx 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.svg" alt="Measured on agentmods" 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.02265 |
| Opus 5 | $0.00036 | $0.01132 |
| Sonnet 5 | $0.00015 | $0.00453 |
| Haiku 4.5 | $0.00007 | $0.00227 |
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.
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": ""
})
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.
- 6d 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 (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.
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.
ai-account-research-sales-card
销售增长助手适合销售、市场营销、运营、产品在用户提出“客户为什么不推进”这类问题,需要快速拆解目标、判断重点并形成可执行结果时使用,帮助基于输入材料生成摘要、诊断结论、行动建议和可复用交付物。.
ai-account-research
客户研究助手适合市场营销、运营、software、教育培训在用户提出“这个客户怎么切入”这类问题,需要快速拆解目标、判断重点并形成可执行结果时使用,帮助基于输入材料生成销售策略、沟通素材、跟进计划。.
ai-amazon-brand-analytics
Skill "ai-amazon-brand-analytics" from skillsaiagent/aiskills, covering ai-amazon-brand-analytics amazon 品牌分析助手, 概述, 什么时候使用, 调用方式 and 命令示例.
ai-amazon-international-listings
Amazon 本地化助手适合运营、产品、销售、software在用户提出“海外 Listing 说对了吗”这类问题,需要快速拆解目标、判断重点并形成可执行结果时使用,帮助基于输入材料生成商品/店铺诊断、卖点与风险提示、运营动作建议。.
ai-amazon-rank-tracker
Skill "ai-amazon-rank-tracker" from skillsaiagent/aiskills, covering ai-amazon-rank-tracker amazon 排名追踪助手, 概述, 什么时候使用, 调用方式 and 命令示例.