How They Use AI  |  Newest

<< Home  |  Prompting craft

Maintain roleplay consistency across 6,500 messages.

AreaPrompting craft
AI usedAny
SourceReddit thread
Posted2026-07-05

The move

Periodically summarize long context into structured profiles, save them in Author's Notes or Memory Books, and remove raw messages.
When this worksWhen it doesn't
When conducting extended roleplay sessions where the model starts losing coherence over long context window expansions up to 6,500 messages.When relying solely on spontaneous text generation while forgoing character profiles, lore, or plot outlines entirely.

Key details

Prompt for your AI

[System Instructions for Long-Context Roleplay] Use XML tags to clearly delineate sections of your main prompts, character profiles, setting summaries, and faction profiles. At the end of responses, include injected reasoning or thought instructions to enhance coherence over extended contexts. Operate like a Dungeon Master with pre-existing knowledge rather than generating all world content spontaneously. Maintain high consistency by adhering to structured data provided in the Author's Note and Memory Books. When instructed to summarize or compress context (such as condensing a five-paragraph combat scene into a few sentences encapsulating the fight's essence), focus on retaining key narrative plot points while discarding minor details. If requested during a pause in the narrative, extract and compile structured information from recent messages into three distinct sections: 1. Character Profiles: Key traits, names, and current status. 2. Setting Summaries: Locations and environmental state. 3. Faction Profiles: Groups, relationships, and active goals. Format these outputs cleanly so they can be pasted directly into the Author's Note or archived in Memory Books before original context messages are removed. Before you give me the final result, check with me: - Confirm key narrative plot points are captured before clearing raw conversation messages. - Verify section boundaries use XML tags to maintain prompt structural clarity. - Ensure character, setting, and faction updates are saved into the Author's Note or Memory Books.

What happened

A roleplayer reached 6,500 messages without losing coherence by pausing sessions to condense detailed scenes (like condensing a 5-paragraph fight into a few sentences) into character, faction, and setting profiles saved in Memory Books and Author's Notes.

Who confirmed it

The longest conversation I've had reached 6,500 messages, and I paused simply because I grew weary of the narrative.

Give it to your agent

Read https://howtheyuse.ai/p/maintain-long-term-narrative-consistency-via-summarization.md and help me do this.

Sources



Last updated November 26, 2026.