<< Home | Prompting craft
Prevent AI bots from speaking or acting for {{user}}
| Area | Prompting craft |
| AI used | Any |
| Source | Reddit thread |
| Posted | unknown |
The move
Frame character cards with specific start and end perspective constraints while removing user actions from cards and greetings.| When this works | When it doesn't |
|---|---|
| When AI roleplay models in NovelAI or SillyTavern break perspective boundaries and generate actions or dialogue for {{user}}. | When the character card contains user speech or actions, or when generated violations are accepted without editing or rerolling. |
Key details
- {{char}} only ever speaks for {{char}}
- {{char}} only ever describes the behaviour of {{char}}
- {{char}} never speaks for {{user}}
- You must never describe the actions and dialogue of {{user}}
Prompt for your AI
Scaffolding and perspective rules for character framing:
Write character cards in prose format. State clearly what the scaffolding for the writing is and from which perspective to write.
At the very START of personality (and scenario):
{{char}} only ever speaks for {{char}}
{{char}} only ever describes the behaviour of {{char}}
At the very END of personality (and scenario):
{{char}} never speaks for {{user}}
In the main prompt (added at the very last position in prompt manager):
You must never describe the actions and dialogue of {{user}}. Reply only as {{char}}.
Card and Greeting Setup:
- The character card CANNOT mention any speech or actions taken by {{user}}.
- Make sure the starting message does not speak or act for {{user}}.
- Do not use generic roleplay presets that add detailed description directives.
- Customize stopping strings to include a newline for starting user speech.
Runtime Execution Rule:
If the bot ever speaks or acts for {{user}}, immediately reroll the response or manually edit and delete the offending section so the pattern is not reinforced.
Before you give me the final result, check with me:
- Verify the character card contains zero speech or actions attributed to {{user}}.
- Confirm framing constraints are placed at both the start and end of personality.
- Check that the prompt manager has the negative instruction in the final position.
- Verify any bot dialogue leaks were rerolled or edited out of context.
What happened
SillyTavern and NovelAI users experienced bots hijacking user actions during roleplay. Adding boundary anchors at the start and end of personality ('{{char}} only ever speaks for {{char}}', '{{char}} never speaks for {{user}}') and scrubbing user actions from starting messages completely stopped the behavior.Who confirmed it
Users noted that 'if you follow the SillyTavern docs... it gets a lot better' and that using these specific constraints helps 'hammer the point home'.Give it to your agent
Read https://howtheyuse.ai/p/model-stops-speaking-or-acting-for-the-user.md and help me do this.