Skip to content

Commit 38e24e7

Browse files
committed
update
1 parent 6c77dc7 commit 38e24e7

File tree

1 file changed

+12
-37
lines changed

1 file changed

+12
-37
lines changed

src/langsmith/skills.mdx

Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: LangSmith skills
33
description: Use Agent Skills to work with LangSmith traces, datasets, and evaluators from your coding agent.
44
---
55

6-
Agent Skills are reusable, on‑demand capabilities that bundle instructions plus optional helper scripts. This page summarizes the LangSmith‑oriented skills you can add to a compatible coding agent to query traces, generate datasets, and define evaluators.
6+
Agent Skills are reusable, on‑demand capabilities that bundle instructions plus optional helper scripts. This page summarizes the LangSmith‑oriented skills you can add to a compatible coding agent to query traces, generate datasets, and define evaluators. To work with the same LangSmith data directly from the terminal, use the [LangSmith CLI](/langsmith/langsmith-cli).
77

88
<Note>
99
These skills follow the Agent Skills specification and are provided in the langchain‑skills package. You can copy the `SKILL.md` and any referenced `scripts/` into your agent’s skills directory. The installers below only install the LangSmith skills (trace, dataset, evaluator).
@@ -16,7 +16,8 @@ Only the LangSmith skills (trace, dataset, evaluator):
1616
<Tabs>
1717
<Tab title="Claude Code">
1818

19-
### Local installation
19+
### Installation
20+
Install locally (add `--global` to install globally):
2021
<CodeGroup>
2122
```bash [macOS/Linux]
2223
curl -fsSL https://github.com/langchain-ai/langchain-skills/archive/main.tar.gz \
@@ -32,26 +33,13 @@ Only the LangSmith skills (trace, dataset, evaluator):
3233
```
3334
</CodeGroup>
3435

35-
### Global installation
36-
<CodeGroup>
37-
```bash [macOS/Linux]
38-
curl -fsSL https://github.com/langchain-ai/langchain-skills/archive/main.tar.gz \
39-
| tar -xz -C /tmp \
40-
&& /tmp/langchain-skills-main/install.sh --global --langsmith -y \
41-
&& rm -rf /tmp/langchain-skills-main
42-
```
43-
```bash [Windows (WSL/Git Bash)]
44-
curl -fsSL https://github.com/langchain-ai/langchain-skills/archive/main.tar.gz \
45-
| tar -xz -C /tmp \
46-
&& /tmp/langchain-skills-main/install.sh --global --langsmith -y \
47-
&& rm -rf /tmp/langchain-skills-main
48-
```
49-
</CodeGroup>
36+
For a global install, add `--global` to the \`install.sh\` invocation (for example \`install.sh --global --langsmith -y\`).
5037

5138
</Tab>
5239
<Tab title="DeepAgents CLI">
5340

54-
### Local installation
41+
### Installation
42+
Install locally (add `--global` to install globally):
5543
<CodeGroup>
5644
```bash [macOS/Linux]
5745
curl -fsSL https://github.com/langchain-ai/langchain-skills/archive/main.tar.gz \
@@ -67,21 +55,7 @@ Only the LangSmith skills (trace, dataset, evaluator):
6755
```
6856
</CodeGroup>
6957

70-
### Global installation
71-
<CodeGroup>
72-
```bash [macOS/Linux]
73-
curl -fsSL https://github.com/langchain-ai/langchain-skills/archive/main.tar.gz \
74-
| tar -xz -C /tmp \
75-
&& /tmp/langchain-skills-main/install.sh --deepagents --global --langsmith -y \
76-
&& rm -rf /tmp/langchain-skills-main
77-
```
78-
```bash [Windows (WSL/Git Bash)]
79-
curl -fsSL https://github.com/langchain-ai/langchain-skills/archive/main.tar.gz \
80-
| tar -xz -C /tmp \
81-
&& /tmp/langchain-skills-main/install.sh --deepagents --global --langsmith -y \
82-
&& rm -rf /tmp/langchain-skills-main
83-
```
84-
</CodeGroup>
58+
For a global install, add `--global` to the \`install.sh\` invocation (for example \`install.sh --deepagents --global --langsmith -y\`).
8559

8660
</Tab>
8761
</Tabs>
@@ -92,13 +66,14 @@ To update, re‑run the command. If target skill folders already exist, remove t
9266

9367
## Configure environment
9468

95-
After installing the skills, set environment variables used by all LangSmith skills and helper scripts:
69+
After installing the skills, set environment variables used by all LangSmith skills, helper scripts, and the [LangSmith CLI](/langsmith/langsmith-cli):
9670

9771
```bash
9872
export LANGSMITH_API_KEY=<your-key>
99-
# Optional
73+
# Optional defaults
10074
export LANGSMITH_PROJECT=<default-project>
101-
export LANGSMITH_WORKSPACE_ID=<workspace-id>
75+
# Advanced: multi-workspace or certain self-hosted setups only
76+
# export LANGSMITH_WORKSPACE_ID=<workspace-id>
10277
```
10378

10479
## What these skills cover
@@ -107,7 +82,7 @@ export LANGSMITH_WORKSPACE_ID=<workspace-id>
10782
- Datasets: Turn traces into evaluation datasets (final_response, single_step, trajectory, RAG) and optionally upload to LangSmith.
10883
- Evaluators: Define code or LLM‑as‑judge evaluators and attach them to datasets (offline) or projects (online).
10984

110-
Each skill directory ships with a `SKILL.md` plus optional `scripts/` helpers you can run or adapt.
85+
Each skill directory ships with a `SKILL.md` plus optional `scripts/` helpers you can run or adapt. These skills are designed to plug into compatible coding agents (such as Claude Code or DeepAgents CLI), though you can also reuse the helper scripts directly if you prefer not to wire up a full agent.
11186

11287
## Manual install
11388

0 commit comments

Comments
 (0)