langgraph-patterns SKILL.md skillA

langgraph-patterns from frankxai/claude-skills-library is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add frankxai/claude-skills-library/langgraph-patterns@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
frankxai/claude-skills-library
Path
free-skills/langgraph-patterns/SKILL.md
Versions recorded
5
Latest version
v1.0.0, committed Sep 27, 2026
First version recorded
Jun 5, 2026
Size
7,494 bytes
Repository stars
47
License
MIT

Production-grade agentic workflows with LangGraph — graph orchestration, state machines, human-in-the-loop, and advanced control flow. Use when building or debugging a LangGraph app, modeling agent state, or adding checkpoints and human approval steps.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# LangGraph Patterns Expert Skill

## Purpose
Master LangGraph for building production-ready AI agents with fine-grained control, checkpointing, streaming, and complex state management.

## Core Philosophy

**LangGraph is:** An orchestration framework with both declarative and imperative APIs focused on control and durability for production agents.

**Not:** High-level abstractions that hide complexity - instead provides building blocks for full control.

**Migration:** LangGraph replaces legacy AgentExecutor - migrate all old code.

## The Six Production Features

1. **Parallelization** - Run multiple nodes concurrently
2. **Streaming** - Real-time partial outputs
3. **Checkpointing** - Pause/resume execution
4. **Human-in-the-Loop** - Approval/correction workflows
5. **Tracing** - Observability and debugging
6. **Task Queue** - Asynchronous job processing

## Graph-Based Architecture

```python
from langgraph.graph import StateGraph, END

# Define state
class AgentState(TypedDict):
    messages: Annotated[list, add_messages]
    next_action: str

# Create graph
graph = StateGraph(AgentState)

# Add nodes
graph.add_node("analyze", analyze_node)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add frankxai/claude-skills-library/langgraph-patterns@sha256:fd8df29a01049898

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4kxdftiz6enuvlxj.svg)](https://markdownregistry.com/a/art_4kxdftiz6enuvlxj)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 5, 2026 and Sep 27, 2026, about one every 28 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-09-27 22ea80b 7,494 BA view · diff
v1.0.02026-09-19 d800c14 7,504 BA view · diff
v1.0.02026-06-22 279de9d 7,506 BA view · diff
v1.0.02026-06-08 07e270e 7,506 BA view · diff
v1.0.02026-06-05 7e49dea 7,401 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7494 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

frankxai/claude-skills-library · 47 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4kxdftiz6enuvlxj
GET https://markdownregistry.com/api/v1/resolve?ref=frankxai/claude-skills-library/langgraph-patterns
GET https://markdownregistry.com/api/v1/blob/fd8df29a01049898aee13f4ea1e98cec176ddf02362cc2c18c73a2d6a5af4c06

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from frankxai/claude-skills-library

excellence-review SKILL.md skill
frankxai/claude-skills-library · .grok/skills/excellence-review/SKILL.md · Mandatory excellence gates for Grok+ACOS. verification-loop, santa-method, gstack-qa, plan-reviews, repo-mastery, cso…
git:20260820.5d4ee7a · audit A · 47 stars
harness-integration SKILL.md skill
frankxai/claude-skills-library · .grok/skills/harness-integration/SKILL.md · ACOS Grok bridge. SessionStart loads repo-mastery + excellence gates. PreToolUse enforces rules read + suggests harness…
git:20261014.6571e8d · audit A · 47 stars
multi-harness-orchestrator SKILL.md skill
frankxai/claude-skills-library · .grok/skills/multi-harness-orchestrator/SKILL.md · Automatically detect tasks suited for delegation to other agent harnesses (Claude Code as canonical, agy/antigravity…
git:20260820.5d4ee7a · audit A · 47 stars
repo-mastery SKILL.md skill
frankxai/claude-skills-library · .grok/skills/repo-mastery/SKILL.md · Master ACOS, FrankX, Starlight-Intelligence-System, arcanea, claude-code-config and full starlight/repos ecosystem…
git:20261014.6571e8d · audit A · 47 stars
AGENTS.md AGENTS.md file
frankxai/claude-skills-library · AGENTS.md
git:20261014.6571e8d · audit F · 47 stars
agent-harness-construction SKILL.md skill
frankxai/claude-skills-library · absorbed/harness/agent-harness-construction/SKILL.md · Shape an agent's tools, observations, and recovery without adding a second coordinator. Use when defining a tool, a…
git:20261010.682b2ce · audit A · 47 stars
context-budget SKILL.md skill
frankxai/claude-skills-library · absorbed/harness/context-budget/SKILL.md · Count what a session loads before adding another skill or MCP server. Use when the default prompt is heavy, a new…
git:20261010.682b2ce · audit A · 47 stars
cost-aware-llm-pipeline SKILL.md skill
frankxai/claude-skills-library · absorbed/harness/cost-aware-llm-pipeline/SKILL.md · Pick the smallest model that can finish the task, and record the class of work. Use when routing a search, a multi-file…
git:20261010.682b2ce · audit A · 47 stars
santa-method SKILL.md skill
frankxai/claude-skills-library · absorbed/harness/santa-method/SKILL.md · Send a finished change to two reviewers who did not write it, using one rubric, and stop after three rounds. Use before…
git:20261011.854bb48 · audit A · 47 stars
search-first SKILL.md skill
frankxai/claude-skills-library · absorbed/harness/search-first/SKILL.md · Look for an existing repo, package, and skill before writing a new one. Use when starting a feature, adding a…
git:20261010.682b2ce · audit A · 47 stars
security-review SKILL.md skill
frankxai/claude-skills-library · absorbed/harness/security-review/SKILL.md · Scan a port or a diff before it lands, and apply the narrow deny list for this machine. Use before copying upstream…
git:20261010.682b2ce · audit A · 47 stars
strategic-compact SKILL.md skill
frankxai/claude-skills-library · absorbed/harness/strategic-compact/SKILL.md · Write what worked, what failed, and what is still open to a file, then compact at a phase boundary. Use when a long…
git:20261010.682b2ce · audit A · 47 stars

Every file in frankxai/claude-skills-library

Browse by kind, by grade A, or by owner.