Agent skill · Content & Marketing

langchain-content-blocks

Works correctly with LangChain 1.0's typed content blocks on AIMessage.content\n\ \u2014 text, tool_use, image, thinking, document \u2014 across Claude, GPT-4o, and\n\ Gemini, including multi-modal composition and tool-call iteration. Use when\ncomposing\ \ multi-modal messages, iterating tool_use blocks, handling Claude's\nthinking content,\ \ or unifying image inputs across providers. Trigger with\n\"langchain content blocks\"\ , \"AIMessage.content\", \"tool_use block\", \"claude\nimage input\", \"langchain\ \ multimodal\", \"thinking block replay\",\n\"claude citations\".\n"

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

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

Facts
Files in the skill folder: 6
SKILL.md size: 14 KB
Bundled scripts: none
Version: 2.5.0
Declared author: Jeremy Longshore <jeremy@intentsolutions.io>
Allowed tools: ReadWriteEditBash(python:*)
Requires: Designed for Claude Code, also compatible with Codex
Path: skills/.curated/langchain-content-blocks/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 Content Blocks (Python) ## Overview On Claude, `AIMessage.content` is `list[dict]` even for pure text — so any code from an OpenAI-first tutorial that calls `message.content.lower()` or `message.content.split()` crashes with `AttributeError: 'list' object has no attribute 'lower'` on the first production Claude call (P02). Multi-modal code that works on GPT-4o breaks on Claude because

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

Works correctly with LangChain 1.0's typed content blocks on AIMessage.content\n\ \u2014 text, tool_use, image, thinking, document \u2014 across Claude, GPT-4o, and\n\ Gemini, including multi-modal composition and tool-call iteration. Use when\ncomposing\ \ multi-modal messages, iterating tool_use blocks, handling Claude's\nthinking content,\ \ or unifying image inputs across providers. Trigger with\n\"langchain content blocks\"\ , \"AIMessage.content\", \"tool_use block\", \"claude\nimage input\", \"langchain\ \ multimodal\", \"thinking block replay\",\n\"claude citations\".\n"

How do I install it?

Run `npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill langchain-content-blocks --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