langsmith-fetch
通过从 LangSmith Studio 获取执行追踪来调试 LangChain 和 LangGraph 代理。用于调试代理行为、调查错误、分析工具调用、检查内存操作或检查代理性能时。自动获取最近的追踪并分析执行模式。需要安装 langsmith-fetch CLI。
npx skills add majiayu000/claude-skill-registry --skill langsmith-tiandiyiqi-ai-skills --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# LangSmith 获取 - 代理调试技能 直接在终端中从 LangSmith Studio 获取执行追踪来调试 LangChain 和 LangGraph 代理。 ## 何时使用此技能 当用户提到以下内容时自动激活: - 🐛 "调试我的代理" 或 "哪里出问题了?" - 🔍 "显示最近的追踪" 或 "发生了什么?" - ❌ "检查错误" 或 "为什么失败了?" - 💾 "分析内存操作" 或 "检查长期记忆" - 📊 "审查代理性能" 或 "检查令牌使用情况" - 🔧 "调用了哪些工具?" 或 "显示执行流程" ## 前提条件 ### 1. 安装 langsmith-fetch ```bash pip install langsmith-fetch ``` ### 2. 设置环境变量 ```bash export LANGSMITH_API_KEY="your_langsmith_api_key" export LANGSMITH_PROJECT="your_project_name" ``` ## 使用流程 ### 第 1 步:获取最近的追踪 首先运行以下命令获取最近的追踪记录: ```bash langsmith-fetch recent ``` ### 第 2 步:分析执行模式 分析获取的追踪数据,识别执行模式、错误和性能问题。 ## 预期输出 详细的代理执行追踪信息,包括: - 工具调用序列 - 错误和异常 - 内存操作 - 性能指标 - 执行时间线
- 何时使用此技能
- 前提条件
- 1. 安装 langsmith-fetch
- 2. 设置环境变量
- 使用流程
- 第 1 步:获取最近的追踪
- 第 2 步:分析执行模式
- 预期输出
pip install langsmith-fetch export LANGSMITH_API_KEY="your_langsmith_api_key" export LANGSMITH_PROJECT="your_project_name" langsmith-fetch recent
What does the langsmith-fetch skill do?
通过从 LangSmith Studio 获取执行追踪来调试 LangChain 和 LangGraph 代理。用于调试代理行为、调查错误、分析工具调用、检查内存操作或检查代理性能时。自动获取最近的追踪并分析执行模式。需要安装 langsmith-fetch CLI。
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill langsmith-tiandiyiqi-ai-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
