Give the AI a role in one sentence
Ask a plain question and you get advice that fits anyone. Start with one sentence that says who the AI is, and the answer goes to your exact case.
Why it matters
Sam asked if a used car was a good deal and got advice that fits any car: check the mileage, the price, the history.
Anthropic's prompting guide says a role "focuses Claude's behavior and tone for your use case. Even a single sentence makes a difference."
The guide talks about the system prompt. In a normal chat, the first line of your message does the same job.
Do this
- Pick the person you would ask in real life: a mechanic, a teacher, an accountant.
- Start your message with one sentence: "You're a <role> helping a friend."
- Then ask about your exact case, with the details.
- Compare the answer with the one you got without the role.
The line Sam used
You're a car mechanic helping a friend. What would you check on this exact car?
One thing to keep in mind: A role changes how the AI answers, not what it knows. Check the big things with a real expert before you act on them.
The used-car story is an example. The quote is from Anthropic's guide. Source: Anthropic: Prompting best practices, "Give Claude a role".
Ask me anything about AI and cloudA paid call on your own setup: your agents, your bill, your plan.Book a call →