npx skills add ...
npx skills add langchain-ai/lca-skills --skill langsmith-fetch
npx skills add langchain-ai/lca-skills --skill langsmith-fetch
Fetches LangSmith traces for debugging agent behavior. Use when troubleshooting agent issues, reviewing conversation history, or investigating tool calls.
Requires langsmith-fetch in project dependencies and LANGSMITH_API_KEY in a .env file.
First, find the .env file containing LANGSMITH_API_KEY:
Use --env-file <path-to-.env> with all commands:
--format pretty - Human-readable (default)--format json - Pretty-printed JSON--format raw - Compact JSON for piping.env: find . -name ".env" -type f 2>/dev/nulluv run --env-file <path> langsmith-fetch traces ./debug --limit 10