Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add TheLobbi/claude/plugin install langgraph-architectWrote 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/commands/thelobbi/claude/node)<a href="https://agentmods.dev/commands/thelobbi/claude/node"><img src="https://agentmods.dev/badge/commands/thelobbi/claude/node.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.00034 | $0.04136 |
| Opus 5 | $0.00017 | $0.02068 |
| Sonnet 5 | $0.00007 | $0.00827 |
| Haiku 4.5 | $0.00003 | $0.00414 |
Grade A, and why
lg:node 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 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.
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 — 731 lines — stays where its author put it; the contents beside it link to each section on GitHub.
lg:node - Node Management
Manage nodes in LangGraph graphs including creation, connection, and modification of various node types.
Workflow Steps
Add Node
-
Validate Input
- Check project structure
- Verify node name is unique
- Validate node type
-
Generate Node Code
- Create node function/class
- Setup node configuration
- Add error handling
- Configure retries (if enabled)
-
Update Graph
- Add node to graph
- Configure interrupts (if specified)
- Update state schema (if needed)
-
Generate Tests
- Create node test file
- Add unit tests
- Add integration tests
-
Update Documentation
- Add node to README
- Document node behavior
- Update architecture diagram
Connect Nodes
-
Validate Connection
- Check source and target exist
- Verify no circular dependencies (for non-conditional edges)
- Validate edge type
-
Add Edge
- Add regular edge or conditional edge
- Update routing logic
- Configure edge conditions
-
Update Tests
- Add edge tests
- Test routing logic
-
Update Documentation
- Update graph visualization
- Document flow
Remove Node
-
Analyze Dependencies
- Find all edges to/from node
- Check for dependent nodes
- Identify routing impacts
-
Remove Components
- Remove edges
- Remove node from graph
- Remove node file
- Clean up routing
-
Update Tests
- Remove node tests
- Update integration tests
-
Update Documentation
- Remove from README
- Update diagrams
Node Types
LLM Node
Language model processing node.
from langchain_anthropic import ChatAnthropic
from langchain_core.messages import SystemMessage
def llm_node(state: State):
"""LLM processing node."""
llm = ChatAnthropic(model="claude-sonnet-5")
system_prompt = "You are a helpful assistant."
messages = [SystemMessage(content=system_prompt)] + state["messages"]
response = llm.invoke(messages)
return {"messages": [response]}
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.
- today First seen · 731 lines · 34 tokens per session scan A c95551c8b370
lg:node is a command published in the GitHub repository TheLobbi/claude (21 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 4,136 once invoked, about $0.0002 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-09-05.
Other commands, from other repositories
write-tests
Generate comprehensive test coverage for existing code.
test-tdd
Run when user calls /test-tdd. Scans modified files, locates their corresponding unit/integration test suites, and runs them.
kill-mutants
Analyze surviving mutants from a mutation testing run and write targeted unit tests to kill them. Re-runs mutations to confirm kills.
test
Generate comprehensive tests.
test
Execute a comprehensive test run for the following target.
review-css-complexity
Scan codebase for overly complex CSS/styling patterns that should be simplified.