LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

langsmith-trace

INVOKE THIS SKILL when working with LangSmith tracing OR querying traces. Covers adding tracing to applications and querying/exporting trace data. Uses the langsmith CLI tool.

124stars15forksUpdated 5/28/2026
Data Science & ML#debugging#langsmith#observability#tracing#python#javascript

Security Assessment

High Risk(35/100)

Detected risks:

Remote Code Execution([SKILL.md] curl -sSL https://raw.githubusercontent.com/langchain-ai/langsmith-cli/main/scripts/install.sh | sh)
Secret Exposure([SKILL.md] API_KEY=)
Sensitive File Access([SKILL.md] .env)
Security Score35/100

About langsmith-trace

The langsmith-trace skill provides guidance for integrating LangSmith tracing into AI applications and querying trace data for debugging, monitoring, and analysis. It focuses on two core workflows: adding tracing instrumentation to applications and interacting with stored traces using the LangSmith CLI. The skill supports both Python and JavaScript environments and is designed to help developers capture execution flows, inspect LLM interactions, and analyze nested operations in AI pipelines. It also explains authentication requirements, environment variable configuration, and project selection for accessing the correct trace data.

The skill includes support for multiple tracing approaches depending on the application framework. For LangChain and LangGraph applications, tracing can be enabled automatically through environment variables. For non-LangChain applications, it documents how to use OpenTelemetry integrations when supported, or alternatively how to apply tracing manually using decorators and wrappers. Python examples use the `@traceable` decorator and `wrap_openai()` wrapper, while TypeScript examples use `traceable()` and `wrapOpenAI()`. The skill also demonstrates nested tracing patterns for multi-step AI pipelines such as retrieval-augmented generation workflows.

This skill is intended for AI engineers, backend developers, and platform teams building or maintaining LLM-powered systems. Common use cases include debugging prompt pipelines, monitoring application behavior, tracing model requests, inspecting retrieval workflows, and exporting trace data for analysis. It is especially useful for teams using LangChain, LangGraph, OpenAI integrations, or custom AI orchestration pipelines that require observability and operational debugging capabilities.

FAQ

How do I enable tracing for a LangChain or LangGraph application?

Set the required environment variables including `LANGSMITH_TRACING=true`, `LANGSMITH_API_KEY`, and your LLM provider API key. Tracing is automatic for LangChain and LangGraph applications once these variables are configured.

Can this skill be used with applications that do not use LangChain?

Yes. For frameworks with OpenTelemetry support, LangSmith's OpenTelemetry integration can be used. For custom applications or frameworks without automatic support, the skill documents how to use tracing decorators and wrappers manually.

What authentication methods are supported?

Authentication requires a LangSmith API key. You can either set the `LANGSMITH_API_KEY` environment variable or provide the `--api-key` flag directly when running LangSmith CLI commands.

Does the skill support both Python and JavaScript projects?

Yes. The documentation includes tracing examples for both Python and TypeScript/JavaScript implementations using the LangSmith tracing utilities and OpenAI wrappers.

What project configuration should be checked before querying traces?

You should check the `LANGSMITH_PROJECT` environment variable or `.env` configuration before querying traces to ensure you are interacting with the correct LangSmith project.

Install langsmith-trace

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

langchain-ai/langsmith-skills

Related Skills

claude-for-safari

95

youtube-thumbnail

4,282

mantis-history

2,480

mantis-patch

2,480