langsmith-dataset
INVOKE THIS SKILL when creating evaluation datasets, uploading datasets to LangSmith, or managing existing datasets.
Skill by Harmeet10000
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/harmeet10000-langsmith-dataset
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/langsmith-dataset
What's inside
- Skill name
langsmith-dataset- Description
- INVOKE THIS SKILL when creating evaluation datasets, uploading datasets to LangSmith, or managing existing datasets. Covers dataset types (final_response, single_step, trajectory, RAG), CLI management commands, SDK-based creation, and example management. Uses the langsmith CLI tool.
- License
- MIT
- Instructions
- 292 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
<oneliner>
Create, manage, and upload evaluation datasets to LangSmith for testing and validation.
</oneliner>
<setup>
Environment Variables
```bash
LANGSMITH_API_KEY=lsv2_pt_your_api_key_here # Required
LANGSMITH_PROJECT=your-project-name # Check this to know which project has traces
LANGSMITH_WORKSPACE_ID=your-workspace-id # Optional: for org-scoped keys
```
**IMPORTANT:** Always check the environment variables or `.env` file for `LANGSMITH_PROJECT` before querying or interacting with LangSmith. This tells you which project contains the relevant traces and data. If the LangSmith project is not available, use your best judgement to identify the right one.
Python Dependencies
```bash
pip install langsmith
```
JavaScript Dependencies
```bash
npm install langsmith
```
CLI Tool
```bash
curl -sSL https://raw.githubusercontent.com/langchain-ai/langsmith-cli/main/scripts/install.sh | sh
```
</setup>
<usage>
Use the `langsmith` CLI to manage datasets and examples.
### Dataset Commands
- `langsmith dataset list` - List datasets in LangSmith
- `langsmith dataset get <name-or-id>` - View dataset details
- `langsmith dataset create --name <name>` - Create a new empty dataset
- `langsmith dataset delete <name-or-id>` - Delete a dataset
- `langsmith dataset export <name-or-id> <output-file>` - Export dataset to local JSON file
- `langsmith dataset upload <file> --name <name>` - Upload a local JSON file as a dataset
### Example Commands
- `langsmith example list --dataset <name>` - List examples in a dataset
- `langsmith example create --dataset <name> --inputs <json>` - Add an example to a dataset
- `langsmith example delete <example-id>` - Delete an example
### Experiment Commands
- `langsmith experiment list --dataset <name>` - List experiments for a dataset
- `langsmith experiment get <name>` - View experiment results
### Common Flags
- `--limit N` - Limit number of results
- `--yes` - Skip confirmation prompts (use with caution)
**IMPORTANT - Safety Prompts:**
- The CLI prompts for confirmation before destructive operations (delete, overwrite)
- **If you are running with user input:** ALWAYS wait for user input; NEVER use `--yes` unless the user explicitly requests it
- **If you are running non-interactively:** Use `--yes` to skip confirmation prompts
</usage>
<dataset_types_overview>
Common evaluation dataset types:
- **final_response** - Full conversation with expected output. Tests complete agent behavior.
- **single_step** - Single node inputs/outputs. Tests specific node behavior (e.g., one LLM call or tool).
- **trajectory** - Tool call sequence. Tests execution path (ordered list of tool names).
- **rag** - Question/chunks/answer/citations. Tests retrieval quality.
</dataset_types_overview>
<creating_datasets>
## Creating Datasets
Datasets are JSON files with an array of examples. Each example has `inputs` and `outputs`.
### From Exported Traces (Programmatic)
Export traces first, then process them into dataset format using code:
```bash
# 1. Export traces to JSONL files
langsmith trace export ./traces --project my-project --limit 20 --full
```
<python>
```python
import json
from pathlib import Path
from langsmith import Client
client = Client()
# 2. Process traces into dataset examples
examples = []
for jsonl_file in Path("./traces").glob("*.jsonl"):
runs = [json.loads(line) for line in jsonl_file.read_text().strip().split("\n")]
root = next((r for r in runs if r.get("parent_run_id") is None), None)
if root and root.get("inputs") and root.get("outputs"):
examples.append({
"trace_id": root.get("trace_id"),
"inputs": root["inputs"],
"outputs": root["outputs"]
})
# 3. Save locally
with open("/tmp/dataset.json", "w") as f:
json.dump(examples, f, indent=2)
```
</python>
<typescript>
```typescript
import { Client } from "langsmith";
import { readFileSync, writeFileSync, readdirSync } from "fs";From Harmeet10000/skills, MIT.
More from Harmeet10000/skills
- 0.474score
text-to-speech
Harmeet10000
Convert text to speech using ElevenLabs voice AI.
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
langsmith-evaluator
Harmeet10000
INVOKE THIS SKILL when building evaluation pipelines for LangSmith.
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
langchain-dependencies
Harmeet10000
INVOKE THIS SKILL when setting up a new project or when asked about package versions, installation, or dependency management for LangChain, LangGraph…
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
ai-music-generation
Harmeet10000
Generate AI music and songs with Diffrythm, Tencent Song Generation via inference.sh CLI.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
langchain-middleware
Harmeet10000
INVOKE THIS SKILL when you need human-in-the-loop approval, custom middleware, or structured output.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
deep-agents-core
Harmeet10000
INVOKE THIS SKILL when building ANY Deep Agents application.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
deep-agents-memory
Harmeet10000
INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
deep-agents-orchestration
Harmeet10000
INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
langsmith-trace
Harmeet10000
INVOKE THIS SKILL when working with LangSmith tracing OR querying traces.
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
langchain-fundamentals
Harmeet10000
Create LangChain agents with create_agent, define tools, and use middleware for human-in-the-loop and error handling.
SkillDFreshness: D★ 7Claude Code +9 - 0.461score
crawl4ai
Harmeet10000
Complete toolkit for web crawling and data extraction using Crawl4AI.
SkillDFreshness: D★ 7Claude Code +9 - 0.460score
langchain-architecture
Harmeet10000
Design LLM applications using LangChain 1.x and LangGraph for agents, memory, and tool integration.
SkillDFreshness: D★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 15, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Harmeet10000/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Harmeet10000
- 0.474score
text-to-speech
Harmeet10000
Convert text to speech using ElevenLabs voice AI.
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
langchain-dependencies
Harmeet10000
INVOKE THIS SKILL when setting up a new project or when asked about package versions, installation, or dependency management for LangChain, LangGraph…
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
ai-music-generation
Harmeet10000
Generate AI music and songs with Diffrythm, Tencent Song Generation via inference.sh CLI.
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
langsmith-evaluator
Harmeet10000
INVOKE THIS SKILL when building evaluation pipelines for LangSmith.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
deep-agents-core
Harmeet10000
INVOKE THIS SKILL when building ANY Deep Agents application.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
deep-agents-orchestration
Harmeet10000
INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents.
SkillDFreshness: D★ 7Claude Code +9
Cite this page
langsmith-dataset skill. Agent Mart. https://agentmart.dev/skills/harmeet10000-langsmith-dataset (last updated 2026-10-24)