Free preview5 min

'Act as a...' — Why It Works

Reviewed by Human · Updated July 14, 2026

Everyone treats 'Act as an expert' like a magic spell. It isn't. The words do nothing by themselves. What they steer *inside* the model does everything — and once you see the steering, you'll never write a lazy role again.

Type 'You are a senior pediatric nurse' and the answer changes. Why?

Why Does Role Prompting Work?

**Role prompting**: giving the model an identity to respond as, usually with 'You are...' or 'Act as...'. **Persona**: the full character you assign — expertise, tone, and audience awareness combined. A role works because it's compressed context. One line like 'You are a tax accountant' implies hundreds of unstated preferences: precise numbers, hedged claims, plain warnings about deadlines. The model picks up on all of it at once. That's the whole trick — a persona is shorthand, and context is everything to a language model.

A role doesn't add knowledge. It selects which knowledge shows up.

Real world

Ask a friend 'How do I fix my knee pain?' at a barbecue and you'll get a shrug and a guess. Ask the same friend at their physiotherapy clinic, in their work clothes, and you'll get careful questions and a plan. Same person. Different frame.

AI parallel

A role prompt puts the model 'in the clinic.' Same model, same underlying knowledge — but the frame you set decides which version of it shows up to answer.

Your turn

Run this experiment in any AI chat. Send both prompts as separate messages and compare what comes back.

Reflect

Which answer would you actually follow? What did the role change that you never asked for directly?

Researchers put 'act as' on trial

▎

end of module

You've finished this module.

Mark it complete to earn your XP and keep your streak alive.

Progress saved locally · Sign up to earn XP