LumiChat AI

Janitor AI Lorebook templates

Janitor AI Lorebook Template (2026): Keys & Examples

Build a concise Janitor AI Lorebook template with primary keys, conditions, standalone content, priorities and a repeatable eight-turn activation test.

Author: LumiChat AI TeamPublished:

11 min read

Quick answer

What this guide explains

A useful Janitor AI Lorebook template is not the longest one. Give each entry one job, one distinctive key set, standalone content and a clear activation condition. Keep identity in the card, changing events in Memory and only keyed world facts in the Lorebook. Start with the small template below, test eight turns, then add entries one concept at a time.

  • What a good Lorebook template is for
  • The four fields every entry needs
  • Write keys that do not overfire

Featured companions

Three characters refresh on each visit. Cards play a promo video when available and otherwise show the character image.

Aurora Quinn

Arcane mentor

Aurora Quinn

A confident magic teacher for playful power dynamics, witty tests, and slow-burn classroom fantasy.

MagicTeasingSlow burn
Start chat
Zahara Nyx

Savanna huntress

Zahara Nyx

Bold wilderness energy for chase scenes, rivalry, and adventurous roleplay under an open sky.

AdventureRivalryWild
Start chat
Elara Voss

Frost elf princess

Elara Voss

Reserved at first, emotionally rewarding later; ideal for court intrigue and thaw-the-ice story arcs.

FantasyRoyalSlow burn
Start chat
Real LumiChat character library used to explain a Janitor AI Lorebook template workflow

People searching Janitor AI Lorebook template want something they can adapt, not a vague promise that more code creates better roleplay. This guide gives a small, testable structure for keys, conditions and content. It complements the Janitor AI Lorebook guide, the authorized export guide and the Lorebook troubleshooting guide without duplicating their main intents.

What a good Lorebook template is for

A Lorebook template is a repeatable entry pattern, not a magic personality upgrade. Use it for world facts that matter only when a place, faction, item or event appears. Do not use it to hide stable identity, every reply instruction or private creator content. A small template is easier to review, migrate and debug than a giant script.

Template goalPut it inAvoid
Stable character identityCharacter cardRepeating it in every lore entry
World fact on demandLorebook entryMaking every fact constant
Current relationship stateChat MemoryTreating it as permanent canon
Reply styleAdvanced PromptHiding it behind a keyword

The four fields every entry needs

Every entry should have a human-readable label, primary keys, optional secondary conditions and standalone content. Add enabled state, constant, order, position, probability and depth only when you understand the behavior. Preserve the source note and license for content you did not create.

FieldWhat to writeQuality test
Title/commentA short editor labelYou can find it later
Primary keysDistinctive names or phrasesOne clear activation message
Secondary keysA real conditionIt prevents unrelated activation
ContentStandalone factsIt makes sense without the key label
Enabled/constantWhether it participatesIt fires only when intended

Write keys that do not overfire

Choose rare names and phrases instead of common words. One strong key is easier to test than ten approximate keys. Add synonyms only when they are natural. Secondary keys should narrow a context, not introduce an unrelated topic. Regex is optional and should come with false-positive tests.

  1. Choose one rare primary key.
  2. Add one synonym only if users naturally type it.
  3. Keep secondary conditions separate.
  4. Test a negative control that should not activate.
  5. Narrow broad keys before increasing any token budget.

Make content standalone and useful

Write content as if the model will never see the key label. State who or what the entry describes, the essential fact, the consequence and the scope. Split a long history into entries by subject. Avoid contradictions with the character card and do not paste executable scripts into ordinary lore text.

Weak contentWhy it failsBetter pattern
“The city is important.”No usable detailName the rule, place and consequence
A 1,000-word history dumpConsumes contextSplit by location, faction and event
Facts that depend on the key textModel may not see the keyRepeat essential context in content
A script pasted as proseIt will not executeKeep code in a supported script layer

Tune settings one variable at a time

Start with a small scan depth, budget and default insertion position. Keep probability at 100% while debugging so randomness does not hide a key problem. Turn recursion off for the baseline. Change one setting, resend the same message and record what changed before optimizing further.

SettingBeginner choiceChange it when
Scan depth2–4 recent turnsOlder mentions must activate
Context budgetSmall, measurable capEntries are visibly truncated
Insertion positionDefaultThe model sees facts too late
Probability100% for testingYou intentionally want variation
RecursionOff for baselineLinked entries are deliberately designed

A copy-ready safe template example

The example uses fictional Harbor Council facts and is safe to replace with your own world. Keep the structure, then substitute your permitted names, keys and content. Do not copy a creator’s closed entries or treat a public character page as permission to extract its hidden Lorebook.

Title: Harbor Council
Primary keys: Aster Harbor, harbor council
Secondary condition: the council is being discussed
Content: Aster Harbor is governed by five council seats. A tie pauses new laws until the harbor bell is rung.
Use: add this entry only when the place or council matters to the current scene.

Prove the template with an eight-turn test

Use the eight turns below after every meaningful template change. Check absent keys, exact keys, synonyms, conditions, collisions, scene changes, corrections and a reopened chat. Record activation, insertion location, token use and reply quality. A passing template activates when needed and stays quiet when it is not needed.

TurnInputExpected result
1No keyEntry is absent unless constant
2Exact primary keyTarget entry activates
3SynonymOnly the intended synonym activates
4Wrong contextSecondary condition blocks it
5Two related keysBudget and order remain coherent
6Scene changeRelevant fact returns without a dump
7CorrectionNew scene truth overrides stale wording
8Reopen chatBinding and state persist

A template cannot fix a weak model, a broken login, a contradictory card or an unauthorized source. If the real goal is direct character chat rather than maintaining a Lorebook, try the LumiChat character library. LumiChat is a separate platform and does not unlock Janitor AI content.

FAQ

What is the best Janitor AI Lorebook template?

Use the shortest entry structure that clearly defines keys, conditions, standalone content and a test.

How many keys should one entry have?

Start with one distinctive key and add only natural synonyms that pass a negative-control test.

Should every Lorebook entry be constant?

No. Constant entries spend context on every request and should be rare.

What belongs in Lorebook content?

Keyed world facts, locations, factions, items and events that matter only in relevant scenes.

Why does my template overfire?

Broad keys, constant state, large scan depth or recursion may activate it too often.

Can I use a Script as a Lorebook template?

Script logic is a separate layer. Ordinary lore text does not execute JavaScript.

Can I copy a public creator template?

Only when the creator allows reuse. Public visibility is not a license for hidden content.

Can LumiChat import this template?

This guide makes no direct import promise; LumiChat is a separate hosted character-chat service.

Seraphina Blake

Continue in LumiChat

Turn this guide into a real conversation

Browse active characters, choose a personality that fits, and start chatting in seconds.

Enter chat