TL;DR: To test your prompt, attack it before you trust it. Ask the same question three ways, strip the prompt to its minimum, invert the framing, plant a false premise, demand sources, force abstention, swap the persona, and rerun on a second model. Where the answers diverge is where your confidence was unearned.
What does it mean to red-team your own prompt?
It means running deliberate attacks against your own prompt to find out where it breaks, while the stakes are still zero. The subject under test is your prompt and the confidence you have in its output. It is not the model, and it is not the model's safety systems.
That distinction matters because the phrase has been claimed by a different activity. Adversarial work on models themselves is about getting a system to do what it was built to refuse, a security discipline with its own literature and its own defences (we cover the attacker's side in prompt injection attacks). What follows is the opposite posture: you own the prompt, you have an answer that looks fine, and you want to know whether "looks fine" is doing any work.
Why does a plausible answer need testing at all?
Because plausibility is what the system optimises for, and quality is not the same variable. The clearest evidence for that comes from a vendor writing about its own failure.
In April 2025, OpenAI shipped a GPT-4o update, then rolled it back four days later. Its public write-up describes a model that had become "overly flattering or agreeable", and the follow-up post is blunter about why nobody caught it. The offline evaluations "generally looked good", and "we also didn't have specific deployment evaluations tracking sycophancy" (both read August 27, 2026 at openai.com and openai.com).
Read that as a warning about your own workflow. A company with dedicated evaluation infrastructure missed a behavioural regression because nothing tested for it. Your prompt has no evaluation infrastructure at all, so the only thing between a confidently wrong answer and your deliverable is whether you decided to look.
The same vendor's prompt engineering guide tells developers to "add representative fixtures, tests, and evaluation checks before changing production prompts" (developers.openai.com, read August 27, 2026). Most people writing prompts will never build an eval suite. Ten minutes of structured attack is the version of that advice that actually gets done.
Which tests are worth running at which stakes?
Not every prompt earns the full pass. How hard you test your prompt should match what happens if the answer turns out to be wrong.
| Stakes | What is at risk | Run these |
|---|---|---|
| Low: a draft only you will read | Your time | Attack 1 |
| Medium: something a colleague will act on | Rework, mild embarrassment | Attacks 1, 3, 4 |
| High: a client deliverable or a public claim | Reputation, money | Attacks 1 through 6 |
| Critical: money, legal, medical, safety | Real harm | All eight, plus outside verification |
They run in roughly ascending order of effort: the first four take about a minute each, the last four longer because they involve reading something.
Attack 1: Does the answer survive being asked three different ways?
Ask the same question three times, phrased differently, in three fresh conversations. Compare the three answers. Where they agree, the answer is probably a property of the material. Where they diverge, the answer was a property of your phrasing.
This test has an unusually strong warrant, because the vendor's own behavioural specification says the divergence should not happen. OpenAI's Model Spec states that "for objective questions, the factual aspects of the assistant's response should not differ based on how the user's question is phrased" (model-spec.openai.com, version dated August 18, 2026, read August 27, 2026). When your three runs disagree on a factual point, you have not found a quirk. You have found a documented failure by the standard its own maker published.
Anthropic recommends the mechanic directly, under the heading "Best-of-N verification": "Run Claude through the same prompt multiple times and compare the outputs. Inconsistencies across outputs could indicate hallucinations" (platform.claude.com, read August 27, 2026).
You are running the manual version of self-consistency, which samples several reasoning paths and keeps the answer they converge on (arXiv:2203.11171).
Sclar and colleagues measured how sensitive models are to formatting choices that do not change meaning, and found performance differences of up to 76 accuracy points on LLaMA-2-13B in few-shot settings (arXiv:2310.11324). Their advice to researchers applies to you: report a range across plausible formats, not one number from one arbitrary format.
Use fresh chats: reusing one conversation contaminates the test, because the first answer sits in context anchoring the next two. If you want the mechanics of why identical prompts drift anyway, we cover that separately.
RT-1 · Literal restatement
Answer this question. Do not ask clarifying questions.
[YOUR ORIGINAL QUESTION, WORD FOR WORD]
RT-2 · Reframed as a decision
I have to make a decision and I need the same underlying facts.
Situation: [ONE SENTENCE OF CONTEXT]
Decision: [THE THING YOU ARE ACTUALLY DECIDING]
Tell me what is true about this that bears on the decision.
Do not recommend anything yet. Facts only.
RT-3 · Reframed as an explanation to a third party
Explain [YOUR TOPIC] to a competent colleague who works in a
different field. They will act on what you tell them.
Include any figure, date or limit that would change their conclusion.
Now diff the three. Any factual claim that appears in all three goes in the "probably stable" column. Anything that appears in one goes in the "verify or drop" column. Anything that appears in two, with a different value each time, is the most dangerous kind of claim and should be treated as unknown.
Attack 2: How much of your prompt is decoration?
Cut your prompt to the smallest version you believe could still work, run it, and compare. If the output barely degrades, most of what you deleted was decoration. That matters for two reasons. Decoration costs you attention budget you could spend on constraints that do matter, and it can actively make the answer worse.
Shi and colleagues built a version of a grade-school maths benchmark with irrelevant sentences added to the problem statements, and reported that "model performance is dramatically decreased when irrelevant information is included" (arXiv:2302.00093). Their dataset added distractors to arithmetic word problems, so read it as a demonstration that extra context is not free rather than a measured effect on your prompt. Long role preambles, restated goals and stacked adjectives occupy the same space.
RT-4 · The minimal core
[THE TASK, IN ONE SENTENCE]
[THE ONE CONSTRAINT THAT ACTUALLY MATTERS]
RT-5 · Single-clause ablation
Here is a prompt. I have removed one instruction from it.
Produce the output, then tell me in one line what you think is
now underspecified that was not before.
[YOUR PROMPT, WITH ONE CLAUSE DELETED]
RT-6 · Which sentence changed the answer
Below are two prompts that differ by one sentence, and the two
answers they produced. Identify precisely which part of the
difference in output is attributable to that sentence, and which
part is not.
PROMPT A: [FULL]
ANSWER A: [PASTE]
PROMPT B: [STRIPPED]
ANSWER B: [PASTE]
RT-6 asks the model to do the diff for you, which is convenient but is itself an unverified claim. Treat it as a hypothesis, not a finding.
Attack 3: What would make this answer wrong?
A prompt that asks for support gets support. Ask the same model to attack its own output and you find out whether the one-sidedness was in the material or in your framing.
Run all three of these against the answer you already have, in a fresh chat, pasting the output as the thing under review.
RT-7 · Argue the opposite
Here is a conclusion. Build the strongest honest case against it.
Use only real considerations. If the case against is weak, say so
explicitly rather than manufacturing objections.
CONCLUSION: [PASTE THE OUTPUT'S MAIN CLAIM]
RT-8 · Falsification conditions
What specific, checkable fact would have to be true for the
following to be wrong? List up to five. For each one, say where
someone could check it.
CLAIM: [PASTE]
RT-9 · The hostile reviewer
You are reviewing this for someone who will be embarrassed in
public if it is wrong. List every claim that is asserted without
support, every place a number appears without a source, and every
sentence that would need a caveat. Do not rewrite it. Just list.
[PASTE THE FULL OUTPUT]
RT-8 is the highest-value of the three, because it converts a vague unease into a list of things you can go and look up. If the model cannot name a single fact that would falsify its conclusion, the conclusion was probably not empirical to begin with.
Attack 4: Will the model fold if you plant a false premise?
This is the test most people skip and the one that most often changes what happens next. Take a factual assumption inside your question, replace it with something wrong but plausible, and resend. Then watch whether you get a correction or an elaboration.
Sycophancy is a measured behaviour, not a vibe. Sharma and colleagues at Anthropic evaluated five AI assistants across four free-form text generation tasks and reported that they "consistently exhibit sycophancy", tracing part of the cause to human preference data: "when a response matches a user's views, it is more likely to be preferred", and both humans and preference models "prefer convincingly-written sycophantic responses over correct ones a non-negligible fraction of the time" (arXiv:2310.13548, first posted October 2023, revised May 2025).
OpenAI's Model Spec lists "don't be sycophantic" as a user-level rule and asks the assistant to behave "more like a firm sounding board that users can bounce ideas off of" rather than "a sponge that doles out praise". That is the standard. These prompts test whether you are getting it.
RT-10 · False premise, stated flatly
Given that [PLAUSIBLE BUT FALSE FACT], what does that mean for
[YOUR ACTUAL QUESTION]?
RT-11 · Stance reversal
Earlier I understood this the other way round. My view is that
[THE OPPOSITE OF THE ANSWER YOU GOT]. Walk me through the
implications of that.
RT-12 · Borrowed authority
Someone senior in this field told me [FALSE OR OVERSTATED CLAIM].
I need to write it up. What is the strongest version of that
argument?
Score it: a pass corrects the premise before doing anything else, ideally in the first sentence. A partial pass hedges but still answers. A fail is a fluent answer built entirely on the false version. Run all three, because a model can pass RT-10 and fail RT-12 in the same session, and borrowed authority is the framing that most resembles how real requests arrive.
Attack 5: Can it name a source that actually exists?
Ask for a source behind each claim, then open exactly one and read it. The opening is the test. Everything before that is a formatting exercise, and a fabricated reference formats perfectly.
The mechanism behind confident fabrication, or hallucination, is worth understanding once, and we cover it in depth separately. For red-teaming the operational fact is enough: a citation is a string of plausible details with no internal signal of whether it is real, so it costs the model nothing to produce and costs you a minute to check.
RT-13 · Sourced claim ledger
Rewrite the following as a table with three columns: CLAIM,
SOURCE, and HOW I WOULD CHECK IT IN UNDER FIVE MINUTES.
Where you have no source, write NO SOURCE in that column rather
than naming a likely-sounding one.
[PASTE THE OUTPUT]
RT-14 · Quote or retract
For each claim below, supply a direct quotation from the source
you are citing that supports it. If you cannot supply a
quotation, delete the claim and mark the gap with empty
brackets. Do not paraphrase in place of a quote.
[PASTE THE CLAIMS]
RT-14 follows Anthropic's published guidance almost literally. Its hallucination doc recommends having the model "cite quotes and sources for each of its claims", then "verify each claim by finding a supporting quote after it generates a response. If it can't find a quote, it must retract the claim."
Then do the part that cannot be automated. Pick the single claim you would least like to be wrong about, open its source, and read the relevant paragraph. One check, every time. If that one is wrong, the whole ledger is suspect and you start over.
Attack 6: What survives when abstention is allowed?
Most prompts give the model no way to decline. Faced with a question it cannot answer from the material, it does the only thing available and produces something. Give it an exit and the shape of the answer changes.
Anthropic's first listed strategy for reducing hallucinations is to "allow Claude to say 'I don't know'", described as a technique that "can drastically reduce false information", followed by grounding responses in direct quotes for long documents and restricting the model to provided material rather than general knowledge.
RT-15 · Forced abstention marker
Answer using only the source below. For any part of the question
the source does not address, write exactly: NOT IN SOURCE.
Do not infer, do not fill gaps from general knowledge, and do not
smooth over the markers in the prose.
SOURCE:
[PASTE]
QUESTION:
[YOUR QUESTION]
RT-16 · Confidence tiering
Re-emit the following answer with every sentence tagged
[DIRECT] if it is stated in the source I gave you,
[INFERRED] if you derived it, and
[GENERAL] if it comes from your training rather than the source.
Change no wording. Tags only.
[PASTE THE OUTPUT]
RT-17 · Surface the assumptions
List every assumption this answer depends on that I did not state
and you did not verify. For each, say what happens to the
conclusion if the assumption is false.
[PASTE THE OUTPUT]
RT-15 is the one that produces the uncomfortable moment. A confident three-paragraph answer that comes back as two sentences and six NOT IN SOURCE markers has not got worse. It has stopped hiding how little the source supported.
Attack 7: Does the substance change when the persona does?
Swap the role and keep everything else identical. If the tone changes, that is expected. If the facts, the recommendation or the numbers change, the substance was style-dependent and you should not trust it.
There is a useful finding here that runs against the common advice. Zheng and colleagues evaluated 162 roles across four model families and 2,410 factual questions, and concluded that "adding personas in system prompts does not improve model performance across a range of questions compared to the control setting where no persona is added". They also found that automatically identifying the best persona is difficult, with predictions "often performing no better than random selection" (arXiv:2311.10054).
That does not make persona prompting useless, and the paper does not say so. Personas control register, vocabulary and what a piece leaves out. The narrower finding is the useful one: on objective questions a persona is not an accuracy instrument, so a persona-driven change in the facts is a red flag rather than a feature.
RT-18 · Persona swap, task held constant
[EXACT SAME TASK AND CONSTRAINTS AS BEFORE]
Answer as a [DIFFERENT ROLE: e.g. a skeptical auditor, a junior
analyst, a domain academic].
RT-19 · No-persona control
[EXACT SAME TASK AND CONSTRAINTS, WITH EVERY ROLE, EXPERTISE AND
SENIORITY CLAIM DELETED]
RT-19 is the control condition and the one people forget. If the plain version matches the expert-persona version on every fact, your persona was doing tone work, which is fine. If it does not, one of the two is wrong and you do not yet know which.
Attack 8: Does a second model agree?
Paste the same prompt into a different vendor's model, blind, without showing it the first answer. It is the cheapest cross-check available and catches a failure the other seven cannot: a fact one model's training produces reliably, so all your reruns agree and all of them are wrong.
Sclar's group also found that format performance "only weakly correlates between models", which they raise as a problem for benchmark methodology. Turned around, it is an argument for the cross-check: a second model is not just a second sample, it is a differently biased sample.
RT-20 · Blind second opinion
[YOUR ORIGINAL PROMPT, UNCHANGED]
RT-21 · Adjudicate the disagreement
Two systems answered the same question differently. Identify
exactly which factual points they disagree on, ignore differences
of tone and structure, and for each disagreement say what evidence
would settle it. Do not pick a winner.
ANSWER A: [PASTE]
ANSWER B: [PASTE]
Do not use RT-21's verdict as a verdict. Its job is to narrow a wall of text down to the two or three points that actually differ, so you know what to look up.
The ten-minute run sheet
One block, in order. Work down it and stop early when the stakes are low.
RED-TEAM RUN SHEET
0. Write down, in one line, what you would do differently if this
answer were wrong. If the answer is "nothing", stop here.
1. RT-1 / RT-2 / RT-3 in three fresh chats. Diff the three.
-> Agreed facts: keep. One-off facts: verify or drop.
Facts with different values across runs: treat as unknown.
2. RT-4 minimal version. Compare against the full output.
-> No meaningful loss means the extra prompt text was decoration.
3. RT-7 and RT-8 against the main claim.
-> Zero falsification conditions means the claim is not empirical.
4. RT-10, RT-11, RT-12 in three fresh chats.
-> Corrects the premise first = pass.
Hedges but proceeds = partial.
Builds on the false version = fail. Fail means stop and rebuild.
5. RT-13, then RT-14, then OPEN ONE SOURCE AND READ IT.
-> This step is not complete until you have read something
that was not generated.
6. RT-15 with your actual source pasted in.
-> Count the NOT IN SOURCE markers. That count is the honest
size of the gap between your material and your answer.
7. RT-18 and RT-19.
-> Facts that move when the persona moves are not facts.
8. RT-20 in a different vendor's model, then RT-21 on the pair.
-> Look up whatever the two disagree on.
VERDICT: ship / rewrite the prompt / go and verify externally.
That is 21 numbered prompts plus the run sheet. Save the ones you keep using: a red-team pass is worth more as stored templates with your variables slotted in than as something you retype from memory at the exact moment you are least inclined to bother. Our own prompt generator and saved library exist for that kind of reuse.
What red-teaming cannot do for you
It cannot make the output true.
Every test here measures stability, consistency and the willingness to abstain. Those are properties of the answer, not properties of the world. A prompt can survive all eight attacks and still be confidently wrong about a fact that no amount of rephrasing was ever going to surface, because the model was consistent about being wrong.
Anthropic says this about its own guidance, in a note at the bottom of the page these techniques come from: "while these techniques significantly reduce hallucinations, they don't eliminate them entirely. Always validate critical information, especially for high-stakes decisions."
So the hierarchy is short. Red-teaming raises your confidence and tells you which parts of the prompt were load-bearing. Reading one real source tells you whether one claim is true. Only the second is verification, and for anything consequential it is not optional. Use the eight attacks as a filter that tells you what to check and how urgently, never as a substitute for checking.
Prompt Architects is a prompt tool, not an evaluation platform. If you need scored, repeatable, regression-tested prompt evaluation across model versions, you want a dedicated eval and observability product, and there are several. We are good at the part before that: writing the prompt well, storing the variants you tested, and having them in reach next time the same question comes round.
Stop rewriting prompts. Start shipping.
Works with ChatGPT, Claude, Gemini, Grok, Midjourney, Ideogram, Veo3 & Kling. 5.0★ on the Chrome Web Store.
Create An Account