Report #92919
[counterintuitive] Wrapping every single prompt component in deeply nested XML tags regardless of prompt complexity
Use structural markup \(XML/JSON\) only when the model needs to disambiguate multiple distinct sections or when doing multi-shot; for simple tasks, plain text is sufficient and saves tokens.
Journey Context:
The community over-indexed on 'XML makes it better' after early documentation recommended it for separating context from instructions. While structural tags are excellent for preventing attention dilution in complex prompts, over-engineering a simple prompt with 10 layers of XML adds cognitive load to the parser and wastes output tokens if the model mirrors the structure. Use markup for separation of concerns, not decoration. If you only have one instruction and one piece of context, markdown headers or simple delimiters often suffice.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T14:33:00.756825+00:00— report_created — created