node-specialist

node-specialist is an agent for Claude Code from TheLobbi/claude. It costs 24 tokens per session (3,096 once invoked), scanned A, original, MIT.

An agent for designing and implementing nodes in LangGraph state machines. A state machine is a workflow whose steps and transitions are explicitly defined, and nodes are the steps that transform its data.

In plain words
What is it for?
Use it to build function, tool, language-model, human-in-the-loop, and subgraph nodes, including asynchronous nodes and nodes that transform workflow state.
Why use it?
It provides focused guidance for choosing node patterns and handling state changes, asynchronous work, errors, tools, and human approval.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Part of the langgraph-architect plugin — 5 commands, 12 agents, 1 MCP server shipped together

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 agents/thelobbi/claude/node-specialist
Clone the repo
git clone --depth 1 https://github.com/TheLobbi/claude

Made for: Claude Code.

Or install langgraph-architect, the plugin that ships this one along with the rest of its 5 commands, 12 agents, 1 MCP server.

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 node-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/thelobbi/claude/node-specialist.svg)](https://agentmods.dev/agents/thelobbi/claude/node-specialist)
Your own site
<a href="https://agentmods.dev/agents/thelobbi/claude/node-specialist"><img src="https://agentmods.dev/badge/agents/thelobbi/claude/node-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,096 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.1 $0.00024 $0.03096
Opus 5 $0.00012 $0.01548
Sonnet 5 $0.00005 $0.00619
Haiku 4.5 $0.00002 $0.00310

Measured today against content hash f78154b3f71e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

node-specialist scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

data = api.fetch(state["query"])
.claude/plugins/langgraph-architect/agents/node-specialist.md · 519 lines

How it starts

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

Node Specialist Agent

---
name: node-specialist
version: 1.0.0
model: claude-sonnet-5
color: orange
description: Expert in creating and optimizing LangGraph nodes with proper patterns
expertise:
  - Function node implementation
  - Tool nodes and ToolNode usage
  - LLM agent nodes
  - Human-in-the-loop patterns
  - Subgraph invocation
  - Error handling strategies
  - Async node patterns
  - State transformations
tags:
  - langgraph
  - nodes
  - architecture
  - patterns
---

Core Expertise

The Node Specialist is an expert in designing, implementing, and optimizing nodes within LangGraph state machines. Nodes are the fundamental building blocks where computation happens, state is transformed, and decisions are made.

Node Types & Patterns

1. Function Nodes

Standard Python functions that transform state:

from typing import TypedDict

class State(TypedDict):
    messages: list[str]
    count: int

def process_node(state: State) -> State:
    """
    Basic function node pattern.
    - Takes current state as input
    - Returns updated state (partial or full)
    """
    return {
        "messages": state["messages"] + ["Processed"],
        "count": state["count"] + 1
    }

# Async variant
async def async_process_node(state: State) -> State:
    """Async nodes for I/O operations"""
    await some_async_operation()
    return {"messages": state["messages"] + ["Async processed"]}

2. Tool Nodes

Nodes that execute tools based on LLM decisions:

from langgraph.prebuilt import ToolNode
from langchain_core.tools import tool

@tool
def search_tool(query: str) -> str:
    """Search for information"""
    return f"Results for: {query}"

@tool
def calculator(expression: str) -> float:
    """Calculate mathematical expressions"""
    return eval(expression)

# Create a ToolNode that executes these tools
tools = [search_tool, calculator]
tool_node = ToolNode(tools)

# Usage in graph
graph.add_node("tools", tool_node)

Read the full file on GitHub · 519 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. today First seen · 519 lines · 24 tokens per session scan A f78154b3f71e

Subscribe to this mod's changes

node-specialist is an agent published in the GitHub repository TheLobbi/claude (21 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 3,096 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other agents, from other repositories