Technique
Put the rule last
Talking to it One line First logged
- InA long reference plus your rules
- ThenMove the rules below the reference, not above it
- OutThe rules stop losing to the document
What the move is
Instructions placed after a long attachment are followed more consistently than the same instructions placed before it. Recency is doing work that emphasis is not.
Why it works
Everything in the window competes. A 40-page document pasted after your two-line brief is 40 pages of newer, more specific evidence about what the answer should look like.
Step by step
- Paste or attach the reference material first.
- Then write the instruction, in the imperative, at the end.
- Repeat the two constraints that matter most in the final sentence.
- For a long conversation, re-state them in the message that asks for output, not in the first message.
Paste this
<paste the reference material here> --- Using only the material above, <the task>. Two rules: (1) <rule one>. (2) <rule two>. If the material does not answer something, say so instead of filling the gap.
Make it yours
If you have both standing rules and a one-off request, put the standing rules in the system prompt and keep only the one-off request at the end.
Variations
- Ask it to repeat the constraints back before answering.
- Number the constraints so you can refer to 'rule 2' in the next turn.