Prompt Instruction Priority Ranker

Order competing instructions in your prompt by importance to the model

Ad placeholder (leaderboard)

Prompt instruction priority ranker

When a prompt carries several rules, they compete for the model’s attention — and the model does not weigh them equally. Instructions near the start (primacy) and end (recency) of the prompt are followed more reliably than those stranded in the middle, a pattern often called “lost in the middle.” This tool takes your raw instructions and a priority order, then arranges them to exploit those effects and tags each with an explicit weight.

How it works

You enter your instructions and rank them top to bottom by importance. The ranker then builds a position-optimized block: the highest-priority rule is placed first, the second-highest is placed last, and the remaining rules fill the middle in descending order — so your two most important instructions occupy the two strongest positions. Each rule is prefixed with an explicit priority label, and a tie-breaker line tells the model which rule wins if two instructions conflict. The result is a drop-in instruction block for any system or user prompt.

Tips and notes

  • Put hard constraints at rank 1. Safety rules, format requirements, and “never do X” lines belong at the top so they land in the primacy slot.
  • Reserve rank 2 for the second non-negotiable. It gets the recency slot at the end, the next-strongest position.
  • Keep each instruction atomic. One rule per line ranks cleanly; compound instructions blur the priority signal.
  • Re-test after reordering. Position effects are real but probabilistic — verify the model now honors the rule that was previously ignored.
Ad placeholder (rectangle)