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.
npx agentmods add skills/nick-railsback/skill-engine/langchain-contextnpx skills add nick-railsback/skill-engine --skill langchain-contextgit clone --depth 1 https://github.com/nick-railsback/skill-engineWrote 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.
[](https://agentmods.dev/skills/nick-railsback/skill-engine/langchain-context)<a href="https://agentmods.dev/skills/nick-railsback/skill-engine/langchain-context"><img src="https://agentmods.dev/badge/skills/nick-railsback/skill-engine/langchain-context.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00101 | $0.02868 |
| Opus 5 | $0.00051 | $0.01434 |
| Sonnet 5 | $0.00020 | $0.00574 |
| Haiku 4.5 | $0.00010 | $0.00287 |
Grade A, and why
langchain-context 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 3d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LangChain context navigator
Overview
This navigator covers the LangChain Python ecosystem in depth, plus a thin orientation pointer for the JS port:
- Primary: the langchain-ai/langchain Python monorepo —
langchain-core, the newlangchainpackage (v1; built fromlibs/langchain_v1/), the legacylangchain-classicpackage (built fromlibs/langchain/), in-tree partner integrations, and the auxiliary libs (text-splitters, model-profiles, standard-tests). - Python companion repos: LangGraph (
langchain-ai/langgraph), LangSmith SDK (langchain-ai/langsmith-sdk), Deep Agents (langchain-ai/deepagents), and the out-of-tree partner monoreposlangchain-ai/langchain-googleandlangchain-ai/langchain-aws. Plus the docs source atlangchain-ai/docs. - JS port (thin coverage only):
langchain-ai/langchainjsis included as a pointer reference for orienting JS questions — full JS depth is out of scope; follow source links into the JS repo for non-trivial questions.
When asked a question this navigator's domain covers:
- Scan the Catalog below for the matching topic.
- Follow the link to read the reference file.
- If the question spans multiple references, consult the Cross-reference map.
- If a reference points at a source URL for deeper detail, follow it only if the reference itself didn't answer the question.
For first-time orientation — what packages exist, how langchain vs langchain-classic differ, where companion repos live — start with langchain-overview.md.
Claims policy
Cite by default, and make load-bearing claims verifiable:
- Inline-cite every load-bearing claim with its SHA-pinned permalink — the
https://github.com/langchain-ai/langchain/blob/<sha>/libs/langchain_v1/langchain/agents/factory.py#L17-L25-style link the reference gives for that fact (versions, defaults, signatures, deprecations, behavior a user could get wrong by guessing). Put the permalink inline, on the claim. Use a bare filename parenthetical (e.g. (langchain-v1-agents.md)) only when the reference genuinely provides no permalink. This inline permalink is what the grounded-citation eval (SELF-AUDIT Check 8) grades. - Don't cite orientational prose — "what is X?", "when did X launch?" — answer those from this navigator alone; opening a reference is itself a citation gesture.
- End with a one-line provenance footer, emitted italic, formatted
*References consulted: foo.md, bar.md. Grounded in {{LIBRARY}}@{{VERSION}} — [reference index]({{INDEX_URL}}).*The footer is a summary of what you read — not a substitute for the inline permalinks on the claims. The{{LIBRARY}}/{{VERSION}}/{{INDEX_URL}}tokens are agent-substituted at answer time, so they appear literally in the stampedSKILL.md. - If no reference was opened, say so in the footer ("Answered from general knowledge — no {{LIBRARY}} references consulted") — never fake it.
What ships with it
23 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/deepagents-overview.md 10 KB
- references/docs-overview.md 10 KB
- references/langchain-aws-overview.md 11 KB
- references/langchain-classic.md 9.1 KB
- references/langchain-core-callbacks.md 8.7 KB
- references/langchain-core-models.md 9.1 KB
- references/langchain-core-retrieval.md 8.0 KB
- references/langchain-core-runnables.md 7.5 KB
- references/langchain-google-overview.md 8.2 KB
- references/langchain-overview.md 8.6 KB
- references/langchain-partners.md 9.4 KB
- references/langchain-text-splitters.md 8.4 KB
- references/langchain-v1-agents.md 9.5 KB
- references/langchainjs-overview.md 7.0 KB
- references/langgraph-overview.md 11 KB
- references/langsmith-sdk-overview.md 9.9 KB
- research/.discover-cache.json 1.1 KB
- research/.engine-stats.json 282 B
- research/.research-state.json 22 B
- research/review-state.json 97 B
- research/sessions/self-audit-20260518-152209.json 991 B
- research/source-paths.json 4.2 KB
- verify.sh 61 KB runs code
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.
- 3d ago First seen · 110 lines · 101 tokens per session scan A 4115d26b6622
langchain-context is a skill published in the GitHub repository nick-railsback/skill-engine (2 stars, last pushed 27d ago), licensed MIT. It adds 101 tokens to every session and 2,868 once invoked, about $0.0005 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-31.
Other skills, from other repositories
erpaval
Workflow for autonomous software development with the Kiro CLI (open Agent Skills standard). Classifiers route scope, complexity, directory state, and spec readiness before committing to Explore / Research / Plan / Act / Validate, then close the loop with a Compound step that persists lessons to .erpaval/solutions/…
product-discovery
File-first orchestrator for product discovery and spec frameworks. Frames the problem with a Discovery Lead, Product Analyst, or System Architect role. Spawns parallel framework agents (Double Diamond, How Might We, Jobs to Be Done, user stories with INVEST, EARS for AI-coder specs, Gherkin), synthesizes into a PRD or…
agent-ux-patterns
Agent UX patterns and human-in-the-loop design: Twilio A2H protocol, Levels of Autonomy (L0-L5), inbox pattern, progressive trust, decision journal, gate reviews, autonomous work reports. Six-phase methodology from vague pain point to concrete data model via landscape research and multi-direction brainstorming. Use…
meta-prompt-optimizer
Audit and rewrite prompts against Claude Opus 4.7 instruction-following best practices. Produces a scored audit plus a rewritten prompt. Use when the user asks to audit, review, critique, rewrite, improve, optimize, tighten, score, fix, migrate, or draft a prompt — including system prompts, CLAUDE.md files, Claude…
product-strategy
File-first orchestrator for business and product strategy frameworks. Frames the challenge with a CPO / CSO / VP Design role, spawns parallel framework agents (Rumelt kernel + Crux, Wardley Maps, Minto Pyramid as thinking structure, Working Backwards PR-FAQ as discovery artifact), synthesizes outputs into one strategy…
tech-stack-builder
Opinionated tech stack recommendations and settled library references. Two modes: (1) /build-stack runs parallel researcher agents to compare candidates and emit a stack report + ADRs for greenfield projects; (2) direct reference routing for coding with settled defaults. Use when the user asks to recommend a stack…