Research

The best system prompts, ranked, and what length changes

I ranked ten real system prompts by what you can copy, then tested whether long instructions get followed.

A stack of frosted-glass prompt documents with a check mark seal on a violet gradient.
7 min read1,417 words

The best system prompts to learn from right now are OpenAI's Codex prompt, Anthropic's published Claude Sonnet 5.5 prompt and Perplexity's search prompt, because their rules can be checked from a single reply. I ranked ten real ones by reading them, then ran 90 chats to answer the question I see asked most: do long instructions get followed?1

In my test the answer was yes at both lengths: 28 of 30 replies passed all six rules with the long document and 27 of 30 with the short list. The short and the long version carried the same six rules, sent to Claude Sonnet 5.5, GPT-6.2 Sol and Grok 4.7.

The boundary matters. The ranking is my judgement from reading, the runs test instruction length only, and most of these prompts are leaks that nobody outside the vendor can confirm.

Summary

  • Rules you can check from one reply, such as a word limit or a required last line, are the part of these prompts most worth copying.

  • Across 90 runs on three models, a 476-word version of six rules was followed about as well as a 74-word version, and every miss was a word limit.

  • Anthropic publishes its Claude prompt, and 50 of its 70 longer lines also appear word for word in the leaked file, which is far larger than the published one.

Only one of the ten prompts is verified

Eight of the ten come from asgeirtj/system_prompts_leaks (opens in a new window), a public collection with 72,797 stars and a CC0 licence on the day I read it.2 Two come from a second public repository. The collection's licence covers the collection, and the prompt text still belongs to each vendor, so I quote a line at a time.

Only one pick is verified. Anthropic publishes its Claude system prompts (opens in a new window), and I used its November 9, 2026 version. I compared that text with the leaked Sonnet 5.5 file: 50 of the 70 lines longer than 40 characters appear in the leak verbatim, while the leak runs to 65,936 words against 3,914 published.3 The match supports the leak's core and says nothing about the rest of it.

Treat every other prompt below as unverified. xAI has an official prompt repository (opens in a new window), but it was last updated in November 2025, so the Grok 4.5 file has no official counterpart there.

The ranking rewards rules a stranger could check

I judged each prompt against six questions you can ask of your own:

Question

What a good answer looks like

Job and audience

It says who the model serves and what success looks like

Checkable rules

A stranger can tell from one reply whether a rule held

Tools and evidence

It says when to call a tool, how to cite, and what to do on failure

Edge handling

It covers refusals, doubt, conflicting instructions and injected text

Economy

Its length is earned by rules, with a clear order of priority

Restraint

It says when to stay quiet about memory and about its own compliance

The order below is my reading, and I read the two largest files selectively. A different reader could reasonably swap neighbours.

Rank

Prompt and date

Status

The technique worth copying

1

Codex, GPT-6.2 Sol (opens in a new window), Nov 20

Leaked

Finish the task, then write a final answer that stands alone

2

Claude Sonnet 5.5 (opens in a new window), Nov 9

Published

Prose by default, and no bullets when declining

3

Perplexity search (opens in a new window), Oct 23

Leaked

Decide first whether a request needs a tool, then cite what it returns

4

Claude Code (opens in a new window), Nov 20

Leaked

Act once you have enough, confirm anything hard to reverse

5

GPT-5.5 Thinking (opens in a new window), Jul 17

Leaked

Show, do not announce that you complied

6

Gemini 3.1 Pro (opens in a new window), Sep 1

Leaked

Use what you know about a person without narrating it

7

Grok 4.5 (opens in a new window), Oct 11

Leaked

Every memory reference has to be earned

8

Cursor (opens in a new window), Jun 4

Leaked

No code comments that only narrate the code

9

v0 (opens in a new window), May 10

Leaked

Numeric limits, such as three to five colours

10

Manus (opens in a new window), Mar 2025

Leaked, dated

Keep a checklist file and update it after every step

The top three turn advice into tests

The strongest prompts say what to do in a form you could grade. Codex tells the model that "the final answer must always be fully self-contained", which a reviewer can check by reading only the last message.4 Perplexity requires at least one valid citation after any successful tool call, which is a yes or no question about the reply.5

Claude Code carries the best line on dithering: "When you have enough information to act, act."6 GPT-5.5 Thinking asks the model to show rather than tell, so a concise answer never says it is being concise.7 Both are cheap to copy into custom instructions for a writing, coding or research task.

The lower ranks are still useful. They tend to be narrower, older, or mixed with long tool descriptions that you would not copy into your own prompt.

