Everything You Paste Into Claude Code Gets Wrapped in XML Tags

Sauers_ · x · 2026-09-21

A developer points out that any message pasted into Claude Code is seen by the model wrapped in XML tags like <pastedcontent id="123a">. Useful to know when crafting prompts or debugging how the model treats pasted vs typed text.

Original post →

More from coding & agent

coding & agent channel →