langchain-agent

LangChain/LangGraph Agent Scaffold

Content Preview
---
model: claude-sonnet-4-0
---

# LangChain/LangGraph Agent Scaffold

Create a production-ready LangChain/LangGraph agent for: $ARGUMENTS

Implement a complete agent system including:

1. **Agent Architecture**:
   - LangGraph state machine
   - Tool selection logic
   - Memory management
   - Context window optimization
   - Multi-agent coordination

2. **Tool Implementation**:
   - Custom tool creation
   - Tool validation
   - Error handling in tools
   - Tool composition
   - Async tool ex
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/langchain-agent.md \
  https://raw.githubusercontent.com/wshobson/commands/main/tools/langchain-agent.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/wshobson/commands

Then reference at tools/langchain-agent.md

Related Skills