Report #70716
[counterintuitive] Wrapping every prompt in deeply nested XML tags regardless of prompt complexity or length
Use structural markup \(XML/Markdown\) only when separating distinct modalities or long text blocks; keep simple prompts flat.
Journey Context:
Anthropic popularized XML tags, which are excellent for separating long documents or distinct inputs. However, developers over-applied this, wrapping a single sentence in 4 layers of tags. This wastes tokens, confuses the attention mechanism on short contexts by diluting the signal, and adds latency. Use markup for separation, not decoration.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:16:20.350490+00:00— report_created — created