langchain-dev-guide

langchain-dev-guide is a skill for Claude Code, Codex from ob-labs/agentseek. It costs 81 tokens per session (1,598 once invoked), scanned A, original, Apache-2.0.

A reference guide to common engineering problems and verified fixes in LangChain and LangGraph, tools for building applications with language models and workflow graphs.

In plain words
What is it for?
Use it when investigating a LangChain or LangGraph issue, integrating an OpenAI-compatible model, configuring middleware, or debugging Deep Agents.
Why use it?
It helps diagnose confusing behavior in agents, structured responses, model connections, middleware, streaming, and multi-agent systems.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ob-labs/agentseek/langchain-dev-guide
Any agent
npx skills add ob-labs/agentseek --skill langchain-dev-guide
Clone the repo
git clone --depth 1 https://github.com/ob-labs/agentseek

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for langchain-dev-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/ob-labs/agentseek/langchain-dev-guide.svg)](https://agentmods.dev/skills/ob-labs/agentseek/langchain-dev-guide)
Your own site
<a href="https://agentmods.dev/skills/ob-labs/agentseek/langchain-dev-guide"><img src="https://agentmods.dev/badge/skills/ob-labs/agentseek/langchain-dev-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,598 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00081 $0.01598
Opus 5 $0.00041 $0.00799
Sonnet 5 $0.00016 $0.00320
Haiku 4.5 $0.00008 $0.00160

Measured 5d ago against content hash d5e651af8d4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

langchain-dev-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (template/chat_model.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/langchain-dev-guide/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LangChain Dev Guide

A systematic summary of typical issues, non-obvious behaviors, and verified solutions encountered in real engineering with the LangChain / LangGraph ecosystem. Every entry comes from a real development scenario and is organized by category.

[!IMPORTANT] This skill is an engineering practice reference, not an introductory tutorial. Each entry assumes the developer is already familiar with basic LangChain concepts (agent, tool, message, graph).

How to Use

  1. First use the "Scenario Index" below to locate the category file your problem belongs to.
  2. When unsure which category applies, search keywords directly in the "Common Issues Quick Reference".
  3. For ContextSeek / semantic memory: start with contextseek-middleware.md to identify your scenario, then go to contextseek-params.md for specific parameter configuration issues.
  4. Once you find the relevant section, read it in depth — every entry follows the structure Symptom → Cause → Solution → Lessons learned.

Scenario Index

Category File Trigger Scenarios
Deep Agents reference/deepagents.md Model selection, filesystem backend, disabling the general-purpose sub-agent, file permissions, long-term memory, long SKILL.md truncated by read_file 100-line default
Structured Output reference/structured-output.md Model-level method selection, create_agent strategies, missing fields, unsupported tool_choice, provider-side 400 errors on forced schema tool selection
OpenAI-compatible Model Integration reference/model-integration.md Pitfalls when using ChatOpenAI against OpenAI-compatible providers, integrating Reasoning models (chain-of-thought / reasoning_content)
CN Model Integration reference/cn-models/README.md Generating LangChain integration classes for Chinese providers (DeepSeek, Qwen, GLM, Moonshot)
Middleware reference/middleware.md Middleware execution order, state_schema merging, HITL resume values, modifying state from wrap_model_call
Streaming Output reference/streaming.md Choosing between stream_events and stream, distinguishing tokens from multiple LLMs, disabling streaming, custom progress events
Multi-Agent Orchestration reference/multi-agent.md subagents vs handoffs, tool-per-agent vs dispatch, retrieving subagent state, trimming subagent boilerplate, quickly building handoff setups
Other Common Issues reference/common-issues.md High-frequency standalone issues that don't fit the categories above. Currently includes: tools returning data to both the model and the application layer, MCP tools unable to access runtime context, invalid_tool_calls, and dynamic system prompt placeholders
ContextSeek — Use Case Scenarios reference/contextseek-middleware.md Agent loses context across sessions, tool call auditing, cross-topic knowledge discovery (dream), SRE provenance / confidence tracing, enterprise knowledge cold-start (DataPlug)
ContextSeek — Parameter & Config Issues reference/contextseek-params.md scope isolation, auto_store / record_tool_calls write volume, auto_compact throttling and shutdown, retrieval_tags / min_score filtering, tool_arg_overrides, dream trigger conditions, dream item decay, evidence_chain vs chain_confidence, DataPlug vs ctx.add(), plug() scope priority, auto_dream dual-gate triggering

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 73 lines · 81 tokens per session scan A d5e651af8d4f

Subscribe to this mod's changes

langchain-dev-guide is a skill published in the GitHub repository ob-labs/agentseek (175 stars, last pushed 3d ago), licensed Apache-2.0. It adds 81 tokens to every session and 1,598 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

mcp-builder

DEPRECATED: This skill has been replaced by mcp-app-builder. Check if mcp-app-builder is available in the skills folder. If not, install it: npx skills install mcp-use/mcp-use --skill mcp-app-builder Use mcp-app-builder instead of this skill. Build Model Context Protocol (MCP) servers with mcp-use framework. Use when…

Shubhamsaboo/awesome-llm-apps · 123 tokens

thinking-out-loud

A contract for what the agent does when a long, messy, stream-of-consciousness ramble arrives (usually voice dictation): act on nothing until the echo brief is approved. The echo audits the entire transfer, mission, locked decisions and constraints, open questions, flips and parked tangents, with the model's…

Shubhamsaboo/awesome-llm-apps · 206 tokens

hugging-face-evaluation

Add and manage evaluation results in Hugging Face model cards. Supports extracting eval tables from README content, importing scores from Artificial Analysis API, and running custom model evaluations with vLLM/lighteval. Works with the model-index metadata format.

patchy631/ai-engineering-hub · 55 tokens

hugging-face-model-trainer

This skill should be used when users want to train or fine-tune language models using TRL (Transformer Reinforcement Learning) on Hugging Face Jobs infrastructure. Covers SFT, DPO, GRPO and reward modeling training methods, plus GGUF conversion for local deployment. Includes guidance on the TRL Jobs package, UV…

patchy631/ai-engineering-hub · 131 tokens

hugging-face-datasets

Create and manage datasets on Hugging Face Hub. Supports initializing repos, defining configs/system prompts, streaming row updates, and SQL-based dataset querying/transformation. Designed to work alongside HF MCP server for comprehensive dataset workflows.

patchy631/ai-engineering-hub · 49 tokens

hugging-face-cli

Execute Hugging Face Hub operations using the hf CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create repos, manage local cache, or run compute jobs on HF infrastructure. Covers authentication, file transfers, repository creation, cache operations, and cloud compute.

patchy631/ai-engineering-hub · 68 tokens