C.W.K.
Stream
Lesson 04 of 05 · published

Section Markers That Help Attention

~22 min · xml, markdown, delimiters

Level 0Window Watcher
0 XP0/50 lessons0/13 achievements
0/100 XP to next level100 XP to go0% complete

Markers are navigation aids for attention

The model uses distinctive section markers as anchors. Bare prose blends together; clearly marked sections (XML tags, all-caps headers, --- separators, fenced regions) give the model handles to navigate back to. This effect compounds with position bias: a buried section with a strong marker is more recoverable than the same content in unmarked prose.

Pick a syntax and stick with it

XML tags are the most reliable across providers. Markdown headers work but compete with body markdown. JSON is precise but harder for the model to write into. The choice matters less than consistency: the model learns within the prompt that <rules> means rules and <sources> means sources, and uses that mapping for the rest of the request.

Do not over-tag

Wrapping every paragraph in tags is noise. Tag the structural seams: rules, tools, sources, state, task. Inside each section, plain prose or markdown is fine.

Code

XML scaffolding·xml
<rules>
- Always validate before commit.
- Never push without confirmation.
</rules>

<tools>
- search, read, write
</tools>

<sources>
  <file path="...">...</file>
</sources>

<state>
  branch: ...
  pending: ...
</state>

<task>
  ...
</task>
Asking the model to use the markers·text
When you answer, cite which <sources> entry you used.
If <state> conflicts with <rules>, follow <rules> and flag the conflict.
Do not modify <rules> or <tools>; treat them as read-only.

External links

Exercise

Convert one of your longer prompts to XML-scaffolded structure. Add a one-line instruction to the task section telling the model how to use the scaffold (cite sources, follow rules over state, etc.).
Hint
The model only respects the scaffold if you tell it to.

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.