Role prompting means opening a prompt with "Act as a…" or "You are an expert…". It shapes the tone, vocabulary and focus of an answer, but it doesn't give the model knowledge it lacks or make its facts more reliable. Context, audience and clear criteria usually do more, and this guide shows how.
"Act as a world-class marketing strategist." It's one of the most copied lines on the internet, and it sits at the top of countless prompt templates. People use it because it seems to work. Sometimes it does, a little. Usually it's doing less than you think, and the words could be spent on something that helps more.
What is role prompting, exactly?
Role prompting is giving the model a persona before the task: "You are a senior HR adviser", "Act as a sceptical investor", "Pretend you're a primary school teacher". The model then writes as if it were that person.
A large language model produces text by predicting what's likely to come next, given everything in the prompt. A role is part of that "everything". It nudges the model towards the words, structure and concerns that tend to appear near that kind of person in its training data. So "act as an HR adviser" pulls in policy language, caution and a certain tone.
That's the whole mechanism. Nothing else switches on.
What does a role really change?
A role changes style and focus. It doesn't change knowledge. The table sets out the difference.
| A role tends to change | A role does not change |
|---|
| Vocabulary and register | What the model knows |
| Which concerns it raises first | Whether its facts are right |
| Length and structure | Its knowledge cutoff |
| How cautious it sounds | Its tendency to invent a source |
| The angle it takes on a question | Your duty to check the result |
The first column is genuinely useful. If you want a draft in plain words for parents, asking it to write as a primary teacher explaining to parents gets you closer than no instruction. The trouble starts when people read the second column into the first.
Where does "act as an expert" go wrong?
Three ways come up again and again.
- Borrowed authority. "Act as a solicitor" gets you the cadence of legal advice. It doesn't get you a solicitor's knowledge of current law, your facts or any professional responsibility. The output sounds more trustworthy, which makes it more dangerous to skim.
- Flattery for free. "You are the world's best copywriter" adds nothing you can rely on. The model doesn't have a hidden, better self waiting for a compliment.
- A role instead of a brief. People write a line of persona and then a thin task: "You are an expert analyst. Analyse this." The persona feels like effort. The missing context, audience and criteria are what would have helped.
Fatima, who manages a GP surgery in Bradford, might ask an assistant to "act as a practice manager" and write a complaints-handling note. It'll sound right. Whether it matches her surgery's procedure and current rules is something only she and her own sources can confirm. The role didn't check anything.
What works better than role prompting?
Specific context beats a persona almost every time. Compare these two prompts for the same job.
The role version:
You are an expert communications professional. Write an email about the office move.
The briefed version:
Write an email to 40 staff at a Glasgow accountancy firm. We move offices on the last Friday of the month, from Bath Street to the Merchant City. Readers are busy and will skim. Lead with what they need to do: pack desks by Thursday at 4pm, and the new address. Keep it under 150 words. Plain, friendly, no jokes. Then list anything you had to guess.
The second has no persona at all, and it will usually do far better. It supplies the facts, the audience, the priority, a length, a tone and a request to flag guesses. The things worth writing in place of "act as":
- Who it's for. The reader, what they know and what they need.
- What you have. Paste the source material rather than hoping the model knows it.
- What good looks like. Length, format, what to put first, what to leave out.
- An example. One sample of the style you want beats an adjective. Our guide to using examples in prompts shows how.
- A way to see doubt. Ask it to mark guesses and assumptions.
For more on the first two, see how to give AI context.
Is there a good use for a role?
Yes: roles that describe a reader or a critic, not an expert. Asking the model to take a stance against your own work is one of the most useful prompts there is.
Read my draft below as a sceptical finance director who has to approve this budget. List the three questions you'd ask first, and the weakest number in the paper. Don't rewrite it.
The role here does something real. It tells the model which concerns to put first, and it pushes against its tendency to agree with you, known as sycophancy. You're not trusting the role for facts. You're using it to find holes you then check yourself.
Other roles that earn their place: a confused first-time customer reading your instructions, a pupil reading your worksheet, an opposing side in a negotiation you're rehearsing.
Who doesn't need to worry about this?
If you already write thorough prompts with context and criteria, a one-line role on top does little harm. Keep it if you like how it sounds. If you use AI only for quick, low-stakes rewording, a role can be a handy shortcut for tone. The people who should rethink it are those relying on a persona to make output trustworthy.
How Teach me AI teaches prompting
Prompting well is a Practitioner-level module on Teach me AI, and Checking AI's work sits beside it. Lessons have a fixed, checked core, with a worked example and a practice task set in your kind of work. Pro members can practise in the Lab, where an AI coach gives feedback on a prompt you've written; Lab work is deleted after 24 hours. To see the style before anything else, try the sample lesson, which needs no account. Terms like this one have their own entry in the glossary.
A quick test for your next prompt
- Delete the role line. Does the prompt still say who it's for and what good looks like?
- If not, add those, not a grander persona.
- Keep a role only if it describes a reader or a critic.
- Ask the model to flag what it guessed.
- Check the facts yourself, whatever voice they came in.