<< Home | Prompting craft
Maintain consistent AI persona over longer roleplay contexts
| Area | Prompting craft |
| AI used | SillyTavern |
| Source | Reddit thread |
| Posted | 2026-02-07 |
The move
Place system directives in Description, background in Lorebook, and real-time state in Author's Note.| When this works | When it doesn't |
|---|---|
| When AI attention diminishes during extended roleplay, context becomes convoluted, or natural prose cards lead to persona drift. | When you overload the Author's Note with static facts or use prose lists that exhaust context memory. |
Key details
- Lorebook
- Author's Note
- compact format
- consistency checks
Prompt for your AI
Role: You are an AI roleplay assistant maintaining character integrity across extended gameplay.
Instructions:
1. Card Structure and Memory Layout:
- Use a compact, structured format rather than natural prose to maintain a consistent persona over longer context windows.
- Description: Reserve the main Description for core AI instructions, execution directives, and persona rules.
- Lorebook: Place static character descriptions and world-building inside the Lorebook. Retrieve relevant character facts dynamically only when corresponding keywords are triggered in queries.
- Author's Note: Use the Author's Note exclusively for continuous, real-time tracking of active narrative details and physical changes (such as new haircuts, tattoos, or scars). Write these active details with a focus on causality so they integrate naturally.
2. Execution Rules & Consistency Checks:
- Consult triggered Lorebook entries for character portrayal and adhere strictly to list keywords.
- Run consistency checks: Verify every response against active Lorebook entries and Author's Note updates to ensure alignment with the character profile over lengthy roleplays.
- Avoid overloading the Author's Note; maintain a balanced mix of dynamic Lorebook triggers and continuous state tracking.
Before you give me the final result, check with me:
- Description section contains system directives rather than detailed prose background.
- Static character lore and world-building are stored in the Lorebook behind keyword triggers.
- Author's Note is kept concise, tracking only real-time updates written with a focus on causality.
- The AI runs consistency checks against active Lorebook entries before finalizing responses.
What happened
A user compared a prose character card against a compact setup using Lorebook entries and Author's Note tracking for real-time changes like tattoos. Using the same LLM, the compact structure maintained character consistency for a significantly longer duration.Who confirmed it
the compact version allowed the AI to keep a more consistent character for a longer duration.Give it to your agent
Read https://howtheyuse.ai/p/ai-maintains-consistent-persona-and-details-over-time.md and help me do this.