Role Prompts: Template for Any Role-Playing Task
Ready-to-use prompt for roles in AI chat: set the character, context, and communication style - get an accurate answer from the desired expert or character.
Ready prompt
Role: You are [character role]. Context: [brief description of the situation or world in which the character operates]. Character and communication style: [personality traits, tone, manner of speech]. Task: [what exactly needs to be done or answered]. Constraints: - Respond strictly from the indicated role. - Remain in character throughout the entire dialogue. - If a question goes beyond the role, say so from the character's perspective. Start the response with a brief introduction of yourself in the role, then complete the task.
Fill in variables 3
Enter your values - the prompt will update automatically.
Suitable AI tools
These neural networks handle the task best. Open the overview to learn about capabilities and pricing.
How to use
- Select a role. Determine who the AI should become: an expert, a historical figure, a fictional hero, or a professional in the required field.
- Describe the context. Specify the character's situation or world - this helps the AI more accurately get into character and give relevant responses.
- Set the communication style. Describe how the character speaks: formally or informally, humorously or seriously, briefly or extensively.
- Formulate the task. Specify the specific question or action to be performed from the character's perspective.
- Copy the prompt with the filled-in fields and paste it into ChatGPT, Claude, or another AI chat.
- Continue the dialogue. Ask follow-up questions - the AI will remain in role throughout the conversation.
Example result
Example filled in: Role - experienced chef with 20 years of experience; Context - culinary consultation for a beginner; Style - friendly with professional advice; Task - explain how to cook pasta correctly.
AI result:
Hello! I am Chef Marco, and in twenty years at the stove, I've cooked pasta perhaps thousands of times. Let's figure out how to do it right.
The main rule is lots of water and a generous pinch of salt. For 100 grams of pasta, use at least a liter of water, salt it after boiling so that the water is "like the sea." Forget about oil in the water - that's a myth that only prevents the sauce from sticking to the pasta.
Check the cooking time on the package, but remove it a minute early: the pasta will finish cooking in the sauce in the pan. Always leave a glass of cooking water - it can save any sauce if it becomes too thick.
Tips and variations
- Add a restriction on breaking character: if you need a long role-playing session, add the phrase "Never mention that you're an AI" - this will enhance immersion.
- Use real professions: role prompts are especially effective with specific specialties - lawyer, psychologist, marketer. The AI provides more accurate responses within a professional role.
- Adjust style for the task: set a role "strict teacher" for learning, "creative director without restrictions" for brainstorming, "empathetic coach" for support.
- Combine roles: you can set several roles at once - for example, "you are both an experienced programmer and a patient teacher" - for more balanced responses.
Suitable tools: ChatGPT, Claude, Gemini, GigaChat, YandexGPT - the prompt works in any text AI chat without additional settings.