
Langsmith Fetch
When your LangChain or LangGraph agent does something weird and you need to know why, this fetches execution traces straight from LangSmith Studio into your terminal. You get pretty-printed summaries of what tools fired, where errors happened, token usage, and execution timing. The skill walks you through common debugging scenarios like "why did it call the wrong tool" or "memory isn't working" with specific grep commands and analysis patterns. You'll need the langsmith-fetch CLI installed and your API keys set up, but once configured it's faster than clicking through the web UI when you just want to see what broke in the last five minutes. The structured workflows for error detection and performance analysis are genuinely useful if you're running agentic systems in production.
- skills.sh installs
- 4.4K
- GitHub stars
- 79.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add composiohq/awesome-claude-skills --skill langsmith-fetch --agent claude-codeInstalls into .claude/skills of the current project.
Files
LangSmith Fetch - Agent Debugging Skill
Debug LangChain and LangGraph agents by fetching execution traces directly from LangSmith Studio in your terminal.
When to Use This Skill
Automatically activate when user mentions:
- 🐛 "Debug my agent" or "What went wrong?"
- 🔍 "Show me recent traces" or "What happened?"
- ❌ "Check for errors" or "Why did it fail?"
- 💾 "Analyze memory operations" or "Check LTM"
- 📊 "Review agent performance" or "Check token usage"
- 🔧 "What tools were called?" or "Show execution flow"
Prerequisites
1. Install langsmith-fetch
pip install langsmith-fetch
2. Set Environment Variables
export LANGSMITH_API_KEY="your_langsmith_api_key"
export LANGSMITH_PROJECT="your_project_name"
Verify setup:
echo $LANGSMITH_API_KEY
echo $LANGSMITH_PROJECT
Core Workflows
Workflow 1: Quick Debug Recent Activity
When user asks: "What just happened?" or "Debug my agent"
Execute:
langsmith-fetch traces --last-n-minutes 5 --limit 5 --format pretty
Sponsors
Details
- Repository
- github.com/composiohq/awesome-claude-skills
- Categories
- AI & Agent Building, Debugging, CLI & Terminal
More from composiohq/awesome-claude-skills
All 32- Skill Share4.4K
- Slack Gif Creator4.4K
- Internal Comms4.3K
- Raffle Winner Picker4.3K
- Template Skill4.3K
- Gmail Automation173
- Google Calendar Automation159
- Googlesheets Automation132
- Google Drive Automation112
- Tailored Resume Generator10.4K
- Content Research Writer8.7K
- Changelog Generator7.7K
- File Organizer7.3K
- Youtube Downloader6.3K
- Competitive Ads Extractor5.8K
- Lead Research Assistant5.7K
- Domain Name Brainstormer5.5K
- Invoice Organizer5.4K
- Image Enhancer5.3K
- Twitter Algorithm Optimizer5.1K
- Skill Creator4.9K
- Webapp Testing4.9K
- Canvas Design4.9K
- Artifacts Builder4.8K