npx skills add ...
npx skills add composiohq/awesome-claude-skills --skill langsmith-fetch
Debug LangChain and LangGraph agents by fetching execution traces from LangSmith Studio. Use when debugging agent behavior, investigating errors, analyzing tool calls, checking memory operations, or examining agent performance. Automatically fetches recent traces and analyzes execution patterns. Requires langsmith-fetch CLI installed.
npx skills add composiohq/awesome-claude-skills --skill langsmith-fetch
Debug LangChain and LangGraph agents by fetching execution traces directly from LangSmith Studio in your terminal.
Automatically activate when user mentions:
Verify setup:
When user asks: "What just happened?" or "Debug my agent"
Execute:
Analyze and report:
Example response format:
When user provides: Trace ID or says "investigate that error"
Execute:
Analyze JSON and report:
Example response format:
When user says: "Save this session" or "Export traces"
Execute:
Report:
When user asks: "Show me errors" or "What's failing?"
Execute:
Analyze and report:
Example response format:
User says: "My agent isn't doing anything"
Steps:
Check if traces exist:
If NO traces found:
LANGCHAIN_TRACING_V2=true in environmentLANGCHAIN_API_KEY is setIf traces found:
User says: "Why did it use the wrong tool?"
Steps:
User says: "Agent doesn't remember things"
Steps:
Search for memory operations:
Check:
User says: "Agent is too slow"
Steps:
Export with metadata:
Analyze:
Identify bottlenecks and suggest optimizations
Use for: Quick visual inspection, showing to users
Use for: Detailed analysis, syntax-highlighted review
Use for: Piping to other commands, automation
Possible causes:
Solutions:
Solution:
Solution:
When you find bugs:
error-cases/ folderlangsmith-fetch is installed before running commands--format pretty for human-readable output--format json when you need to parse and analyze dataVersion: 0.1.0 Author: Ahmad Othman Ammar Adi License: MIT Repository: https://github.com/OthmanAdi/langsmith-fetch-skill