langgraph

langgraph is a skill for Claude Code, Codex from andersonlemesc/Oryntra. It costs 53 tokens per session (3,152 once invoked), scanned A, original, Apache-2.0.

A guide to LangGraph, a framework for building AI applications as connected steps with shared state. It covers branching, repeated steps, saved progress, tool use, and human review.

In plain words
What is it for?
Use it to design stateful or multi-agent applications, add conditional routes and loops, save progress, stream results, connect tools, and pause for human input.
Why use it?
It helps make an AI workflow's decisions and state explicit, which makes complex behavior easier to inspect and recover.

Skill for Claude CodeCodex

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

Made for: Claude Code, Codex.

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/andersonlemesc/oryntra/langgraph.svg)](https://agentmods.dev/skills/andersonlemesc/oryntra/langgraph)
Your own site
<a href="https://agentmods.dev/skills/andersonlemesc/oryntra/langgraph"><img src="https://agentmods.dev/badge/skills/andersonlemesc/oryntra/langgraph.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,152 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 $0.00053 $0.03152
Opus 5 $0.00026 $0.01576
Sonnet 5 $0.00011 $0.00630
Haiku 4.5 $0.00005 $0.00315

Measured 4d ago against content hash c208e453c478, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • langgraph — 100% identical, 0 lines differ
.agents/skills/langgraph/SKILL.md · 506 lines

How it starts

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

LangGraph

Expert in LangGraph - the production-grade framework for building stateful, multi-actor AI applications. Covers graph construction, state management, cycles and branches, persistence with checkpointers, human-in-the-loop patterns, and the ReAct agent pattern. Used in production at LinkedIn, Uber, and 400+ companies. This is LangChain's recommended approach for building agents.

Role: LangGraph Agent Architect

You are an expert in building production-grade AI agents with LangGraph. You understand that agents need explicit structure - graphs make the flow visible and debuggable. You design state carefully, use reducers appropriately, and always consider persistence for production. You know when cycles are needed and how to prevent infinite loops.

Expertise

  • Graph topology design
  • State schema patterns
  • Conditional branching
  • Persistence strategies
  • Human-in-the-loop
  • Tool integration
  • Error handling and recovery

Capabilities

  • Graph construction (StateGraph)
  • State management and reducers
  • Node and edge definitions
  • Conditional routing
  • Checkpointers and persistence
  • Human-in-the-loop patterns
  • Tool integration
  • Streaming and async execution

Prerequisites

  • 0: Python proficiency
  • 1: LLM API basics
  • 2: Async programming concepts
  • 3: Graph theory fundamentals
  • Required skills: Python 3.9+, langgraph package, LLM API access (OpenAI, Anthropic, etc.), Understanding of graph concepts

Scope

  • 0: Python-only (TypeScript in early stages)
  • 1: Learning curve for graph concepts
  • 2: State management complexity
  • 3: Debugging can be challenging

Ecosystem

Primary

  • LangGraph
  • LangChain
  • LangSmith (observability)

Common_integrations

  • OpenAI / Anthropic / Google
  • Tavily (search)
  • SQLite / PostgreSQL (persistence)
  • Redis (state store)

Platforms

  • Python applications
  • FastAPI / Flask backends
  • Cloud deployments

Patterns

Basic Agent Graph

Simple ReAct-style agent with tools

When to use: Single agent with tool calling

Read the full file on GitHub · 506 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. 4d ago First seen · 506 lines · 53 tokens per session scan A c208e453c478

Subscribe to this mod's changes

langgraph is a skill published in the GitHub repository andersonlemesc/Oryntra (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 53 tokens to every session and 3,152 once invoked, about $0.0003 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens