一组针对代理优化的 LangChain、LangGraph 和 LangSmith 技能,用于 AI 编码助手。
一组针对代理优化的 LangChain、LangGraph 和 LangSmith 技能,用于 AI 编码助手。
A comprehensive collection of agent-optimized skills for AI coding assistants working in the LangChain ecosystem. These skills cover the complete development lifecycle from project setup to production deployment, monitoring, debugging, and Deep Agents setup/configuration.
Each skill is a self-contained package with a SKILL.md entry point plus optional scripts, references, and templates.
| Skill | Description |
|---|---|
| langgraph-project-setup | Initialize and configure LangGraph projects (structure, langgraph.json, env vars, dependencies). |
| langgraph-agent-patterns | Multi-agent coordination patterns: supervisor, router, orchestrator-worker, handoffs. |
| langgraph-state-management | State schemas, reducers, persistence, checkpoint inspection, and migration workflows. |
| langgraph-error-handling | Retry strategies, LLM-based recovery loops, and human-in-the-loop escalation patterns. |
| langgraph-testing-evaluation | Test and evaluate LangGraph agents with unit/integration patterns, trajectory evaluation, LangSmith dataset evals, and A/B comparisons. |
| langsmith-trace-analyzer | Fetch, organize, and analyze LangSmith traces for debugging and performance optimization. |
| langsmith-deployment | Deploy, monitor, and manage LangGraph applications in production (Cloud, Hybrid, Standalone). |
| deepagents-setup-configuration | Initialize, configure, and validate Deep Agents projects (Python/JavaScript), including middleware, backends, subagents, persistence, and migration guidance. |
| deepagents-planning-todos | Master the write_todos tool for task planning and decomposition in Deep Agents, with patterns for research, coding, analysis tasks, and trace visualization. |
| skill-creator | Guidance for creating and maintaining skills in this repo. |
9 production-ready skills covering the complete LangChain/LangGraph/Deep Agents development lifecycle:
Plus the skill-creator meta-skill for extending this collection.
Optional (recommended for contributors): create and sync a local environment.
uv venv --python=3.12
uv syncskills/ and open its SKILL.md.AGENTS.md.Example: initialize a new skill using the repo tooling.
uv run skills/skill-creator/scripts/init_skill.py --path skills//plugin marketplace add soba-labs/langchain-agent-skills/plugin install langgraph-skills@soba-labs-langchain-agent-skillsThree bundles are available: langgraph-skills (project setup, agent patterns, state management, error handling), langsmith-skills (trace analyzer, deployment) and deepagents-skills (setup and configuration, planning and todos). Each bundle also ships skill-creator.
Or use the interactive menu:
/plugin menuFor local development:
claude --plugin-dir ./path/to/langchain-agent-skillsOnce installed, Claude Code will automatically use these skills when relevant.
These skills can be shared by copying a skill folder (for example skills/langgraph-agent-patterns/) into another repository or a supported assistant skills directory.
Codex reads skills from .agents/skills in a repo and ~/.agents/skills globally
(Codex customization docs).
The SKILL.md format is identical to Claude Code's, so no conversion is needed.
git clone https://github.com/soba-labs/langchain-agent-skills.git
# For one project
mkdir -p .agents/skills && cp -r langchain-agent-skills/skills/* .agents/skills/
# Or for every project
mkdir -p ~/.agents/skills && cp -r langchain-agent-skills/skills/* ~/.agents/skills/This repository also ships a Codex plugin manifest at .codex-plugin/plugin.json, so it can be
installed as a Codex plugin from a local marketplace rather than copied by hand.
OpenCode searches the widest set of locations and will find these skills in any of them. Per project
it reads .opencode/skills/, .claude/skills/ and .agents/skills/; globally it reads
~/.config/opencode/skills/, ~/.claude/skills/ and ~/.agents/skills/. Either placement above
therefore works unchanged, or:
mkdir -p .opencode/skills && cp -r langchain-agent-skills/skills/* .opencode/skills/Option 1: Remote rule (GitHub)
https://github.com/soba-labs/langchain-agent-skills.gitOption 2: Local installation
# Project-level
git clone https://github.com/soba-labs/langchain-agent-skills.git .cursor/skills/agent-skills
# User-level
git clone https://github.com/soba-labs/langchain-agent-skills.git ~/.cursor/skills/agent-skillsUsage: type / in Agent chat to search and select skills by name.
If your assistant does not support skills directly, point it at the skill file:
Read skills/langsmith-deployment/SKILL.md for production deployment guidance
Read skills/langgraph-agent-patterns/SKILL.md for multi-agent patternsThe skills themselves are harness-agnostic: one SKILL.md with name and description frontmatter,
optional scripts/, references/ and assets/. Claude Code, Codex and OpenCode all read that same
format and all use progressive disclosure, so nothing in skills/ is specific to one assistant. Only
discovery and distribution differ, and this repository ships all three:
.claude/skills/ (project) and ~/.claude/skills/ (global); distribution via
.claude-plugin/marketplace.json..agents/skills/ (project) and ~/.agents/skills/ (global); distribution via
.codex-plugin/plugin.json..opencode/skills/, .claude/skills/ and .agents/skills/, plus the global
equivalents, so it is satisfied by either of the above.The repo root carries .claude/skills and .agents/skills as symlinks to skills/, which means all
three assistants discover the skills when this repository is itself the working project (contributors
get them for free). Windows contributors may need git config core.symlinks true.
skills/ - 10 skill packages (9 production skills + skill-creator).claude-plugin/marketplace.json - Marketplace manifest for Claude Code*.skill exports - Generated distribution artifactsPLAN.md - Roadmap and implementation ordering notesAGENTS.md - Complete development guidelines and workflowCommunity contributions are welcome. We want to build great, comprehensive, and widely used LangChain agent skills together.
AGENTS.md while implementing:uv run for Python scripts.references/.uv run skills/skill-creator/scripts/quick_validate.py skills//.PLAN.md item (if applicable).quick_validate.py output, manual verification).Keep changes focused and actionable. AGENTS.md is the single source of truth for workflow, tooling, and architecture rules.
暂无开放 Issues,或尚未同步最近议题。