Agent skill · Databases

langchain-upgrade-migration

Migrate a LangChain 0.3.x Python codebase to LangChain 1.0 / LangGraph\ \ 1.0 without\nbreaking production \u2014 named breaking changes, codemod patterns,\ \ and a phased rollout.\nUse when upgrading LangChain or LangGraph from 0.2 or 0.3\ \ to 1.0, when hitting\nImportError after an upgrade, or when preparing a migration\ \ PR.\nTrigger with \"langchain 1.0 migration\", \"langchain upgrade\", \"LLMChain\ \ removed\",\n\"initialize_agent removed\", \"ConversationBufferMemory removed\"\ , \"astream_log deprecated\",\n\"langchain-anthropic 1.0\".\n"

jeremylongshoregithub.com/jeremylongshoreGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill langchain-upgrade-migration --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 13 KB
Bundled scripts: none
Version: 2.5.0
Declared author: Jeremy Longshore <jeremy@intentsolutions.io>
Allowed tools: ReadWriteEditGrepBash(python:*)
Requires: Designed for Claude Code, also compatible with Codex
Path: skills/.curated/langchain-upgrade-migration/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,596
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LangChain 1.0 Upgrade Migration (Python) ## Overview The first deploy after `pip install -U langchain` crashes on import with: ``` ImportError: cannot import name 'ChatOpenAI' from 'langchain.chat_models' ``` Fix the import, restart, and the next error lands: ``` ImportError: cannot import name 'LLMChain' from 'langchain.chains' AttributeError: module 'langchain.agents' has no attribute 'initial

More from claude-code-plugins-plus-skills
All skills →
About this skill
What does the langchain-upgrade-migration skill do?

Migrate a LangChain 0.3.x Python codebase to LangChain 1.0 / LangGraph\ \ 1.0 without\nbreaking production \u2014 named breaking changes, codemod patterns,\ \ and a phased rollout.\nUse when upgrading LangChain or LangGraph from 0.2 or 0.3\ \ to 1.0, when hitting\nImportError after an upgrade, or when preparing a migration\ \ PR.\nTrigger with \"langchain 1.0 migration\", \"langchain upgrade\", \"LLMChain\ \ removed\",\n\"initialize_agent removed\", \"ConversationBufferMemory removed\"\ , \"astream_log deprecated\",\n\"langchain-anthropic 1.0\".\n"

How do I install it?

Run `npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill langchain-upgrade-migration --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From jeremylongshore/claude-code-plugins-plus-skills, a repository with 2,596 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going