Giving the model a role and context

When telling the model who to be helps, why telling it about your situation usually helps more, and a checklist for the context that changes replies the most.

Beginner8 min readUpdated November 29, 2026

Two ideas that get mixed up

You will often see prompts that start with a role: "You are an expert copywriter", "Act as a senior lawyer", "You are a friendly maths tutor". You will also see advice to give the model context: who you are, what you need and why. People tend to treat these as the same trick. They are not, and knowing the difference saves a lot of wasted effort.

A role tells the model what kind of voice and viewpoint to adopt. Context tells it the facts of your situation. A role can shift tone and focus. Context is what lets the reply actually fit your problem. If you only have time for one, give context.

What a role actually does

A role is a quick way to set expectations about vocabulary, tone and what to pay attention to. "You are a patient tutor for a student who finds algebra hard" will usually produce shorter steps, more checking questions and less jargon than no role at all. "Review this as a strict editor" tends to produce more direct criticism than "what do you think of this?".

What a role does not do is give the model knowledge it did not have, or make it more reliable. Calling it "a world-class tax expert" does not make its tax answers more accurate. It may make them sound more confident, which is the opposite of what you want when the facts are uncertain. Treat a role as a style and focus setting, not as a qualification.

Roles work best when they are concrete and tied to the task:

  • Vague role. "You are an expert marketer."
  • Useful role. "You are reviewing a flyer as a busy parent who will glance at it for five seconds on a noticeboard."

The second one tells the model whose eyes to look through and what matters to that person. That is really context dressed as a role, which is why it works.

Context does the heavy lifting

Context is everything about your situation that the model cannot see. It is the main reason two people asking "the same" question get very different value from AI. The model fills every gap with an average guess, and average guesses produce average answers.

The context that tends to change replies the most:

  • Who you are. A nurse, a first-time landlord, a teacher, a small-shop owner. This sets the level and the assumptions.
  • Who the output is for. Your boss, a customer, a child, a regulator. Often more important than who you are.
  • What it is for. A decision, a message, a plan, learning something. This decides what to include and what to skip.
  • What you already know or tried. Stops it from repeating the basics or suggesting what already failed.
  • Constraints. Budget, time, tools you must use, rules you must follow, things you cannot change.
  • What good looks like. How you will judge the reply. "I need something I can send today" is different from "I want to understand the options".

Worked example: before and after

Role only prompt
You are a world-class career coach. How do I ask for a raise?

That gets a generic list: research market rates, choose the right time, list your achievements, practise. All reasonable, none of it about you.

Context prompt
I've worked as the only bookkeeper at a 12-person construction firm for three years. I took on payroll last year when a colleague left, but my pay hasn't changed. The owner is fair but busy and doesn't like long meetings. I want to ask for a raise in a 15-minute conversation next week. Help me plan what to say: the main point in one sentence, three supporting facts I should gather, and how to respond if he says the budget is tight.

No role at all, and the reply will be far more useful. It knows the size of the firm, the extra work, the owner's style, the time limit and the hard part you are worried about. You could add "act as a career coach" to the start, and it would do no harm, but the context is doing almost all the work.

Worked example: when a role does help

Roles earn their place when you want a particular perspective on something you have already written.

Role and context prompt
Here is the welcome email we send to new gym members. Read it as a nervous beginner who has never been to a gym and almost didn't sign up. Tell me which sentences would make you more nervous, which would reassure you, and what is missing that you would want to know before your first visit. [paste email]

Here the role is specific, tied to a real reader, and the task says exactly what to look for. You get a useful outside view of your own writing. The same trick works for checking instructions ("read these as someone who has never used the software"), a policy ("read this as an employee who is worried about job security") or a pitch ("read this as a sceptical investor").

How much context is enough

More context is not always better. It helps when it is relevant, and it gets in the way when it is not. A page about your company history will not improve a reply to a customer asking about delivery times.

A simple test: for each piece of context, ask whether a smart human helper would need it to do this job well. If yes, include it. If you would not bother telling a colleague, the model probably does not need it either.

If you are unsure what context matters, let the model tell you:

Let it ask prompt
I want help writing a short speech for my sister's wedding. Before you draft anything, ask me the questions you need answered to make it personal. Ask no more than six.

This is one of the most reliable ways to get context into a prompt. The model's questions show you what it would otherwise have guessed.

A quick context checklist

Before you send a prompt that matters, run through these:

  1. Did I say who the output is for?
  2. Did I say what it will be used for?
  3. Did I include the facts only I know: names, dates, numbers, what already happened?
  4. Did I mention constraints, such as length, budget, tools or rules?
  5. Did I say what I have already tried or ruled out?
  6. Did I leave out anything private that the tool does not need?

The last point matters. Context helps, but you control what you share. Use placeholders like [client name] or round numbers when the exact detail does not change the answer.

Context you set once

If you give the same context in every chat, such as your job, your audience or your preferred style, many assistants let you save it as standing instructions. In ChatGPT these are called custom instructions; in Claude Code, a project file called CLAUDE.md plays a similar role for coding work. Both are covered in their own lessons on this site. Standing context should be general and stable. Task-specific context still belongs in the prompt.

Common mistakes with roles and context

  • Stacking titles. "You are a world-class, award-winning, senior expert" adds nothing a plain sentence about the task would not. Spend those words on your situation instead.
  • Giving context the model cannot use. Long backstory that has no bearing on the task makes the important details harder to find. Keep what a helper would need.
  • Hiding the key fact. The single most important detail, such as "the customer is already angry" or "this goes to the board", often ends up in the middle of a paragraph. Put it near the start.
  • Contradicting yourself. "Be brief" in the role and "explain everything in detail" in the task leaves the model to pick one. Read your prompt once before sending.
  • Assuming it remembers. In a new chat, the model usually does not know what you told it last week, unless your tool has a memory feature and it is switched on. If in doubt, repeat the context that matters.
  • Forgetting the reader. People often describe themselves but not the person who will read the output. The reader usually changes the reply more.

Try it

  1. Take a prompt you used recently that started with a role, such as "You are an expert...".
  2. Remove the role and instead add three lines of context: who it is for, what it is for, and one fact only you know.
  3. Compare the two replies.
  4. Then try adding a specific reader role, like "read this as a first-time customer", to get feedback on something you wrote.

Questions people ask

Do "You are an expert" prompts make answers more accurate?

There is no good reason to expect that. A role can change tone and focus, but accuracy depends on what the model knows and on the information you give it. Check facts the same way either way.

Is it risky to share personal context?

It depends on the tool and its settings. Share what the task needs, leave out what it does not, and check how your tool handles your chats. The ChatGPT privacy lesson on this site walks through one example.

Should context go at the start or the end?

Either works for short prompts. For long ones with pasted material, put the task and context first, the material in the middle, and repeat the key instruction at the end.