LangSmith Trace Debugging
ComposioHQ/awesome-claude-skills
Debugs LangChain and LangGraph agents by pulling recent execution traces with the langsmith-fetch CLI and reporting errors, tool calls, timings and token use.
Starting point for LangChain, LangGraph and Deep Agents projects: picks the right layer for the task, then points to install steps, setup and the next skill to load.
$ npx skills add langchain-ai/langchain-skills --skill ecosystem-primer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install langchain-ai/langchain-skills ecosystem-primer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/langchain-ai/langchain-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/config/skills/ecosystem-primer .claude/skills/ecosystem-primer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ecosystem-primer" agent skill from https://github.com/langchain-ai/langchain-skills/tree/main/config/skills/ecosystem-primer into .claude/skills/ecosystem-primer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ecosystem-primer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/langchain-ai/langchain-skills/tree/main/config/skills/ecosystem-primerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add langchain-ai/langchain-skills --skill ecosystem-primer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install langchain-ai/langchain-skills ecosystem-primer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/langchain-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/config/skills/ecosystem-primer .agents/skills/ecosystem-primer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ecosystem-primer" agent skill from https://github.com/langchain-ai/langchain-skills/tree/main/config/skills/ecosystem-primer into .agents/skills/ecosystem-primer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ecosystem-primer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add langchain-ai/langchain-skills --skill ecosystem-primer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install langchain-ai/langchain-skills ecosystem-primer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/langchain-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/config/skills/ecosystem-primer .cursor/skills/ecosystem-primer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ecosystem-primer" agent skill from https://github.com/langchain-ai/langchain-skills/tree/main/config/skills/ecosystem-primer into .cursor/skills/ecosystem-primer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ecosystem-primer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/langchain-ai/langchain-skills.git --path config/skills/ecosystem-primer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add langchain-ai/langchain-skills --skill ecosystem-primer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install langchain-ai/langchain-skills ecosystem-primer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/langchain-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/config/skills/ecosystem-primer .gemini/skills/ecosystem-primer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ecosystem-primer" agent skill from https://github.com/langchain-ai/langchain-skills/tree/main/config/skills/ecosystem-primer into .gemini/skills/ecosystem-primer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ecosystem-primer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install langchain-ai/langchain-skills ecosystem-primerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add langchain-ai/langchain-skills --skill ecosystem-primer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/langchain-ai/langchain-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/config/skills/ecosystem-primer .github/skills/ecosystem-primer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ecosystem-primer" agent skill from https://github.com/langchain-ai/langchain-skills/tree/main/config/skills/ecosystem-primer into .github/skills/ecosystem-primer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ecosystem-primer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add langchain-ai/langchain-skills --skill ecosystem-primer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install langchain-ai/langchain-skills ecosystem-primer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/langchain-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/config/skills/ecosystem-primer .opencode/skills/ecosystem-primer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ecosystem-primer" agent skill from https://github.com/langchain-ai/langchain-skills/tree/main/config/skills/ecosystem-primer into .opencode/skills/ecosystem-primer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ecosystem-primer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ecosystem-primerStarting point for LangChain, LangGraph and Deep Agents projects: picks the right layer for the task, then points to install steps, setup and the next skill to load.
The skill describes the three layers LangChain Inc. maintains for building agents, with LangSmith alongside for observability and evaluation. Deep Agents sits on top as a harness with planning, file management, subagents and memory. LangGraph is the runtime for durable execution and custom control flow, and LangChain is the base framework for models, tools and the agent loop.
Four conditions are checked in order, stopping at the first match. Planning, long-session file handling, persistent memory or subagents point to Deep Agents; custom loops or branching point to LangGraph; a single-purpose agent with fixed tools points to LangChain's create_agent; a plain model call or retrieval pipeline with no agent loop uses LangChain directly. Profiles list what each tool suits and where it falls short, and the skill insists that the layer-specific skill is loaded before any agent code is written. The excerpt is cut off before the install and environment sections.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 16a992f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
rgFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
docs.langchain.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
ANTHROPIC_API_KEYOPENAI_API_KEYTAVILY_API_KEYLANGSMITH_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
LangChain Ecosystem Primer loads about 2k tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 893 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from langchain-ai/langchain-skills at commit 16a992f, republished under its MIT licence (© langchain-ai). 893 words, ~2,008 tokens.
.claude/skills/ecosystem-primer/SKILL.md (or your agent's skills folder).<overview>
LangChain Inc. maintains three layered open-source tools for building agents, plus LangSmith for observability. The stack, top-down:
Higher layers depend on lower ones, but you don't need to use lower layers directly. Deep Agents gives you LangGraph's durable execution without writing graph code. LangChain gives you models and tools without managing graph edges.
</overview>
<decision-table>
Evaluate these conditions in order and stop at the first match:
create_agent function)This is your layer. BUT you are not done: later in Step 4, you MUST load the layer-specific skill before writing any agent code.
</decision-table>
<langchain-profile>
Best for:
Not ideal when:
All LangChain agents use create_agent(model, tools=[...]).
</langchain-profile>
<langgraph-profile>
Best for:
Not ideal when:
All LangGraph graphs use StateGraph(State) with explicit nodes, edges, and conditional edges.
</langgraph-profile>
<deep-agents-profile>
Best for:
Not ideal when:
All Deep Agents use create_deep_agent(model, tools=[...]).
</deep-agents-profile>
<mixing-layers>
The tools are layered, so they can be combined in the same project. Common patterns:
A compiled LangGraph graph can be registered as a named subagent inside Deep Agents — the orchestrator delegates to it via the task tool without knowing its internal structure. LangChain tools and retrievers work freely inside both LangGraph nodes and Deep Agents tools.
</mixing-layers>
Always set these for observability. These are the current LangSmith env var names. Copy them as-is. OLDER NAMES NO LONGER WORK.
<environment-variables>
LANGSMITH_API_KEY=<your-key>
LANGSMITH_TRACING=true
LANGSMITH_PROJECT=<project-name>
</environment-variables>
Model-provider and tool-specific keys (ANTHROPIC_API_KEY, OPENAI_API_KEY, TAVILY_API_KEY, etc.) depend on your stack — set them as needed.
<docs>
All documentation lives at docs.langchain.com, organized into two top-level sections:
/oss/python/) and TypeScript (/oss/javascript/) trees in parallel.Each product has its own page tree: overview → quickstart → how-to guides → reference.
Start here rather than tree-searching from root (swap python → javascript for TypeScript):
/oss/python/langchain/overview/oss/python/langgraph/overview/oss/python/deepagents/overview/langsmith/home (no language split)If the LangChain Docs MCP server is connected (mcp__docs-langchain__* tools are available), query it directly:
tree /oss/python -L 2 # explore Python structure
tree /oss/javascript -L 2 # parallel TypeScript structure
cat /oss/python/langchain/quickstart.mdx # read a specific page
rg -il "checkpointer" /oss/python/langgraph/ # search by keywordIf the MCP server is not available, use the llms.txt index:
https://docs.langchain.com/llms.txt — structured list of all pages with descriptionsAlways prefer fetching live docs over relying on training-data knowledge — these libraries evolve fast and APIs change often.
</docs>
If the user only wants a minimal local working agent (new project, stub tool, provider key), load the matching quickstart first:
langchain-python-quickstart or langchain-typescript-quickstartlanggraph-python-quickstart or langgraph-typescript-quickstartdeepagents-python-quickstart or deepagents-typescript-quickstartOtherwise load the skill below that matches your layer from Step 1. This is required — the layer-specific skill carries the current API; the primer alone does not.
<next-skills>
langchain-fundamentals — building any LangChain agentlangchain-rag — adding RAG / vector store retrievallangchain-middleware — structured output with Pydanticlangchain-dependencies — package versions, installs, or dependency management questionslanggraph-fundamentals — any LangGraph graphlanggraph-human-in-the-loop — human-in-the-loop or approval workflowslanggraph-persistence — state that must survive restarts, or cross-thread memoryAlways load deep-agents-core first. Then, as needed:
deep-agents-orchestration — subagent delegation or orchestrationdeep-agents-memory — cross-session persistent memory</next-skills>
© langchain-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in config/skills/ecosystem-primer of langchain-ai/langchain-skills.
Open the folder on GitHubat commit 16a992f
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in langchain-ai/langchain-skills, which our catalogue first saw on October 7, 2026.
LangChain Ecosystem Primer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| LangChain Ecosystem Primer this skilllangchain-ai/langchain-skills | 1.3k | — | ~2k | Automated safety check: Pass | MIT | |
| LangSmith Trace DebuggingComposioHQ/awesome-claude-skills | 77k | 8 repos | ~2.7k | Automated safety check: Pass | None | |
| Docs Code Sampleslangchain-ai/docs | 426 | — | ~4.6k | Automated safety check: Pass | MIT | |
| Deepagents Setup Configurationsoba-labs/langchain-agent-skills | 107 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Agentsop Observability Setupagentsope/SkillAlchemy | 466 | — | ~4.4k | Automated safety check: Pass | MIT | |
| Langgraphlangchain-ai/docs | 426 | — | ~1.1k | Automated safety check: Pass | MIT |
ComposioHQ/awesome-claude-skills
Debugs LangChain and LangGraph agents by pulling recent execution traces with the langsmith-fetch CLI and reporting errors, tool calls, timings and token use.
langchain-ai/docs
A skill your agent uses when migrating inline code samples from LangChain docs (MDX files) into external, testable code files that are extracted by this repo’s snippet scripts and used as Mintlify…
soba-labs/langchain-agent-skills
Initialize, validate, and troubleshoot Deep Agents projects in Python or JavaScript using the deepagents package.
agentsope/SkillAlchemy
Enhancement-overlay skill — the DECISION + WIRING layer for LM observability that the single-backend skills [[langsmith]], [[phoenix]], [[mlflow]] do NOT cover.
langchain-ai/docs
Build stateful, durable agent workflows with LangGraph. An agent skill from langchain-ai/docs.
soba-labs/langchain-agent-skills
A skill your agent uses when you need to test or evaluate LangGraph/LangChain agents: writing unit or integration tests, generating test scaffolds, mocking LLM/tool behavior, running trajectory…
langchain-ai/langchain-skills
Builds agent evaluations in stages: inspect the repository and traces, agree a Task Spec with you, then build, audit and run a Harbor task with an independent verifier.
langchain-ai/langchain-skills
Fans a list of independent items out to subagents in parallel, merges the results back into a table and supports retrying only the rows that failed.
langchain-ai/langchain-skills
INVOKE THIS SKILL when implementing human-in-the-loop patterns, pausing for approval, or handling errors in LangGraph.
langchain-ai/langchain-skills
Routes LangGraph agents with typed decision models that return probabilities, and finds LLM calls that only exist to produce a routing decision.
langchain-ai/langchain-skills
INVOKE THIS SKILL when your LangGraph needs to persist state, remember conversations, travel through history, or configure subgraph checkpointer scoping.
langchain-ai/langchain-skills
Explains how to build agents with the Deep Agents framework: create_deep_agent, the built-in middleware, the harness, SKILL.md format and configuration options.
Categories
Starting point for LangChain, LangGraph and Deep Agents projects: picks the right layer for the task, then points to install steps, setup and the next skill to load. The skill describes the three layers LangChain Inc. maintains for building agents, with LangSmith alongside for observability and evaluation.
LangChain Ecosystem Primer fits situations like: starting a new agent project with LangChain, LangGraph or Deep Agents; deciding which LangChain layer fits a given task; finding out which LangChain skill to load before writing agent code.
Run `npx skills add langchain-ai/langchain-skills --skill ecosystem-primer -a claude-code`. Or copy the skill folder (config/skills/ecosystem-primer in langchain-ai/langchain-skills) into .claude/skills/ecosystem-primer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add langchain-ai/langchain-skills --skill ecosystem-primer -a codex`. Or copy the skill folder (config/skills/ecosystem-primer in langchain-ai/langchain-skills) into .agents/skills/ecosystem-primer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add langchain-ai/langchain-skills --skill ecosystem-primer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ecosystem-primer, .gemini/skills/ecosystem-primer, .github/skills/ecosystem-primer and .opencode/skills/ecosystem-primer in your project.
Going by SKILL.md and its folder, LangChain Ecosystem Primer needs the command-line tools its instructions call (rg) and credentials named ANTHROPIC_API_KEY, OPENAI_API_KEY, TAVILY_API_KEY and LANGSMITH_API_KEY.
SKILL.md names 1 domain. In commands or code: docs.langchain.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
LangChain Ecosystem Primer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with LangChain Ecosystem Primer: LangSmith Trace Debugging (ComposioHQ/awesome-claude-skills, 77k stars), Docs Code Samples (langchain-ai/docs, 426 stars), Deepagents Setup Configuration (soba-labs/langchain-agent-skills, 107 stars) and Agentsop Observability Setup (agentsope/SkillAlchemy, 466 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
langchain-ai (a GitHub organization, an official publisher) maintains it in langchain-ai/langchain-skills, which has 1,274 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 8, 2026.
Source: langchain-ai/langchain-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.