AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

Building Custom Prompt Templates in Novelcrafter: Enforcing Distinct Narrative Voice with {pov} and {codex}

Eli Kent-Daggett · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

When serial fiction authors and independent novelists generate chapter prose in Novelcrafter’s Write and Workshop interfaces, commercial large language models (LLMs) like Claude 3.5 Sonnet and GPT-4o frequently suffer from two crippling flaws: head-hopping voice drift and context dilution.

Left to default settings, commercial models gravitate toward a homogenizing, omniscient consensus tone. In multi-point-of-view (Multi-POV) fantasy, sci-fi, or romance novels, this causes characters to bleed into one another: a battle-hardened mercenary suddenly narrates with the introspective vocabulary of an academic scholar, or perceives events happening behind their physical back. Simultaneously, Novelcrafter’s automatic context tracking can load dozens of incidental Codex entries into the prompt payload, burning token budgets and overwhelming the model’s attention window with irrelevant worldbuilding lore.

At 365Finds, our testing shows that relying on stock presets for multi-POV long-form fiction is a losing strategy. The solution lies in Novelcrafter’s Prompt Builder (under Prompts → Instructions). By engineering custom prompt templates that pair {pov} variables, scoped {codex} queries, and {#if ...} conditional logic, authors can enforce rigid epistemic horizons for narrative subjects while dynamically rationing context down to essential lore.


The Root Causes: Head-Hopping and Lore Bloat

Commercial LLMs do not inherently understand narrative restraint. When prompted to "continue the scene," models make opportunistic guesses based on all context available in the prompt window.

  1. Epistemic Horizon Collapse: If your prompt includes scene beats containing another character’s hidden motives, an untamed model will leak that information into the active POV's narration. The narrative slides from close third-person into sloppy omniscient commentary.
  2. Context Dilution: Novelcrafter's automatic Codex inclusion tracks keywords mentioned in recent text and beats. In dense scenes (a council meeting or battle), dozens of entries—weapons, minor dynasties, geopolitical history—are injected indiscriminately. This pushes the model’s attention away from character interiority and burns through API credits on OpenRouter or direct provider keys.
  3. Voice Homogenization: Without explicit negative constraints and active character profile hooks, models default to generic contemporary literary prose, flattening distinct slang, regional idioms, and internal cognitive biases.

Step 1: Locking Narrative Perspective with {pov} Variables

Novelcrafter assigns Point of View either globally at the novel level (under Novel Settings → Writing) or per scene via the scene metadata header. Within the Prompt Builder, the {pov} family of variables exposes this metadata directly to your instructions.

Core POV Variables and Conditionals

Variable / FunctionReturned Data / EvaluationPractical Usage
{pov} / {pov.character}Current POV character Codex entryInjects the active protagonist's profile and voice notes
{pov.type}Narrative perspective stringLabels perspective (e.g., First Person, Third Person Limited)
pov.isFirstPersonBoolean (true / false)Triggers strict I/me pronoun and internal sensory constraints
pov.isThirdPersonBoolean (true / false)Enforces third-person pronouns (he/she/they)
pov.isLimitedBoolean (true / false)Enforces close third-person sensory and knowledge barriers
pov.isOmniscientBoolean (true / false)Relaxes strict sensory horizons for cinematic chapters
pov.isOverwriteBoolean (true / false)Detects whether the scene overrides the novel's default POV

Enforcing Epistemic Restraint

To eliminate head-hopping, your prompt must establish what the POV character cannot perceive. Using conditional blocks in the Prompt Builder, you can dynamically tailor instructions based on the active scene's perspective configuration:

Narrative Subject: {codex.name(pov.character)}

{#if pov.isFirstPerson}
Maintain strict first-person narration ("I", "me"). Every observation, judgment, and sensory detail must originate solely from within {codex.name(pov.character)}'s mind.
{#elseif pov.isLimited}
Maintain a tight third-person limited perspective centered exclusively on {codex.name(pov.character)}. 
RESTRICTION: Do not describe physical actions, facial expressions, or emotional states that {codex.name(pov.character)} cannot physically see, hear, or deduce in this immediate moment. Never reveal the unspoken thoughts or hidden motives of other characters.
{#endif}

Preserving Character Continuity with scene.previousSamePOV

In alternating Multi-POV books, pulling the immediately preceding scene via {storySoFar} can contaminate character voice. If Chapter 14 belongs to an antagonistic assassin and Chapter 15 returns to a naive scholar, using raw recent summaries forces the scholar to react to emotional beats they never witnessed.

Novelcrafter provides {scene.previousSamePOV}, which queries the outline backwards to locate the most recent scene featuring the same POV character:

{#if scene.previousSamePOV}
PREVIOUS POV CONTEXT:
Where {codex.name(pov.character)} was emotionally and physically when last seen:
{asPlainText(content(scene.summary(scene.previousSamePOV)))}
{#endif}

This ensures that character arcs, grudges, and internal physical fatigue persist across chapters without leaking knowledge from other viewpoint characters' interludes.


Step 2: Selective Codex Injection without Token Sprawl

Authors often make the mistake of calling {codex.all} inside custom generation prompts. In a 100-entry world bible, dumping all entries into a generation prompt consumes 20,000+ tokens before generating a single word, degrading attention quality and draining OpenRouter balances.

Scoped Context vs. Global Codex Calls

Novelcrafter distinguishes between querying the entire Codex database and querying the active scene context:

Injecting Character Voice Profiles

Instead of injecting an entire character bio (backstory, family trees, outfit descriptions), use targeted expressions to pull voice-specific notes.

In your Codex character entries, create a custom note or detail block titled Voice or Psychology. You can then dynamically load voice parameters for the POV character and present scene participants:

=== ACTIVE POV CHARACTER PARAMETERS ===
Name: {codex.name(pov.character)}
Core Voice & Vocabulary:
{codex.notes(pov.character)}

=== PRESENT PARTICIPANTS ===
{#if codex.characters}
Other characters in this scene:
{codex.name(without(codex.characters, pov.character))}
{#endif}

The without(list, item) function strips the POV character from the secondary character list, preventing redundant double-prompting of the protagonist.

Stripping XML Bloat with asPlainText

By default, Novelcrafter’s internal templating renders summaries and entries wrapped in structured tags (such as <nc-summary>). While helpful for some system tasks, these tags consume tokens and can cause models like Llama 3 or Claude to mimic markup syntax in prose output.

Wrap summary and content expressions in {asPlainText(...)}:

{asPlainText(scene.summary)}

This outputs clean, unencumbered prose paragraphs, saving 5% to 10% of input token overhead per generation.


Step 3: Model-Specific Conditioning with prompt.model

Different commercial LLMs exhibit distinct weaknesses when writing genre fiction:

Using {prompt.model} alongside lowercase(...) and in, you can embed model-specific guardrails inside a single, unified prompt template:

{#if "claude" in lowercase(prompt.model)}
STYLE TUNING: Keep sentence structure varied and propulsive. Curtail excessive philosophical musing in dialogue beats. Prioritize physical action and tactile environmental friction.
{#elseif "gpt" in lowercase(prompt.model)}
STYLE TUNING: Strict negative ban on narrative clichés: do not use "little did they know", "testament to", "palpable tension", or "dance of shadows". Keep prose grounded in concrete sensory verbs.
{#endif}

Production-Ready Master Template

In Novelcrafter, navigate to Prompts → Library → New Custom Prompt. Set the prompt category to Write / Beat Completion, and paste the following tested template into the Instructions editor:

You are writing a scene for a published novel in the genre: {either(input("Genre"), "Literary Speculative Fiction")}.

=== NARRATIVE PERSPECTIVE & VOICE CONSTRAINTS ===
POV Character: {codex.name(pov.character)}
Narrative Mode: {either(pov.type, "Third Person Limited")}

{#if pov.isFirstPerson}
- Voice: Write strictly in first person ("I", "me").
- Cognitive Boundary: Every thought, sensory detail, and reaction must originate solely from {codex.name(pov.character)}.
{#else}
- Voice: Maintain deep, close third-person limited perspective centered strictly on {codex.name(pov.character)}.
- Cognitive Boundary: Zero head-hopping. Never describe scenes, internal reactions, or intentions that {codex.name(pov.character)} cannot perceive directly.
{#endif}

=== POV CHARACTER COGNITIVE PROFILE ===
Voice, Slang, & Behavioral Patterns:
{codex.notes(pov.character)}

{#if scene.previousSamePOV}
=== CHARACTER CONTINUITY (LAST SEEN) ===
{asPlainText(content(scene.summary(scene.previousSamePOV)))}
{#endif}

=== ACTIVE SCENE PARTICIPANTS & LORE ===
{#if codex.characters}
Other Scene Characters: {join(codex.name(without(codex.characters, pov.character)), ", ")}
{#endif}
{#if codex.lore}
Relevant World Rules & Faction Lore:
{codex.lore}
{#endif}

=== MODEL ADAPTATION ===
{#if "gpt" in lowercase(prompt.model)}
Ban clichéd literary formulas. Avoid melodramatic emotional shorthand.
{#elseif "claude" in lowercase(prompt.model)}
Maintain active pacing. Prevent characters from over-analyzing tactical situations during dialogue.
{#endif}

=== TASK INSTRUCTION ===
Write the prose continuation based on the current scene beats and immediate prose context. Match tone, advance tension, and remain strictly locked inside {codex.name(pov.character)}'s viewpoint.

365Finds Institutional Judgment & Trade-Off Analysis

At 365Finds, we evaluate AI fiction authoring tools based on long-term manuscript viability and unit generation economics.

Where This Architecture Excels

Practical Limitations

For professional novelists producing serial or commercial multi-POV fiction, investing half an hour to implement {pov} epistemic boundaries and scoped {codex} retrieval is the single most effective way to turn raw LLM generations into clean, publication-grade manuscript chapters.


References