---
title: Role Prompting — AI Glossary
description: Role prompting assigns the model a persona or expertise — for example an editor or a security reviewer — so it answers from that perspective. Framing the task with a role primes relevant vocabulary, standards, and tone, often improving relevance and consistency without changing the underlying request.
canonical: https://prompeteer.ai/glossary/role-prompting-glossary
---

# Role Prompting

Role prompting assigns the model a persona or expertise — for example an editor or a security reviewer — so it answers from that perspective. Framing the task with a role primes relevant vocabulary, standards, and tone, often improving relevance and consistency without changing the underlying request.

## Definition

By telling a model to act as a particular kind of expert or character, role prompting conditions its output toward the conventions, depth, and style associated with that role. It is a lightweight steering technique, commonly delivered through the system prompt so the persona persists across a conversation.

Role prompting is a heuristic, not a guarantee of expertise: the model still only knows what it learned in training, and an assigned role cannot supply missing facts. It works best combined with clear task instructions, constraints, and — for factual work — grounding in real sources.

## Sources

- [Anthropic — Giving Claude a role (system prompts)](https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/system-prompts)
- [OpenAI — Prompt engineering guide](https://platform.openai.com/docs/guides/prompt-engineering)

## Related terms

- [system-prompt](https://prompeteer.ai/glossary/system-prompt)
- [context-engineering](https://prompeteer.ai/glossary/context-engineering)
- [few-shot-learning](https://prompeteer.ai/glossary/few-shot-learning)
