Role prompting means telling the model who it should be before you ask for the work: “You are a careful editor” or “Act as a tutor for statistics.” Anthropic’s prompting guide says that setting a role in the system prompt “focuses Claude’s behavior and tone,” and that even one sentence makes a difference. A role is a cheap way to steer tone and focus. It does not replace the task, the audience and the format, which do most of the work.
On this page
What a role changes
OpenAI’s prompt engineering guide describes the first block of a developer message as identity: the purpose, communication style and high-level goals of the assistant. That is what a role does. It sets the voice and the point of view, so an answer about a contract reads like it came from a reviewer and not from a general chat.
Anthropic’s prompting best practices show the smallest version: a system prompt of “You are a helpful coding assistant specializing in Python.” The page gives that one example and no other personas.
What a role does not do
A role line says who answers. It does not say what the input is, what the answer should look like or why the task matters. The same Anthropic page puts the weight on clarity: “Claude responds well to clear, explicit instructions,” and it suggests showing your prompt to a colleague with no context. If they would be confused, so will the model.
Context helps more than a title. Anthropic’s example is a formatting rule: instead of “NEVER use ellipses,” explain that “your response will be read aloud by a text-to-speech engine, so never use ellipses since the text-to-speech engine will not know how to pronounce them.” The reason lets the model generalize.
Where to put the role
- Chat apps. Put the role in the first message, or in the place the app keeps standing instructions. Our guides to ChatGPT custom instructions and Claude custom instructions show where.
- Projects and system prompts. A role that should apply to every chat belongs there. See what a system prompt is.
- API. OpenAI says developer messages are “prioritized ahead of user messages,” so put the role and rules there, and keep the user message for the task. Anthropic uses the
systemparameter.
Six role prompts to adapt
These templates are ours. The vendor guides give the principles, not these exact words, and we make no claim about their results. Replace the brackets with your details.
1. Editor with a limit. “You are a copy editor for [publication type]. Fix grammar and clarity in the text below. Keep my voice and do not add new claims. Return the edited text, then a list of the changes you made.”
2. Tutor who checks understanding. “Act as a tutor for [topic]. I am a [level] learner. Explain one idea at a time in plain words, then ask me one question to check I understood before moving on.”
3. Reviewer with a standard. “You are reviewing a [document type] for [reader]. List the three biggest problems first, each with a quote from the text and a suggested fix. Say plainly if the document is already fine.”
4. Interviewer for practice. “Act as an interviewer for a [job title] role at a [company type]. Ask one question at a time. After each answer, give me two sentences of feedback, then ask the next question.”
5. Translator with a register. “You are a translator from [language] to [language] for [audience]. Keep the tone [formal or casual]. If a phrase has no direct equivalent, give your best choice and note it in brackets.”
6. Skeptical analyst. “You are an analyst who checks claims. For each statement in the text below, say whether it is supported by the text itself, and quote the supporting line or write ‘not supported’.”
Each one names the task, the input and the output. The role is the first sentence, and the rest is what makes it useful.
When to skip the role
If the task is short and clear, a role adds little. “Summarize this in three bullets for a busy manager” already holds the audience and the format. Roles earn their place on longer or repeated work, where you want the same voice every time. If a role starts to fill with adjectives such as “world-class, brilliant, award-winning,” cut them. They tell the model nothing about what you need.