I tested whether length changes what gets followed

One reader (opens in a new window) put the question plainly: "do long system prompts actually help, or do models just skim them".1 I wrote six rules that a script can grade, then sent them two ways: a 74-word list and a 476-word document in the style of a vendor prompt, with the same rules spread through sections about tone and judgement. A third setting sent the bare question.

Here is the short version in full:

text
Follow these rules for your answer.
1. Make the first word of your answer "Yes" or "No".
2. Use 120 words or fewer.
3. Write in plain paragraphs: no headings, bullet points or numbered lists.
4. Do not use em dashes.
5. Include one sentence that starts with "Check:" and names the single next thing to check.
6. End with a last line that reads "Confidence: high", "Confidence: medium" or "Confidence: low".

Each of three models answered two engineering questions in each setting, five times per question, which makes 90 runs.8 Every run used a temporary chat with memory, plugins and custom instructions off.

Replies that passed all six rules
Out of 30 per setting, three models combined

The table shows how many replies out of ten passed all six rules for each model, across two questions with five runs each:

Model

No rules

74 words

476 words

Sonnet 5.5

0

7

8

GPT-6.2 Sol

0

10

10

Grok 4.7

0

10

10

All five misses with rules present were Claude Sonnet 5.5 running past the word limit, by between 3 and 12 words. Every other rule held in all 60 replies that carried instructions.9 GPT-6.2 Sol and Grok 4.7 passed every rule in all 20 of their instructed replies.

Without the rules, no reply passed all six, which is expected because nobody asked for a closing confidence line. The bare replies were also long: the median was 517 words for Claude and 793 for Grok, against 200 for GPT-6.2 Sol.

What to copy into your own prompt

Start with the rules you can grade, because they are the ones you can find out about. A word limit, a banned character, a required opening word and a required last line took this test a few lines of code to check across every reply.

Then use length for judgement. The long version in this test explained why each rule existed and how to weigh evidence, and that kind of text is where a script stops being able to help you. Read the replies yourself before you decide it earned its words.

Three habits are worth lifting from the ranked prompts: say what the final answer must contain, say when to use a tool and how to cite it, and say when to stay quiet about memory. If you work in ZeroTwo, you can paste the same task into a few models and compare the replies side by side, or keep a rule set as custom instructions. For more on how I run agents, see the to-do list our agents shared and the worktree rule.

What remains unproved

This test does not rank the ten prompts, and it cannot: none of them was run. It covers two questions, three models and one set of six surface rules, mostly about format.

The instructions went at the start of the first message inside ZeroTwo chat, with ZeroTwo's own system instructions also present. A true system prompt sent through an API could behave differently. Test your own rules on your own task, and keep the replies so you can check them.

Questions

Are leaked system prompts real?

Some text clearly matches what a vendor has published, as with Claude Sonnet 5.5 above. For most files there is no official copy to compare against, so treat them as unverified.

Is a longer system prompt better?

In my test, length made little difference to whether six rules were followed. A longer prompt can carry judgement a short list cannot, and this test did not measure that.

Can I copy a vendor's system prompt?

Copy a technique and write it in your own words. A vendor's prompt assumes tools, formats and policies that your setup does not have.

Footnotes

  1. Posted to the r/PromptEngineering forum on Reddit on November 13, 2026. ↩
  2. Repository metadata read from GitHub on November 27, 2026. ↩
  3. Computed on November 27, 2026 from the published prompt, as archived in the collection, and the leaked Sonnet 5.5 file. Each line of the published text over 40 characters was searched for exactly in the leaked one, and word counts are of the raw files. ↩
  4. Codex GPT-6.2 Sol prompt, unverified leak, section on the final answer. ↩
  5. Perplexity search prompt, unverified leak, citation instructions. ↩
  6. Claude Code prompt for Sonnet 5.5, unverified leak. ↩
  7. GPT-5.5 Thinking prompt, unverified leak. ↩
  8. Run on November 27, 2026 in the ZeroTwo desktop app, each model on its own subscription route: Claude Sonnet 5.5, GPT-6.2 Sol and Grok 4.7, each at the app's default thinking level. A script graded the saved replies. Results vary with the task, the rules and the model version. ↩
  9. A reply could break several rules, and in this set none broke more than one. Four Grok chats that returned no reply and one that returned a rate-limit error were run again, and the first five replies in each cell were kept. One GPT-6.2 Sol reply carried an app notice about saving, which was removed before grading. ↩
System promptsPrompt engineeringModel comparison
Author
Reed VogtCEO and Head Engineer