LA

langchain-ai/langchain-skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1316 stars 质量 74 趋势 46MIT

langchain-ai/langchain-skills 是从 https://github.com/langchain-ai/langchain-skills. 导入的代理技能候选人

概览

langchain-ai/langchain-skills 是从 https://github.com/langchain-ai/langchain-skills. 导入的代理技能候选人

概述(AI 翻译)

⚠️ — 该项目处于早期开发阶段。API和技能内容可能会发生变化。

利用LangChain、LangGraph和Deep Agent构建代理的代理技能。

针对 LangSmith 专属的追踪和数据集工作流程,请使用 langsmith-skills。

支持的编码代理

这些技能可以通过npx skills安装,适用于任何支持代理技能规范的代理,包括Claude Code、Cursor、Windsurf等。

安装

快速安装

使用 npx skills:

本地化(当前项目):

全球(所有项目):

将技能与特定代理关联:

Codex 还支持通过内置技能安装程序安装仓库托管技能;详见官方 Codex 技能文档。


Claude 代码插件

直接安装为 Claude Code 插件:


安装脚本(仅限 Claude Code 和 Deep Agents CLI)

或者,克隆仓库并使用安装脚本:

旗帜 / 论点 描述
DIRECTORY 目标项目目录(默认:当前目录,--global忽略)
--claude 安装Claude代码(默认)
--deepagents 为深度代理安装 CLI

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

LangChain Skills

⚠️ — This project is in early development. APIs and skill content may change.

Agent skills for building agents with LangChain, LangGraph, and Deep Agents.

For LangSmith-specific trace and dataset workflows, use langsmith-skills.

Supported Coding Agents

These skills can be installed via npx skills for any agent that supports the Agent Skills specification, including Claude Code, Cursor, Windsurf, and more.

Installation

Quick Install

Using npx skills:

Local (current project):

npx skills add langchain-ai/langchain-skills --skill '*' --yes

Global (all projects):

npx skills add langchain-ai/langchain-skills --skill '*' --yes --global

To link skills to a specific agent:

# Claude Code
npx skills add langchain-ai/langchain-skills --agent claude-code --skill '*' --yes --global

# Codex
npx skills add langchain-ai/langchain-skills --agent codex --skill '*' --yes --global

# GitHub Copilot (including Copilot in VS Code)
npx skills add langchain-ai/langchain-skills --agent github-copilot --skill '*' --yes --global

Codex also supports installing repository-hosted skills with its built-in skill installer; see the official Codex skills documentation.


Claude Code Plugin

Install directly as a Claude Code plugin:

/plugin marketplace add langchain-ai/langchain-skills
/plugin install langchain-skills@langchain-skills

Install Script (Claude Code & Deep Agents CLI only)

Alternatively, clone the repo and use the install script:

# Install for Claude Code in current directory (default)
./install.sh

# Install for Claude Code in a specific project directory
./install.sh ~/my-project

# Install for Claude Code globally
./install.sh --global

# Install for Deep Agents CLI in a specific project directory
./install.sh --deepagents ~/my-project

# Install for Deep Agents CLI globally (includes agent persona)
./install.sh --deepagents --global
Flag / Argument Description
DIRECTORY Target project directory (default: current directory, ignored with --global)
--claude Install for Claude Code (default)
--deepagents Install for Deep Agents CLI
--global, -g Install globally instead of current directory
--force, -f Overwrite skills with same names as this package
--yes, -y Skip confirmation prompts

Usage

After installation, set your API keys:

export OPENAI_API_KEY=      # For OpenAI models
export ANTHROPIC_API_KEY=   # For Anthropic models

Then run your coding agent from the directory where you installed (for local installs) or from anywhere (for global installs).

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add langchain-ai/langchain-skills
新手?先看 mcpskill.org 教程 →