langgraph-architecture-review

langgraph-architecture-review is a skill for Codex from tranfu-labs/tranfu-skills. It costs 145 tokens per session (1,993 once invoked), scanned A, original, MIT.

A review guide for Python projects built with LangGraph, a framework for connecting AI tasks as a graph of steps. It turns the project's real nodes, connections, state, storage, human checks, models, tools, and side effects into an explained diagram and report.

In plain words
What is it for?
Use it to map or explain a LangGraph workflow, review how data moves and is stored, check human-in-the-loop and tool boundaries, compare the design with current guidance, and propose verified improvements.
Why use it?
It helps developers understand how an unfamiliar AI workflow actually works and spot design problems. The review is based on source code and the compiled graph rather than guesses.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

Good fit Use it to map or explain a LangGraph workflow, review how data moves and is stored, check human-in-the-loop and tool boundaries, compare the design with current guidance, and propose verified improvements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tranfu-labs/tranfu-skills/langgraph-architecture-review
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.

Any agent
npx skills add tranfu-labs/tranfu-skills --skill langgraph-architecture-review
Clone the repo
git clone --depth 1 https://github.com/tranfu-labs/tranfu-skills

Made for: 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-architecture-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/langgraph-architecture-review/github.svg)](https://agentmods.dev/skills/tranfu-labs/tranfu-skills/langgraph-architecture-review)
Your own site
<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/langgraph-architecture-review"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/langgraph-architecture-review/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.

agentmods 80×15 button for langgraph-architecture-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/langgraph-architecture-review"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/langgraph-architecture-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,993 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00145 $0.01993
Opus 5 $0.00072 $0.00996
Sonnet 5 $0.00029 $0.00399
Haiku 4.5 $0.00015 $0.00199

Measured 12d ago against content hash 38532c320f23, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

langgraph-architecture-review 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 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/inspect_langgraph.py, scripts/test_inspect_langgraph.py, scripts/validate_report.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

own-skills/langgraph-architecture-review/SKILL.md · 164 lines

How it starts

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

LangGraph Architecture Review

Outcome

Turn the project's real LangGraph code into a traceable architecture review:

  • a Mermaid graph grounded in source locations;
  • state, node, edge, persistence, HITL, model, tool, and side-effect boundaries;
  • a feature-level explanation of how the graph delivers the user's task;
  • prioritized improvements with evidence, expected effect, risk, and verification.

The source code and compiled graph are evidence. A plausible diagram is not evidence.

Ownership

Default to review-only: inspect and report without editing project code. Only modify a graph when the user explicitly requests implementation after reviewing the architecture.

The named output is LANGGRAPH_ARCHITECTURE_PACKET. Read references/review-contract.md before writing the final report. Read references/upstream-sources.md when the user asks for current APIs, latest architecture, framework comparison, persistence, HITL, or migration guidance.

Workflow

CREATE A TODO LIST FOR THE TASKS BELOW:

  1. Resolve the project root. Read applicable AGENTS.md and architecture docs. If no readable project exists, report a blocker and stop.

  2. Find LangGraph dependencies and imports. Record the installed Python package version; never infer the version from training data.

  3. If the user asks for “latest” or current best practices, check the official release and live documentation listed in references/upstream-sources.md. If network access fails, mark the comparison local-only instead of guessing.

  4. Run the static inventory from the project root:

    python /absolute/path/to/langgraph-architecture-review/scripts/inspect_langgraph.py . \
      --output /tmp/langgraph-architecture.md \
      --json /tmp/langgraph-architecture.json
    
  5. Read every discovered graph entrypoint, state schema, node callable, router, persistence configuration, and graph-facing API. If the scanner misses dynamic construction, add that evidence manually with file and line references.

  6. Use runtime introspection only when importing the graph is demonstrably side-effect free. Prefer the public API:

Read the full file on GitHub · 164 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. 12d ago First seen · 164 lines · 145 tokens per session scan A 38532c320f23

Subscribe to this mod's changes

langgraph-architecture-review is a skill published in the GitHub repository tranfu-labs/tranfu-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 145 tokens to every session and 1,993 once invoked, about $0.0007 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.